![]() |
2010-05-25
, 13:21
|
Posts: 10 |
Thanked: 2 times |
Joined on Jan 2010
|
#12
|
How do you propose to let every process that is running know if it's ok to render or not? And, conversely, how would the OS know that all running processes are done rendering and ask the display hardware to update the screen?
Since OpenGLES2.0 relies on the rendering function to swap the buffers when it has rendered one frame, keeping OpenGL applications in sync with normally rendered applications comes across as a bit hard.
You're not satisfied with how they will look?
![]() |
2010-05-25
, 13:24
|
Posts: 10 |
Thanked: 2 times |
Joined on Jan 2010
|
#13
|
This sounds like an impossible task unless you limit the time any program has to render one frame.
![]() |
2010-05-25
, 13:30
|
Posts: 10 |
Thanked: 2 times |
Joined on Jan 2010
|
#14
|
I was looking for that a while ago too but it seems it won't be fixed for maemo 5:
https://bugs.maemo.org/show_bug.cgi?id=5556
The Following User Says Thank You to jaw_vvd For This Useful Post: | ||
![]() |
2010-05-25
, 13:35
|
|
Posts: 94 |
Thanked: 319 times |
Joined on Mar 2010
@ Barcelona, Spain
|
#15
|
Well, maybe it's too much to ask for the desktop compositor to support this but at least fullscreen OpenGL surfaces should support vsync.
![]() |
2010-05-25
, 13:38
|
Posts: 10 |
Thanked: 2 times |
Joined on Jan 2010
|
#16
|
Actually I read somewhere else that this was a driver issue, not just the desktop. No API is getting vsync info.
![]() |
2010-05-25
, 13:44
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#17
|
This is EXACTLY what should be done by the driver inside the swapbuffers call.
If your application is slower you get a multiple of that frequency (say 30Hz if your app is running heavy graphics) but you get a stable image and no tearing artefacts.
To test it you render nothing at all (like a triangle in the proof of concept) and see if you get a stable frame rate.
![]() |
2010-05-25
, 13:45
|
|
Posts: 94 |
Thanked: 319 times |
Joined on Mar 2010
@ Barcelona, Spain
|
#18
|
I read this too, so I'm wondering if maybe it's fixed in 1.2
If not: I'm jumping ship.
![]() |
2010-05-25
, 15:02
|
Posts: 10 |
Thanked: 2 times |
Joined on Jan 2010
|
#19
|
![]() |
2010-05-25
, 16:00
|
Posts: 10 |
Thanked: 2 times |
Joined on Jan 2010
|
#20
|
This sounds like an impossible task unless you limit the time any program has to render one frame.