From 9ea218a5990b908e04235c407c0951c60df6ffba Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 7 Dec 2014 03:40:07 +0100 Subject: Bug 1068, 1096: Unify EGL surface related code in EGLSurface; Add notion of 'Surfaceless Upstream Surface' Preparation for Bug 1068: GLContext creation and makeCurrent without default framebuffer - Unify EGL surface related code in EGLSurface - EGLWrappedSurface -> EGLSurface, which utilizes a more straight forward foreign upstream surface (X11, GDI, ..) to EGL mapping. This also addresses Bug 1096, i.e. EGL Cleanup. - Add notion of 'Surfaceless Upstream Surface' - Add surfaceless 'fake' upstream surface hooks: - EGLUpstreamSurfacelessHook - X11UpstreamSurfacelessHook Utilizing the ProxySurface option bit 'OPT_UPSTREAM_SURFACELESS' signaling usage of 'no surface'. - Add GLDrawableFactoryImpl.createSurfacelessImpl(..) --- make/config/jogl/egl-CustomJavaCode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make/config/jogl') diff --git a/make/config/jogl/egl-CustomJavaCode.java b/make/config/jogl/egl-CustomJavaCode.java index 15689b5d8..4cc486fd4 100644 --- a/make/config/jogl/egl-CustomJavaCode.java +++ b/make/config/jogl/egl-CustomJavaCode.java @@ -1,6 +1,6 @@ private static EGLProcAddressTable _table = new EGLProcAddressTable(new GLProcAddressResolver()); - public static void resetProcAddressTable(DynamicLookupHelper lookup) { + static void resetProcAddressTable(DynamicLookupHelper lookup) { _table.reset(lookup); } @@ -12,7 +12,7 @@ public static final int EGL_DONT_CARE = -1; public static final int EGL_UNKNOWN = -1; - protected static long eglGetProcAddress(long eglGetProcAddressHandle, java.lang.String procname) + static long eglGetProcAddress(long eglGetProcAddressHandle, java.lang.String procname) { if (eglGetProcAddressHandle == 0) { throw new GLException("Passed null pointer for method \"eglGetProcAddress\""); -- cgit v1.2.3