Class ARBES32Compatibility
This extension adds support for features of OpenGL ES 3.2 that are missing from OpenGL 4.5. Enabling these features will ease the process of porting applications from OpenGL ES 3.2 to OpenGL.
In particular this adds the following features:
- Bounding box used to optimization tessellation processing (OES_primitive_bounding_box)
- query for
MULTISAMPLE_LINE_WIDTH_RANGE_ARB
- support for the OpenGL ES 3.20 shading language
For full OpenGL ES 3.2 compatibility the implementation must support KHR_blend_equation_advanced
and KHR_texture_compression_astc_ldr
.
Those features are not defined in this extension spec since they are already defined at the KHR level.
Requires OpenGL 4.5
, ARB_ES2_compatibility
, ARB_ES3_compatibility
and ARB_ES3_1_compatibility
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Accepted by thepname
parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.static final int
Accepted by thepname
parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.static final int
Accepted by thepname
parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
glPrimitiveBoundingBoxARB
(float minX, float minY, float minZ, float minW, float maxX, float maxY, float maxZ, float maxW) Specifies the primitive bounding box.
-
Field Details
-
GL_PRIMITIVE_BOUNDING_BOX_ARB
public static final int GL_PRIMITIVE_BOUNDING_BOX_ARBAccepted by thepname
parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.- See Also:
-
GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB
public static final int GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARBAccepted by thepname
parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.- See Also:
-
GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB
public static final int GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARBAccepted by thepname
parameter of GetBooleanv, GetFloatv, GetIntegerv, and GetInteger64v.- See Also:
-
-
Method Details
-
glPrimitiveBoundingBoxARB
public static void glPrimitiveBoundingBoxARB(float minX, float minY, float minZ, float minW, float maxX, float maxY, float maxZ, float maxW) Specifies the primitive bounding box.Implementations may be able to optimize performance if the application provides bounds of primitives that will be generated by the tessellation primitive generator or the geometry shader prior to executing those stages. If the provided bounds are incorrect and primitives extend beyond them, the rasterizer may or may not generate fragments for the portions of primitives outside the bounds.
- Parameters:
minX
- the minimum x clip space coordinateminY
- the minimum y clip space coordinateminZ
- the minimum z clip space coordinateminW
- the minimum w clip space coordinatemaxX
- the maximum x clip space coordinatemaxY
- the maximum y clip space coordinatemaxZ
- the maximum z clip space coordinatemaxW
- the maximum w clip space coordinate
-