com.jme.renderer.jogl
Class JOGLContextCapabilities

java.lang.Object
  extended by com.jme.renderer.jogl.JOGLContextCapabilities

public final class JOGLContextCapabilities
extends java.lang.Object

This class collects all of the settings for a specific javax.media.opengl.GLContext, avoiding unnecessary communications with the graphics hardware for settings which won't change. The class is patterned after the LWJGL org.lwjgl.opengl.ContextCapabilities implementation, but goes the additional step of accessing common integer and float values. This instance is not immutable, in order to allow the values to be updated whenever the device associated with the javax.media.opengl.GLDrawable has changed.

Author:
Steve Vaughan
See Also:
org.lwjgl.opengl.ContextCapabilities

Field Summary
 boolean GL_ARB_fragment_program
           
 boolean GL_ARB_fragment_shader
           
 boolean GL_ARB_imaging
           
 boolean GL_ARB_multitexture
           
 boolean GL_ARB_shader_objects
           
 boolean GL_ARB_shading_language_100
           
 boolean GL_ARB_texture_border_clamp
           
 boolean GL_ARB_texture_cube_map
           
 boolean GL_ARB_texture_env_combine
           
 boolean GL_ARB_texture_env_dot3
           
 boolean GL_ARB_texture_mirrored_repeat
           
 boolean GL_ARB_texture_non_power_of_two
           
 boolean GL_ARB_texture_rectangle
           
 boolean GL_ARB_vertex_buffer_object
           
 boolean GL_ARB_vertex_program
           
 boolean GL_ARB_vertex_shader
           
 boolean GL_EXT_blend_equation_separate
           
 boolean GL_EXT_blend_func_separate
           
 boolean GL_EXT_blend_minmax
           
 boolean GL_EXT_blend_subtract
           
 boolean GL_EXT_compiled_vertex_array
           
 boolean GL_EXT_fog_coord
           
 boolean GL_EXT_stencil_two_side
           
 boolean GL_EXT_stencil_wrap
           
 boolean GL_EXT_texture_3d
           
 boolean GL_EXT_texture_compression_s3tc
           
 boolean GL_EXT_texture_filter_anisotropic
           
 boolean GL_EXT_texture_mirror_clamp
           
 int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB
           
 int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB
           
 int GL_MAX_TEXTURE_COORDS_ARB
           
 int GL_MAX_TEXTURE_IMAGE_UNITS_ARB
           
 float GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
           
 int GL_MAX_TEXTURE_UNITS
           
 int GL_MAX_VARYING_FLOATS_ARB
           
 int GL_MAX_VERTEX_ATTRIBS_ARB
           
 int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB
           
 int GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB
           
 boolean GL_SGIS_generate_mipmap
           
 java.lang.String GL_SHADING_LANGUAGE_VERSION_ARB
           
 boolean GL_VERSION_1_1
           
 boolean GL_VERSION_1_2
           
 boolean GL_VERSION_1_3
           
 boolean GL_VERSION_1_4
           
 boolean GL_VERSION_1_5
           
 boolean GL_VERSION_2_0
           
 boolean GL_VERSION_2_1
           
 boolean GL_VERSION_3_0
           
 
Constructor Summary
JOGLContextCapabilities(GL gl)
           
JOGLContextCapabilities(GLAutoDrawable autodrawable)
           
 
Method Summary
 void init(GL gl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GL_VERSION_1_1

public boolean GL_VERSION_1_1

GL_VERSION_1_2

public boolean GL_VERSION_1_2

GL_VERSION_1_3

public boolean GL_VERSION_1_3

GL_VERSION_1_4

public boolean GL_VERSION_1_4

GL_VERSION_1_5

public boolean GL_VERSION_1_5

GL_VERSION_2_0

public boolean GL_VERSION_2_0

GL_VERSION_2_1

public boolean GL_VERSION_2_1

GL_VERSION_3_0

public boolean GL_VERSION_3_0

GL_ARB_imaging

public boolean GL_ARB_imaging

GL_EXT_blend_func_separate

public boolean GL_EXT_blend_func_separate

GL_EXT_blend_equation_separate

public boolean GL_EXT_blend_equation_separate

GL_EXT_blend_minmax

public boolean GL_EXT_blend_minmax

GL_EXT_blend_subtract

public boolean GL_EXT_blend_subtract

GL_EXT_fog_coord

public boolean GL_EXT_fog_coord

GL_EXT_compiled_vertex_array

public boolean GL_EXT_compiled_vertex_array

GL_ARB_fragment_program

public boolean GL_ARB_fragment_program

GL_ARB_shader_objects

public boolean GL_ARB_shader_objects

GL_ARB_fragment_shader

public boolean GL_ARB_fragment_shader

GL_ARB_vertex_shader

public boolean GL_ARB_vertex_shader

GL_ARB_shading_language_100

public boolean GL_ARB_shading_language_100

GL_EXT_stencil_two_side

public boolean GL_EXT_stencil_two_side

GL_EXT_stencil_wrap

public boolean GL_EXT_stencil_wrap

GL_ARB_multitexture

public boolean GL_ARB_multitexture

GL_ARB_texture_env_dot3

public boolean GL_ARB_texture_env_dot3

GL_ARB_texture_env_combine

public boolean GL_ARB_texture_env_combine

GL_SGIS_generate_mipmap

public boolean GL_SGIS_generate_mipmap

GL_ARB_vertex_program

public boolean GL_ARB_vertex_program

GL_ARB_texture_mirrored_repeat

public boolean GL_ARB_texture_mirrored_repeat

GL_EXT_texture_mirror_clamp

public boolean GL_EXT_texture_mirror_clamp

GL_ARB_texture_border_clamp

public boolean GL_ARB_texture_border_clamp

GL_EXT_texture_compression_s3tc

public boolean GL_EXT_texture_compression_s3tc

GL_EXT_texture_3d

public boolean GL_EXT_texture_3d

GL_ARB_texture_cube_map

public boolean GL_ARB_texture_cube_map

GL_EXT_texture_filter_anisotropic

public boolean GL_EXT_texture_filter_anisotropic

GL_ARB_texture_non_power_of_two

public boolean GL_ARB_texture_non_power_of_two

GL_ARB_texture_rectangle

public boolean GL_ARB_texture_rectangle

GL_MAX_TEXTURE_UNITS

public int GL_MAX_TEXTURE_UNITS

GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB

public int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB

GL_MAX_TEXTURE_IMAGE_UNITS_ARB

public int GL_MAX_TEXTURE_IMAGE_UNITS_ARB

GL_MAX_TEXTURE_COORDS_ARB

public int GL_MAX_TEXTURE_COORDS_ARB

GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT

public float GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT

GL_MAX_VERTEX_ATTRIBS_ARB

public int GL_MAX_VERTEX_ATTRIBS_ARB

GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB

public int GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB

GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB

public int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB

GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB

public int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB

GL_MAX_VARYING_FLOATS_ARB

public int GL_MAX_VARYING_FLOATS_ARB

GL_SHADING_LANGUAGE_VERSION_ARB

public java.lang.String GL_SHADING_LANGUAGE_VERSION_ARB

GL_ARB_vertex_buffer_object

public boolean GL_ARB_vertex_buffer_object
Constructor Detail

JOGLContextCapabilities

public JOGLContextCapabilities(GLAutoDrawable autodrawable)

JOGLContextCapabilities

public JOGLContextCapabilities(GL gl)
Method Detail

init

public void init(GL gl)