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   |
superdev
Messages: 31 Registered: August 2022
|
Member |
|
|
mirek wrote on Thu, 05 January 2023 09:29superdev 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
|
|
|
 |
|
TimerCallBack interval resolution
By: deep on Wed, 19 January 2022 07:41
|
 |
|
Re: TimerCallBack interval resolution
By: Tom1 on Wed, 19 January 2022 13:19
|
 |
|
Re: TimerCallBack interval resolution
By: deep on Wed, 19 January 2022 14:27
|
 |
|
Re: TimerCallBack interval resolution
By: Tom1 on Wed, 19 January 2022 14:40
|
 |
|
Re: TimerCallBack interval resolution
By: Didier on Thu, 20 January 2022 21:43
|
 |
|
Re: TimerCallBack interval resolution
By: deep on Fri, 21 January 2022 07:39
|
 |
|
Re: TimerCallBack interval resolution
By: mirek on Sat, 22 January 2022 19:32
|
 |
|
Re: TimerCallBack interval resolution
By: deep on Mon, 24 January 2022 09:56
|
 |
|
Re: TimerCallBack interval resolution
By: mirek on Mon, 24 January 2022 10:47
|
 |
|
Re: TimerCallBack interval resolution
By: superdev on Wed, 04 January 2023 20:19
|
 |
|
Re: TimerCallBack interval resolution
By: mirek on Thu, 05 January 2023 09:29
|
 |
|
Re: TimerCallBack interval resolution
By: superdev on Fri, 06 January 2023 16:20
|
 |
|
Re: TimerCallBack interval resolution
By: mirek on Sat, 07 January 2023 09:10
|
 |
|
Re: TimerCallBack interval resolution
By: superdev on Sat, 07 January 2023 11:05
|
 |
|
Re: TimerCallBack interval resolution
By: mirek on Sat, 07 January 2023 13:15
|
 |
|
Re: TimerCallBack interval resolution
By: superdev on Sun, 08 January 2023 06:38
|
 |
|
Re: TimerCallBack interval resolution
By: superdev on Tue, 10 January 2023 19:12
|
 |
|
Re: TimerCallBack interval resolution
By: mirek on Wed, 11 January 2023 10:36
|
 |
|
Re: TimerCallBack interval resolution
By: superdev on Wed, 11 January 2023 18:17
|
Goto Forum:
Current Time: Tue Jul 08 10:28:19 CEST 2025
Total time taken to generate the page: 0.02882 seconds
|