[OpenJDK 2D-Dev]  request for review: 8016254 several sun/java2d/OpenGL tests failed with SIGFPE
vadim.pakhnushev at oracle.com
Tue Jun 25 16:00:25 UTC 2013
Please review the fix for 8016254:
The problem is that Intel 865G chipset (and some other ancient video
cards) doesn't support GL_ARB_depth_texture extension, although does
So the OGLContext_IsFBObjectExtensionAvailable function calls
OGLSD_InitFBObject which tries to create a depth renderbuffer.
Ideally glRenderbufferStorageEXT should return GL_INVALID_ENUM to
indicate that the format is not supported, but instead it passes
incorrect values further to the driver and MESA driver crashes.
The proposed fix is to check GL_ARB_depth_texture extension and return
false from OGLContext_IsFBObjectExtensionAvailable if it's not supported.
More information about the 2d-dev