Summary: | OSX 10.9.5 - default framebuffer write causes GL_INVALID_FRAMEBUFFER_OPERATION on dummy drawable | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Sven Gothel <sgothel> |
Component: | macosx | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | --- | ||
Version: | 2.3.0 | ||
Hardware: | pc_x86_64 | ||
OS: | macosx | ||
Type: | --- | SCM Refs: |
1fcfd014ca90125ab53ebc4e96e133535a55f095
|
Workaround: | --- |
Description
Sven Gothel
2014-10-04 04:48:10 CEST
(In reply to comment #0) > > This could as well be a driver bug. i.e. an OpenGL bug of Apple's generic OpenGL layer - utilizing the lower level vendor implementation. Turns out not only glClear(..) causes this issue, but also glDrawArrays(..). In short, all target renderbuffer write commands seems to fail! If skipping display in the shared master GearsES2 altogether, no gl-error appears and the test is working. After triaging, issue turns out to write into the default framebuffer, i.e. onscreen NSView, while not having created the NSWindow/NSView (deferred) and not having associated the NSView w/ NSOpenGLContext. Hence we may describe the new issue w/ 10.9.5 as: GL_INVALID_FRAMEBUFFER_OPERATION and crash writing to default framebuffer w/o associating a realized NSView to NSOpenGLContext. 1fcfd014ca90125ab53ebc4e96e133535a55f095 Set default framebuffer for OSX DummyDrawable, hence enforce NSView realization for DummyDrawable. |