New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize creation of images for Online operation at P5 #7660
Conversation
- TEveViewer -> FWTEveViewer - TGLEmbeddedViewer -> FWTGLViewer This gives us better control over how the views are redrawn, when the back and front buffers are swapped, and gives us the ability to save images in multiple threads.
… use Fireworks subclasses of Eve and GL Viewers. FWEveViewManager now implements full redraw functionality and by-passes execution in TEveManager. Code also supports simultaneous swapping of GL buffers but it is not enabled by default.
Use png and jpeg libs directly as ROOT and/or ASImage are not thread safe. Rendering and FBO capture is still done from the main thread, ROOT GL would need to be significantly changed to support multi-threaded rendering (also, GL contexts have to be created and used from the same thread (a solution would be to have one thread per context / viewer)).
This can be turned by adding into rootc: CmsShow.GlSwapOnRender: yes
+1 |
A new Pull Request was created by @osschar (Matevž Tadel) for CMSSW_7_3_X. Optimize creation of images for Online operation at P5 It involves the following packages: Fireworks/Core @cmsbuild, @alja, @Dr15Jones, @ktf, @nclopezo can you please review it and eventually sign? Thanks. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_3_X IBs unless changes or unless it breaks tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @nclopezo, @ktf, @smuzaffar |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_3_X IBs unless changes (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @nclopezo, @ktf, @smuzaffar |
+1 |
Optimize creation of images for Online operation at P5
Review and optimize GL view rendering and image creation after a new event is loaded.