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++ Callbacks and Timers » TimerCallBack interval resolution
Re: TimerCallBack interval resolution [message #59497 is a reply to message #59489] Fri, 06 January 2023 16:20 Go to previous messageGo to previous message
superdev is currently offline  superdev
Messages: 31
Registered: August 2022
Member
mirek wrote on Thu, 05 January 2023 09:29
superdev wrote on Wed, 04 January 2023 20:19
...
So how to combine UPP GUI(Ctrl) and SDL2 window (>100 FPS)?
I've tried TopWindow::OpenMain(), then ProcessEvents and render in loop. It works but the loop freezes, for example during TopWindow resizing, dialog showing.


If you are doing a game, probably consider using VirtualGui. Otherwise, what about separate thread for SDL?

Video player.
What widgets can i use with VirtualGui? Sorry but its description is poor and i can't test it yet. SDL2Uword (built with fresh 16660, 32 or 64 bit) causes "exception c0000005 at 0".
"SDL render functions must be called from the main thread". I tried separate thread and it was glitchy.


Win7x64, upp-win-17799

[Updated on: Fri, 06 January 2023 16:28]

Report message to a moderator

 
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
Read Message
Read Message
Previous Topic: how to do to stop progress zip file ?
Goto Forum:
  


Current Time: Tue Jul 08 10:28:19 CEST 2025

Total time taken to generate the page: 0.02882 seconds