15bd8deadSopenharmony_ciName
25bd8deadSopenharmony_ci
35bd8deadSopenharmony_ci    OES_texture_mirrored_repeat
45bd8deadSopenharmony_ci
55bd8deadSopenharmony_ciName Strings
65bd8deadSopenharmony_ci
75bd8deadSopenharmony_ci    GL_OES_texture_mirrored_repeat
85bd8deadSopenharmony_ci
95bd8deadSopenharmony_ciContact
105bd8deadSopenharmony_ci
115bd8deadSopenharmony_ci
125bd8deadSopenharmony_ciNotice
135bd8deadSopenharmony_ci
145bd8deadSopenharmony_ci    Copyright (c) 2005-2013 The Khronos Group Inc. Copyright terms at
155bd8deadSopenharmony_ci        http://www.khronos.org/registry/speccopyright.html
165bd8deadSopenharmony_ci
175bd8deadSopenharmony_ciSpecification Update Policy
185bd8deadSopenharmony_ci
195bd8deadSopenharmony_ci    Khronos-approved extension specifications are updated in response to
205bd8deadSopenharmony_ci    issues and bugs prioritized by the Khronos OpenGL ES Working Group. For
215bd8deadSopenharmony_ci    extensions which have been promoted to a core Specification, fixes will
225bd8deadSopenharmony_ci    first appear in the latest version of that core Specification, and will
235bd8deadSopenharmony_ci    eventually be backported to the extension document. This policy is
245bd8deadSopenharmony_ci    described in more detail at
255bd8deadSopenharmony_ci        https://www.khronos.org/registry/OpenGL/docs/update_policy.php
265bd8deadSopenharmony_ci
275bd8deadSopenharmony_ciStatus
285bd8deadSopenharmony_ci
295bd8deadSopenharmony_ci
305bd8deadSopenharmony_ciVersion
315bd8deadSopenharmony_ci
325bd8deadSopenharmony_ci    Last modified date: May 18, 2005
335bd8deadSopenharmony_ci
345bd8deadSopenharmony_ciNumber
355bd8deadSopenharmony_ci
365bd8deadSopenharmony_ci    OpenGL ES Extension #22
375bd8deadSopenharmony_ci
385bd8deadSopenharmony_ciDependencies
395bd8deadSopenharmony_ci
405bd8deadSopenharmony_ci    OpenGL ES 1.0 is required.
415bd8deadSopenharmony_ci
425bd8deadSopenharmony_ci    This extension is based on the ARB_texture_mirrored_repeat
435bd8deadSopenharmony_ci    extension specification.
445bd8deadSopenharmony_ci
455bd8deadSopenharmony_ciOverview
465bd8deadSopenharmony_ci
475bd8deadSopenharmony_ci    This extension extends the set of texture wrap modes to
485bd8deadSopenharmony_ci    include a mode (GL_MIRRORED_REPEAT) that effectively uses a texture
495bd8deadSopenharmony_ci    map twice as large at the original image in which the additional half,
505bd8deadSopenharmony_ci    for each coordinate, of the new image is a mirror image of the original
515bd8deadSopenharmony_ci    image.
525bd8deadSopenharmony_ci
535bd8deadSopenharmony_ci    This new mode relaxes the need to generate images whose opposite edges
545bd8deadSopenharmony_ci    match by using the original image to generate a matching "mirror image".
555bd8deadSopenharmony_ci
565bd8deadSopenharmony_ciIssues
575bd8deadSopenharmony_ci
585bd8deadSopenharmony_ci    Please refer to the ARB_textured_mirrored_repeat extension specification
595bd8deadSopenharmony_ci
605bd8deadSopenharmony_ciNew Procedures and Functions
615bd8deadSopenharmony_ci
625bd8deadSopenharmony_ci    None
635bd8deadSopenharmony_ci
645bd8deadSopenharmony_ciNew Tokens
655bd8deadSopenharmony_ci
665bd8deadSopenharmony_ci    Accepted by the <param> parameter of TexParameteri and TexParameterf,
675bd8deadSopenharmony_ci    and by the <params> parameter of TexParameteriv and TexParameterfv, when
685bd8deadSopenharmony_ci    their <pname> parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T, or
695bd8deadSopenharmony_ci    TEXTURE_WRAP_R:
705bd8deadSopenharmony_ci
715bd8deadSopenharmony_ci      GL_MIRRORED_REPEAT                        0x8370
725bd8deadSopenharmony_ci
735bd8deadSopenharmony_ciAdditions to Chapter 2 of the GL Specification (OpenGL Operation)
745bd8deadSopenharmony_ci
755bd8deadSopenharmony_ci    None.
765bd8deadSopenharmony_ci
775bd8deadSopenharmony_ciAdditions to Chapter 3 of the GL Specification (Rasterization)
785bd8deadSopenharmony_ci
795bd8deadSopenharmony_ci  Modify Table 3.19, editing only the following lines:
805bd8deadSopenharmony_ci
815bd8deadSopenharmony_ci    Name              Type      Legal Values
825bd8deadSopenharmony_ci    ==============    =======   ====================
835bd8deadSopenharmony_ci    TEXTURE_WRAP_S    integer   CLAMP, CLAMP_TO_EDGE, REPEAT,
845bd8deadSopenharmony_ci                                                CLAMP_TO_BORDER, MIRRORED_REPEAT
855bd8deadSopenharmony_ci    TEXTURE_WRAP_T    integer   CLAMP, CLAMP_TO_EDGE, REPEAT,
865bd8deadSopenharmony_ci                                                CLAMP_TO_BORDER, MIRRORED_REPEAT
875bd8deadSopenharmony_ci    TEXTURE_WRAP_R    integer   CLAMP, CLAMP_TO_EDGE, REPEAT,
885bd8deadSopenharmony_ci                                                 CLAMP_TO_BORDER, MIRRORED_REPEAT
895bd8deadSopenharmony_ci
905bd8deadSopenharmony_ci  Add to end of Section 3.8.5 (Subsection "Texture Wrap Modes")
915bd8deadSopenharmony_ci
925bd8deadSopenharmony_ci    If TEXTURE_WRAP_S, TEXTURE_WRAP_T, or TEXTURE_WRAP_R is set to
935bd8deadSopenharmony_ci    MIRRORED_REPEAT , the s (or t or r) coordinate is converted to:
945bd8deadSopenharmony_ci
955bd8deadSopenharmony_ci        s - floor(s),           if floor(s) is even, or
965bd8deadSopenharmony_ci        1 - (s - floor(s)),     if floor(s) is odd.
975bd8deadSopenharmony_ci
985bd8deadSopenharmony_ci    The converted s (or t or r) coordinate is then clamped
995bd8deadSopenharmony_ci    as described for CLAMP_TO_EDGE texture coordinate clamping.
1005bd8deadSopenharmony_ci
1015bd8deadSopenharmony_ciAdditions to Chapter 4 of the GL Specification (Per-Fragment Operations
1025bd8deadSopenharmony_ciand the Framebuffer)
1035bd8deadSopenharmony_ci
1045bd8deadSopenharmony_ci    None
1055bd8deadSopenharmony_ci
1065bd8deadSopenharmony_ciAdditions to Chapter 5 of the GL Specification (Special Functions)
1075bd8deadSopenharmony_ci
1085bd8deadSopenharmony_ci    None
1095bd8deadSopenharmony_ci
1105bd8deadSopenharmony_ciAdditions to Chapter 6 of the GL Specification (State and State Requests)
1115bd8deadSopenharmony_ci
1125bd8deadSopenharmony_ci    None
1135bd8deadSopenharmony_ci
1145bd8deadSopenharmony_ciAdditions to Appendix F of the GL Specification (ARB Extensions)
1155bd8deadSopenharmony_ci
1165bd8deadSopenharmony_ci    None
1175bd8deadSopenharmony_ci
1185bd8deadSopenharmony_ciAdditions to the GLX Specification
1195bd8deadSopenharmony_ci
1205bd8deadSopenharmony_ci    None
1215bd8deadSopenharmony_ci
1225bd8deadSopenharmony_ciGLX Protocol
1235bd8deadSopenharmony_ci
1245bd8deadSopenharmony_ci    None.
1255bd8deadSopenharmony_ci
1265bd8deadSopenharmony_ciErrors
1275bd8deadSopenharmony_ci
1285bd8deadSopenharmony_ci    None
1295bd8deadSopenharmony_ci
1305bd8deadSopenharmony_ciNew State
1315bd8deadSopenharmony_ci
1325bd8deadSopenharmony_ci    Only the type information changes for these parameters:
1335bd8deadSopenharmony_ci
1345bd8deadSopenharmony_ci                                                        Initial
1355bd8deadSopenharmony_ci    Get Value       Get Command     Type    Value   Description          Sec.   Attrib
1365bd8deadSopenharmony_ci    ---------       -----------     ----    ------- -----------          ----   ------
1375bd8deadSopenharmony_ci    TEXTURE_WRAP_S  GetTexParameteriv   n x Z5 REPEAT  Texture Wrap Mode S  3.8    texture
1385bd8deadSopenharmony_ci    TEXTURE_WRAP_T  GetTexParameteriv   n x Z5 REPEAT  Texture Wrap Mode T  3.8    texture
1395bd8deadSopenharmony_ci    TEXTURE_WRAP_R  GetTexParameteriv   n x Z5 REPEAT  Texture Wrap Mode R  3.8    texture
1405bd8deadSopenharmony_ci
1415bd8deadSopenharmony_ciNew Implementation Dependent State
1425bd8deadSopenharmony_ci
1435bd8deadSopenharmony_ci    None
144