diff options
author | Sven Gothel <[email protected]> | 2014-07-29 20:52:10 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-07-29 20:52:10 +0200 |
commit | 323fd68b6cce41de4980a909ef55273a98a8aad9 (patch) | |
tree | 0fd753ba87f1a9f1ad2978639d1321d925390945 /src/jogl/classes/jogamp/opengl/GLDrawableImpl.java | |
parent | 67444b99f42e5a6db282e8a7dbc0e633713d0d48 (diff) |
BuildComposablePipeline: Handle synthetic isGL* and getGL* more generic, allow FixedFunctionHook to properly determine it's identity
BuildComposablePipeline: Handle synthetic isGL* and getGL* more generic, allow using a prologue hook
as needed for FixedFunctionHook's 'isGL*core()', 'isGLES*Compatible()' and 'getGLProfile()' methods.
The latter FixedFunctionHook take the emulated GL profile GL2ES1 into account,
allowing JOGL code to assume only having GL2ES1 available.
Otherwise methods like Texture.enable(..) would skip the glEnable(TEXTURE_2D)
call and FixedFunctionHook could not enable it's usage.
GLProfile received a 'public static GLProfile createCustomGLProfile(final String profile, final GLProfile profileImpl)'
allowing utilities like FixedFunctionHook to create a generic profile.
BuildComposablePipeline sorts the methods before emitting for better readability.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/GLDrawableImpl.java')
0 files changed, 0 insertions, 0 deletions