[OpenJDK 2D-Dev]  request for review: 8016254 several sun/java2d/OpenGL tests failed with SIGFPE
andrew.brygin at oracle.com
Tue Jun 25 16:59:52 UTC 2013
the fix looks good to me.
On 6/25/2013 8:00 PM, Vadim Pakhnushev wrote:
> 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
> support GL_EXT_framebuffer_object.
> 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