| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static final native String | Returns: an id string for the adapterReturns a string representing adapter id (vendor, renderer, version). |
| pack-priv static void | invalidateCurrentContext()
Invalidates the currentContext field to ensure that we properly revalidate the OGLContext (make it current, etc.) next time through the validate() method. |
| pack-priv static void | setScratchSurface(OGLGraphicsConfig gc)
Convenience method that delegates to setScratchSurface() below. |
| pack-priv static void | setScratchSurface(long pConfigInfo)
Makes the given GraphicsConfig's context current to its associated "scratch surface". |
| OGLContext | back to summary |
|---|---|
| pack-priv OGLContext(RenderQueue rq) | |
| getOGLIdString | back to summary |
|---|---|
| pack-priv static final native String getOGLIdString() Returns a string representing adapter id (vendor, renderer, version). Must be called on the rendering thread.
| |
| invalidateCurrentContext | back to summary |
|---|---|
| pack-priv static void invalidateCurrentContext() Invalidates the currentContext field to ensure that we properly revalidate the OGLContext (make it current, etc.) next time through the validate() method. This is typically invoked from methods that affect the current context state (e.g. disposing a context or surface). | |
| setScratchSurface | back to summary |
|---|---|
| pack-priv static void setScratchSurface(OGLGraphicsConfig gc) Convenience method that delegates to setScratchSurface() below. | |
| setScratchSurface | back to summary |
|---|---|
| pack-priv static void setScratchSurface(long pConfigInfo) Makes the given GraphicsConfig's context current to its associated "scratch surface". Each GraphicsConfig maintains a native context (GLXContext on Unix, HGLRC on Windows) as well as a native pbuffer known as the "scratch surface". By making the context current to the scratch surface, we are assured that we have a current context for the relevant GraphicsConfig, and can therefore perform operations depending on the capabilities of that GraphicsConfig. For example, if the GraphicsConfig supports the GL_ARB_texture_non_power_of_two extension, then we should be able to make a non-pow2 texture for this GraphicsConfig once we make the context current to the scratch surface. This method should be used for operations with an OpenGL texture as the destination surface (e.g. a sw->texture blit loop), or in those situations where we may not otherwise have a current context (e.g. when disposing a texture-based surface). | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | CAPS_DOUBLEBUFFERED
Indicates that the context is doublebuffered. |
| pack-priv static final int | CAPS_EXT_BIOP_SHADER
Indicates the presence of the GL_ARB_fragment_shader extension. |
| pack-priv static final int | CAPS_EXT_FBOBJECT
Indicates the presence of the GL_EXT_framebuffer_object extension. |
| pack-priv static final int | CAPS_EXT_GRAD_SHADER
Indicates the presence of the GL_ARB_fragment_shader extension. |
| pack-priv static final int | CAPS_EXT_LCD_SHADER
Indicates the presence of the GL_ARB_fragment_shader extension. |
| pack-priv static final int | CAPS_EXT_TEXBARRIER
Indicates the presence of the GL_NV_texture_barrier extension. |
| pack-priv static final int | CAPS_EXT_TEXRECT
Indicates the presence of the GL_ARB_texture_rectangle extension. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | toString()
Overrides sun. Returns a string representation of the object. |
| CAPS_DOUBLEBUFFERED | back to summary |
|---|---|
| pack-priv static final int CAPS_DOUBLEBUFFERED Indicates that the context is doublebuffered. | |
| CAPS_EXT_BIOP_SHADER | back to summary |
|---|---|
| pack-priv static final int CAPS_EXT_BIOP_SHADER Indicates the presence of the GL_ARB_fragment_shader extension. This cap will only be set if the biopshader system property has been enabled and the hardware meets our minimum requirements. | |
| CAPS_EXT_FBOBJECT | back to summary |
|---|---|
| pack-priv static final int CAPS_EXT_FBOBJECT Indicates the presence of the GL_EXT_framebuffer_object extension. This cap will only be set if the fbobject system property has been enabled and we are able to create an FBO with depth buffer. | |
| CAPS_EXT_GRAD_SHADER | back to summary |
|---|---|
| pack-priv static final int CAPS_EXT_GRAD_SHADER Indicates the presence of the GL_ARB_fragment_shader extension. This cap will only be set if the gradshader system property has been enabled and the hardware meets our minimum requirements. | |
| CAPS_EXT_LCD_SHADER | back to summary |
|---|---|
| pack-priv static final int CAPS_EXT_LCD_SHADER Indicates the presence of the GL_ARB_fragment_shader extension. This cap will only be set if the lcdshader system property has been enabled and the hardware supports the minimum number of texture units | |
| CAPS_EXT_TEXBARRIER | back to summary |
|---|---|
| pack-priv static final int CAPS_EXT_TEXBARRIER Indicates the presence of the GL_NV_texture_barrier extension. | |
| CAPS_EXT_TEXRECT | back to summary |
|---|---|
| pack-priv static final int CAPS_EXT_TEXRECT Indicates the presence of the GL_ARB_texture_rectangle extension. | |
| OGLContextCaps | back to summary |
|---|---|
| pack-priv OGLContextCaps(int caps, String adapterId) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides sun. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |