Bug 894 - Validate [offscreen|dummy] Surface Locking and Multithreaded GLOffscreenDrawable Usage
Summary: Validate [offscreen|dummy] Surface Locking and Multithreaded GLOffscreenDrawa...
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks: 888 905
  Show dependency treegraph
 
Reported: 2013-11-06 15:28 CET by Sven Gothel
Modified: 2013-11-17 18:31 CET (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
de8a370258e60ad9bcf40cf8e6d239ecf306114e 10fee84d50d1085d977aab413dd446834798e009
Workaround: ---


Attachments
TestPerf001GLJPanelInit02AWT Linux (AMD, NV), OSX (NV) and Windows (NV) (deleted)
2013-11-06 15:41 CET, Sven Gothel
Details
TestPerf001GLJPanelInit02AWT (FIX) - Linux (AMD, NV), OSX (NV) and Windows (NV) (14.25 KB, text/plain)
2013-11-06 18:02 CET, Sven Gothel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2013-11-06 15:28:58 CET
Testing multiple JFrame w/ GLJPanel (which uses GLOffscreenDrawable w/ FBO)
exposes locking issues on all platforms.
Comment 1 Sven Gothel 2013-11-06 15:34:44 CET
de8a370258e60ad9bcf40cf8e6d239ecf306114e
  GLDrawableFactory* [dummy|offscreen] Surface creation 
  w/ own device does _not_ require locking on global shared device.

10fee84d50d1085d977aab413dd446834798e009
  GLJPanel: Expose 'initializeBackend(boolean offthread)' allowing user 
  to trigger backend initialization eagerly and offthread (optional, !WINDOWS)

TestPerf001GLJPanelInit02AWT compares all variations: no-gl, glcanvas, gljpanel and gljpanel-initMT (offthread)
Comment 2 Sven Gothel 2013-11-06 15:41:32 CET
Created attachment 536 [details]
TestPerf001GLJPanelInit02AWT Linux (AMD, NV), OSX (NV) and Windows (NV)
Comment 3 Sven Gothel 2013-11-06 18:02:38 CET
Created attachment 537 [details]
TestPerf001GLJPanelInit02AWT (FIX) - Linux (AMD, NV), OSX (NV) and Windows (NV)
Comment 4 Sven Gothel 2013-11-06 18:11:16 CET
The content of attachment 536 [details] has been deleted by
    Sven Gothel <sgothel@jausoft.com>
who provided the following reason:

wrong windows stats segment

The token used to delete this attachment was generated at 2013-11-06 18:10:53 CET.