diff options
author | Sven Gothel <[email protected]> | 2014-09-30 23:18:15 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-10-01 00:50:03 +0200 |
commit | f18d1b00e98c982ed90b55218ba28e0e223c8453 (patch) | |
tree | 40afa52eb4574ed19e898175bf8c733ed3058227 /make/stub_includes/opengl/gl3.c | |
parent | 962f2f597cef74b7d50e5e865d3a5647230166c6 (diff) |
Bug 1078: Add Fallback in AWTPrintLifecycle.setupPrint(): Use Onscreen GLAD if Offscreen-GLAD Realization throws an Exception (Stability)
- GLDrawableFactoryImpl: createOffscreenDrawable(..) and createDummyAutoDrawable(..)
Temporary catch exception during setRealized(true) of newly created GLDrawable,
to unrealize the instance before propagating the exception.
This handling removes a memory leak in case the exception of this method is handled
and application continues to operate, e.g. as in AWTPrintLifecycle.setupPrint().
The underlying drawable gets unrealized, since it's setRealized(boolean)
implementation toggles its realize-state before delegating the realize-operation.
Hence this is functional.
- AWTPrintLifecycle.setupPrint() Stability
Catch exception thrown by factory.createOffscreenAutoDrawable(..)'s setRealize(true)
to continue operation w/ onscreen GLAD.
Diffstat (limited to 'make/stub_includes/opengl/gl3.c')
0 files changed, 0 insertions, 0 deletions