From 254052b54cebdb957d83e46e377534ef263d6029 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 28 Feb 2011 05:22:24 +0100 Subject: JOGL GLDrawableFactory: Expose experimental method createProxySurface(..) for new windowing system ad-hoc development. WARNING: This method may change ro be removed over time! --- src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/jogl/classes/jogamp/opengl/egl') diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java b/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java index f81e5a70e..b6599de1b 100644 --- a/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java +++ b/src/jogl/classes/jogamp/opengl/egl/EGLDrawableFactory.java @@ -225,6 +225,11 @@ public class EGLDrawableFactory extends GLDrawableFactoryImpl { return ns; } + protected ProxySurface createProxySurfaceImpl(AbstractGraphicsDevice device, long windowHandle, GLCapabilitiesImmutable capsRequested, GLCapabilitiesChooser chooser) { + WrappedSurface ns = new WrappedSurface(EGLGraphicsConfigurationFactory.createOffscreenGraphicsConfiguration(device, capsRequested, capsRequested, chooser), windowHandle); + return ns; + } + protected GLContext createExternalGLContextImpl() { AbstractGraphicsScreen absScreen = DefaultGraphicsScreen.createDefault(NativeWindowFactory.TYPE_EGL); return new EGLExternalContext(absScreen); -- cgit v1.2.3