Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Unstable

Changes

Summary

  1. Dispatch the '5' GDI/WGL functions and allow using their 'wgl' variants. (details)
  2. WindowsJAWTWindow: unlock() invalidates the 'hdc' (surfaceHandle) (details)
  3. TestAWTCardLayoutAnimatorStartStopBug532: Minor edit / Uncomment Windows (details)
Commit c49d29784986b1945343b9a90b5e0c9f3d95d937 by Sven Gothel
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)
The file was modifiedmake/build-nativewindow.xml (diff)
The file was modifiedmake/stub_includes/win32/winwgl.h (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawable.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfiguration.java (diff)
The file was modifiedmake/stub_includes/win32/windows.h (diff)
The file was addedmake/stub_includes/win32/wingdi_types.h (diff)
The file was addedsrc/jogl/classes/jogamp/opengl/windows/wgl/WGLUtil.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsExternalWGLDrawable.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsOnscreenWGLDrawable.java (diff)
The file was modifiedmake/build-jogl.xml (diff)
The file was modifiedmake/scripts/java-win64-dbg.bat (diff)
The file was modifiedmake/config/jogl/wgl-win32.cfg (diff)
The file was modifiedmake/stub_includes/win32/wingdi.h (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsExternalWGLContext.java (diff)
Commit acb48154608c8f4e3f49306ff6e2ab3d5df8bc72 by Sven Gothel
WindowsJAWTWindow: unlock() invalidates the 'hdc' (surfaceHandle)
The file was modifiedsrc/nativewindow/classes/jogamp/nativewindow/jawt/windows/WindowsJAWTWindow.java (diff)
Commit 29d4e29537de0d9043fcb1363e707e4f6c16f6f3 by Sven Gothel
TestAWTCardLayoutAnimatorStartStopBug532: Minor edit / Uncomment Windows hdc/hwnd dump.
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/awt/TestAWTCardLayoutAnimatorStartStopBug532.java (diff)