Thread: mbarcode
View Single Post
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#530
Originally Posted by lardman View Post
Just looking at the code to add in the alternative shutter button action and wondering how much of the startup time is due to using OpenGL?

Dragly have you done any benchmarking? Any other thoughts about getting a functional UI up faster?
I've been looking at FCamera, which uses nice overlays for the camera controls and histogram but doesn't use OpenGL. I'll try converting the UI to use plain Qt overlays and see what the performance is like.

Edit: OTOH it may use OpenGL itself, in which case I won't bother - I'll look and see!

No, it doesn't use OpenGL (so there's still the chance it will be quicker). Instead it uses the overlay layer provided by the framebuffer hardware. I suppose it should be possible to encapsulate the overlay stuff in a class and then be able to easily swap between OpenGL and framebuffer overlay. The FCamera people have wrapped the overlay stuff in a class - see OverlayWidget.cpp in the FCamera Garage project.

Last edited by lardman; 2010-09-29 at 09:13.
 

The Following User Says Thank You to lardman For This Useful Post: