mirror of
https://github.com/brl/mutter.git
synced 2025-01-08 18:53:02 +00:00
cogl/onscreen/glx: Remove comment about clipped redraws not being supported
They've been supported for a very long time. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3587>
This commit is contained in:
parent
ea486b200f
commit
53ca3a0089
@ -755,20 +755,11 @@ cogl_onscreen_glx_swap_region (CoglOnscreen *onscreen,
|
|||||||
* the GPU, only the CPU so we have to resort to synchronizing the
|
* the GPU, only the CPU so we have to resort to synchronizing the
|
||||||
* GPU with the CPU to throttle it.
|
* GPU with the CPU to throttle it.
|
||||||
*
|
*
|
||||||
* Note: since calling glFinish() and synchronizing the CPU with
|
* Note: calling glFinish() and synchronizing the CPU with the GPU is far
|
||||||
* the GPU is far from ideal, we hope that this is only a short
|
* from ideal. One idea is to use sync objects to track render completion
|
||||||
* term solution.
|
* so we can throttle the backlog (ideally with an additional extension that
|
||||||
* - One idea is to using sync objects to track render
|
* lets us get notifications in our mainloop instead of having to busy wait
|
||||||
* completion so we can throttle the backlog (ideally with an
|
* for the completion).
|
||||||
* additional extension that lets us get notifications in our
|
|
||||||
* mainloop instead of having to busy wait for the
|
|
||||||
* completion.)
|
|
||||||
* - Another option is to support clipped redraws by reusing the
|
|
||||||
* contents of old back buffers such that we can flip instead
|
|
||||||
* of using a blit and then we can use GLX_INTEL_swap_events
|
|
||||||
* to throttle. For this though we would still probably want an
|
|
||||||
* additional extension so we can report the limited region of
|
|
||||||
* the window damage to X/compositors.
|
|
||||||
*/
|
*/
|
||||||
cogl_framebuffer_finish (framebuffer);
|
cogl_framebuffer_finish (framebuffer);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user