Josh Posted July 30, 2016 Share Posted July 30, 2016 This shows what I've got working so far. It's creating a GUI directly on the Window and uses GDI+ for rendering. Notice there's no shaders, textures, etc. included because no 3D rendering context is needed. It works well on Intel graphics but I am getting a lot of flashing when I scroll the listbox. There's also a lot of flashing when the window is resized. I'd be interested to hear your feedback. gui.zip 3 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
macklebee Posted July 30, 2016 Share Posted July 30, 2016 Looking pretty good. I am getting a lot of flashing as well on various things: - When the checkbox is checked/unchecked, the text "Checkbox" flashes - I assume its redrawing everything associated with the checkbox? - The list is flashing when scrolling - The textbox flashes when adding new letters - Everything flashes when window resizes Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Josh Posted July 30, 2016 Author Share Posted July 30, 2016 Okay, I am working to implement double-buffering. It completely removes all flickering and looks really solid. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted July 30, 2016 Author Share Posted July 30, 2016 I updated the demo above with a second exe that adds double buffering. There is a mem leak and the window will go black if you make it redraw enough times, but it's fast and flicker-free. 3 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted July 30, 2016 Author Share Posted July 30, 2016 Christmas, with an emphasis on the "E". Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
shadmar Posted July 31, 2016 Share Posted July 31, 2016 doulebuffered seems to work very well Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Josh Posted July 31, 2016 Author Share Posted July 31, 2016 Updated with Linux build. 3 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.