Commits on Source (6)
-
You will not find GL_ARB_* extensions in a GLES context by definition, the droid you're looking for is named GL_KHR_debug. Reviewed-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Michel Dänzer <mdaenzer@redhat.com>
-
Michel Dänzer authored
(Using GLSL 1.30 or newer) The width/height members of xRectangle are unsigned, but they were being interpreted as signed when converting to floating point for the vertex shader, producing incorrect drawing for values > 32767. v2: * Use separate GL_UNSIGNED_SHORT vertex attribute for width/height. (Eric Anholt) Reviewed-by:
Eric Anholt <eric@anholt.net>
-
Michel Dänzer authored
Preparation for different handling between SCMD & WNMD. No functional change intended. Reviewed-by:
Roman Gilg <subdiff@gmail.com> Tested-by:
Roman Gilg <subdiff@gmail.com>
-
Michel Dänzer authored
For tracking the MSC when the present can be executed separately from the target MSC. Allows removing the requeue field instead, plus more later. v2: * Rename wait_msc → exec_msc (Roman Gilg) * Use exec_msc = target_msc instead of exec_msc++, for clarity. * Bug fix: Set exec_msc = target_msc also if present_flip returned false in present_execute. v3: * Set exec_msc = target_msc also if present_wnmd_flip returned false in present_wnmd_execute, for consistency. v4: * Specifically check for exec_msc == crtc_msc + 1 in present_execute_wait/copy, to avoid re-introducing https://bugs.freedesktop.org/show_bug.cgi?id=94596 . Reviewed-by:
Roman Gilg <subdiff@gmail.com> Tested-by:
Roman Gilg <subdiff@gmail.com>
-
Michel Dänzer authored
Allowing it to be called from more functions than before. No functional change. Reviewed-by:
Roman Gilg <subdiff@gmail.com> Tested-by:
Roman Gilg <subdiff@gmail.com>
-
Michel Dänzer authored
It always takes one update cycle for the copy to become visible on the host windowing system, so waiting for the target MSC resulted in 1 cycle delay. We re-use the idle list for copies which were executed but need their completion event sent. Fixes black seams when resizing the "Builder" sub-window of GDK_BACKEND=x11 gtk4-demo on Xwayland (see https://gitlab.gnome.org/GNOME/mutter/-/issues/1290#note_873557 ). Unfortunately, this cannot completely fix the seams with apps which queue up multiple frames in advance, since there's always at least one queued frame corresponding to the old window size. But it should at least help a little in that case as well. v2: * Bug fix: Don't update exec_msc in present_wnmd_check_flip_window. (Roman Gilg) * Use exec_msc = target_msc - 1 instead of exec_msc--, and add a comment, for clarity. v3: * Drop exec_msc = target_msc again in present_wnmd_execute. * present_execute_copy should never set vblank->queued in present_wnmd_execute now, so replace that branch with an assertion. (Roman Gilg) Reviewed-by:
Roman Gilg <subdiff@gmail.com> Tested-by:
Roman Gilg <subdiff@gmail.com>
Showing
- glamor/glamor.c 2 additions, 1 deletionglamor/glamor.c
- glamor/glamor_rects.c 14 additions, 4 deletionsglamor/glamor_rects.c
- present/present_execute.c 10 additions, 13 deletionspresent/present_execute.c
- present/present_priv.h 3 additions, 3 deletionspresent/present_priv.h
- present/present_scmd.c 10 additions, 6 deletionspresent/present_scmd.c
- present/present_vblank.c 9 additions, 9 deletionspresent/present_vblank.c
- present/present_wnmd.c 35 additions, 21 deletionspresent/present_wnmd.c