15bd8deadSopenharmony_ciName 25bd8deadSopenharmony_ci 35bd8deadSopenharmony_ci EXT_clip_volume_hint 45bd8deadSopenharmony_ci 55bd8deadSopenharmony_ciName Strings 65bd8deadSopenharmony_ci 75bd8deadSopenharmony_ci GL_EXT_clip_volume_hint 85bd8deadSopenharmony_ci 95bd8deadSopenharmony_ciVersion 105bd8deadSopenharmony_ci 115bd8deadSopenharmony_ci Microsoft revision 1.00, April 17, 1996 (hockl) 125bd8deadSopenharmony_ci $Date: 1999/12/28 01:40:35 $ $Revision: 1.4 $ 135bd8deadSopenharmony_ci 145bd8deadSopenharmony_ciNumber 155bd8deadSopenharmony_ci 165bd8deadSopenharmony_ci 79 175bd8deadSopenharmony_ci 185bd8deadSopenharmony_ciDependencies 195bd8deadSopenharmony_ci 205bd8deadSopenharmony_ci None. 215bd8deadSopenharmony_ci 225bd8deadSopenharmony_ciOverview 235bd8deadSopenharmony_ci 245bd8deadSopenharmony_ci EXT_clip_volume_hint provides a mechanism for applications to 255bd8deadSopenharmony_ci indicate that they do not require clip volume clipping for 265bd8deadSopenharmony_ci primitives. It allows applications to maximize performance in 275bd8deadSopenharmony_ci situations where they know that clipping is unnecessary. 285bd8deadSopenharmony_ci EXT_clip_volume_hint is only an indication, though, and 295bd8deadSopenharmony_ci implementations are free to ignore it. 305bd8deadSopenharmony_ci 315bd8deadSopenharmony_ciNew Procedures and Functions 325bd8deadSopenharmony_ci 335bd8deadSopenharmony_ci None. 345bd8deadSopenharmony_ci 355bd8deadSopenharmony_ciNew Tokens 365bd8deadSopenharmony_ci 375bd8deadSopenharmony_ci Accepted by the target parameter of Hint and the pname parameter of 385bd8deadSopenharmony_ci GetBooleanv, GetDoublev, GetFloatv and GetIntegerv: 395bd8deadSopenharmony_ci CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 405bd8deadSopenharmony_ci 415bd8deadSopenharmony_ciAdditions to Chapter 2 of the GL Specification (OpenGL Operation) 425bd8deadSopenharmony_ci 435bd8deadSopenharmony_ci Before the last paragraph of Section 2.11, 'Clipping,' the following 445bd8deadSopenharmony_ci text is added: 455bd8deadSopenharmony_ci 465bd8deadSopenharmony_ci The EXT_clip_volume_hint extension can be used to indicate that 475bd8deadSopenharmony_ci a primitive falls inside the current clip volume. In this case, 485bd8deadSopenharmony_ci an implementation might not clip the primitive to the clip 495bd8deadSopenharmony_ci volume, and the behavior of the GL is undefined if the primitive 505bd8deadSopenharmony_ci extends beyond the clip volume. 515bd8deadSopenharmony_ci 525bd8deadSopenharmony_ci In the fourth (clipping) paragraph of Section 2.12, 'Current Raster 535bd8deadSopenharmony_ci Position,' the following text is added before the last sentence 545bd8deadSopenharmony_ci "Figure 2.7 summarizes..." 555bd8deadSopenharmony_ci 565bd8deadSopenharmony_ci Raster position clipping is not affected by the 575bd8deadSopenharmony_ci CLIP_VOLUME_CLIPPING_HINT_EXT hint in the EXT_clip_volume_hint 585bd8deadSopenharmony_ci extension. 595bd8deadSopenharmony_ci 605bd8deadSopenharmony_ciAdditions to Chapter 3 of the GL Specification (Rasterization) 615bd8deadSopenharmony_ci 625bd8deadSopenharmony_ci None. 635bd8deadSopenharmony_ci 645bd8deadSopenharmony_ciAdditions to Chapter 4 of the GL Specification (Per-Fragment 655bd8deadSopenharmony_ciOperations and the Framebuffer) 665bd8deadSopenharmony_ci 675bd8deadSopenharmony_ci None. 685bd8deadSopenharmony_ci 695bd8deadSopenharmony_ciAdditions to Chapter 5 of the GL Specification (Special Functions) 705bd8deadSopenharmony_ci 715bd8deadSopenharmony_ci Section 5.6, 'Hints,' should be changed to add the following 725bd8deadSopenharmony_ci hint description: 735bd8deadSopenharmony_ci 745bd8deadSopenharmony_ci CLIP_VOLUME_CLIPPING_HINT_EXT, indicating whether clipping to 755bd8deadSopenharmony_ci the clip volume is necessary. 765bd8deadSopenharmony_ci 775bd8deadSopenharmony_ciAdditions to Chapter 6 of the GL Specification (State and State 785bd8deadSopenharmony_ciRequests) 795bd8deadSopenharmony_ci 805bd8deadSopenharmony_ci In table 6.18, 'Hints,' the following entry is added: 815bd8deadSopenharmony_ci 825bd8deadSopenharmony_ci CLIP_VOLUME_CLIPPING_HINT_EXT|Z3|GetIntegerv|DONT_CARE| 835bd8deadSopenharmony_ci Clip volume clipping hint|5.6|hint 845bd8deadSopenharmony_ci 855bd8deadSopenharmony_ciRevision History 865bd8deadSopenharmony_ci---------------- 875bd8deadSopenharmony_ci Original draft, revision 0.9, March 1, 1996 (drewb) 885bd8deadSopenharmony_ci Created. 895bd8deadSopenharmony_ci Minor revision, revision 0.91, March 8, 1996 (drewb) 905bd8deadSopenharmony_ci Hint revision, revision 0.95, April 12, 1996 (drewb) 915bd8deadSopenharmony_ci Changed from Enable-based to Hint-based. Clarified 925bd8deadSopenharmony_ci behavior of RasterPos. 935bd8deadSopenharmony_ci More revision, revision 0.96, April 16, 1996 (hockl) 945bd8deadSopenharmony_ci Changed extension and enumerant names. Added robustness. 955bd8deadSopenharmony_ci Changed it to have no effect on RasterPos. 965bd8deadSopenharmony_ci More revision, revision 1.00, April 17, 1996 (hockl) 975bd8deadSopenharmony_ci Removed robustness requirement. 985bd8deadSopenharmony_ci 99