1
0
Fork 0
mutter-performance-source/cogl
Michel Dänzer 6e54c74989 cogl: Do not call glFlush in cogl_gl_create_timestamp_query
SwapBuffers will implicitly flush the query along with the other GPU
work for the frame.

The comment was about this function being called for direct scanout,
which hasn't been the case since 56580ea7c9 ("backends/native: Assume
zero rendering time for direct scanout buffers").

This eliminates one GPU work flush to the kernel per frame with the
Mesa radeonsi driver, leaving only a single flush per frame.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4158>
(cherry picked from commit 18fbea0b03d37569e50f4732c8cfbdc13ada9828)
2025-01-10 21:14:52 +01:00
..
cogl cogl: Do not call glFlush in cogl_gl_create_timestamp_query 2025-01-10 21:14:52 +01:00
cogl-pango cogl/pango: Drop mipmapping API/env variables 2024-08-22 16:45:01 +00:00
meson.build build: Split X11 server & client dependencies 2024-06-30 15:09:00 +02:00