aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-09 23:42:55 +0100
committerSven Gothel <[email protected]>2010-12-09 23:42:55 +0100
commitdb49722d704b1b2f607c5598cd71083e4fc4e28e (patch)
treefe5f7a89bccbca739fd1940b48b080ed58c742d5 /src/jogl/classes/javax/media
parent10f33b1df5232ecc43dfc072ece35da57f75d0df (diff)
JOGL: GLContextImpl's updateGLXProcAddressTable(..) only uses device as a key for cached table, since
the GLX/WGL/etc function entry pointers are GL profile agnostic. Hence createContextARBImpl(..) (WGL/GLX) does not need a sharedContext, but just can issue the inexpensive updateGLXProcAddressTable(..) call.
Diffstat (limited to 'src/jogl/classes/javax/media')
-rw-r--r--src/jogl/classes/javax/media/opengl/GLContext.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLContext.java b/src/jogl/classes/javax/media/opengl/GLContext.java
index 72073deef..8c06acfd6 100644
--- a/src/jogl/classes/javax/media/opengl/GLContext.java
+++ b/src/jogl/classes/javax/media/opengl/GLContext.java
@@ -579,10 +579,6 @@ public abstract class GLContext {
*/
private static /*final*/ HashSet/*<UniqueDeviceString>*/ deviceVersionsAvailableSet = new HashSet();
- protected static String getContextFQN(AbstractGraphicsDevice device, int major, int minor, int ctp) {
- return device.getUniqueID() + "-" + toHexString(compose8bit(major, minor, ctp, 0));
- }
-
protected static String getDeviceVersionAvailableKey(AbstractGraphicsDevice device, int major, int profile) {
return device.getUniqueID() + "-" + toHexString(compose8bit(major, profile, 0, 0));
}