From c49d29784986b1945343b9a90b5e0c9f3d95d937 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 9 Jan 2012 03:51:35 +0100 Subject: Dispatch the '5' GDI/WGL functions and allow using their 'wgl' variants. GDI is the default. The following 5 GDI functions have their 'wgl' counterparts which 'shall' being used in case the OpenGL DLL is being loaded dynamically. (So reads the documentation & FAQ). This seems to be required only in case the std. opengl32.dll is not being used. This use case is called GDI/ICD. If using a non std. OpenGL DLL, is called MCD. We dynamically load the OpenGL DLL and fetch the address pointer. Since we generally use the std. opengl32.dll, our use of the GDI callbacks seems to be legal. However, to test using the 'wgl' method WGLUtil is introduced. You can test using the 'wgl' variants by defining the property: 'jogl.windows.useWGLVersionOf5WGLGDIFuncSet'. In case you have troubles, ie crashes within pixelformat setup etc, it might be interesting if this may impact your behavior. - ChoosePixelFormat(long, PIXELFORMATDESCRIPTOR) - DescribePixelFormat(long, int, int, PIXELFORMATDESCRIPTOR) - GetPixelFormat(long) - SetPixelFormat(long, int, PIXELFORMATDESCRIPTOR) - SwapBuffers(long) --- make/build-jogl.xml | 9 --------- 1 file changed, 9 deletions(-) (limited to 'make/build-jogl.xml') diff --git a/make/build-jogl.xml b/make/build-jogl.xml index 511f147be..7dff177b9 100644 --- a/make/build-jogl.xml +++ b/make/build-jogl.xml @@ -382,12 +382,6 @@ - - - - - - - - - -- cgit v1.2.3