Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » GLCtrl questions
Re: GLCtrl questions [message #29066 is a reply to message #29004] Mon, 04 October 2010 12:00 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
It's strange you're having problems, I was able to get multiple GLCtrls working in a Upp app quite easily. The main gotcha is to know that there are some cases (such a modal windows / prompts) that change the rendering context so you must always do wglGetContext / wglSetContext before calling GL functions.

I'm not sure what befit you would get from running the rendering in another thread. If your rendering is that slow then you will never be able to assure a responsive application. Just keep the GUI and Rendering in the main thread and move everything else (where possible) into worker threads.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DHCtrl changes for SDLCtrl
Next Topic: Window move virtual function
Goto Forum:
  


Current Time: Thu Aug 07 10:49:59 CEST 2025

Total time taken to generate the page: 0.03819 seconds