• Thomas Hellstrom's avatar
    dri3/GLX: Fix drawable invalidation v2 · 67acca07
    Thomas Hellstrom authored
    A number of internal VMware apitrace traces image comparisons fail with
    dri3 because the viewport transformation becomes incorrect after an X
    drawable resize. The incorrect viewport transformation sometimes persist
    until the second draw-call after a swapBuffer.
    
    Comparing with the dri2 glx code there are a couple of places where dri2
    invalidates the drawable in the absence of server-triggered invalidation,
    where dri3 doesn't do that. When these invalidation points are added to
    dri3, the image comparisons become correct.
    
    v2:
    Addressed review comment by Michel Dänzer.
    
    Cc: <mesa-stable@lists.freedesktop.org>
    Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
    Reviewed-and-tested-by: Michel Dänzer's avatarMichel Dänzer <michel.daenzer@amd.com>
    (cherry picked from commit 1253d589)
    67acca07
Name
Last commit
Last update
..
apple Loading commit data...
tests Loading commit data...
windows Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
SConscript Loading commit data...
XF86dri.c Loading commit data...
applegl_glx.c Loading commit data...
clientattrib.c Loading commit data...
clientinfo.c Loading commit data...
compsize.c Loading commit data...
create_context.c Loading commit data...
dri2.c Loading commit data...
dri2.h Loading commit data...
dri2_glx.c Loading commit data...
dri2_priv.h Loading commit data...
dri3_glx.c Loading commit data...
dri3_priv.h Loading commit data...
dri_common.c Loading commit data...
dri_common.h Loading commit data...
dri_common_interop.c Loading commit data...
dri_common_query_renderer.c Loading commit data...
dri_glx.c Loading commit data...
dri_sarea.h Loading commit data...
drisw_glx.c Loading commit data...
drisw_priv.h Loading commit data...
driwindows_glx.c Loading commit data...
eval.c Loading commit data...
g_glxglvnddispatchfuncs.c Loading commit data...
g_glxglvnddispatchindices.h Loading commit data...
glx_error.c Loading commit data...
glx_error.h Loading commit data...
glx_pbuffer.c Loading commit data...
glx_query.c Loading commit data...
glxclient.h Loading commit data...
glxcmds.c Loading commit data...
glxconfig.c Loading commit data...
glxconfig.h Loading commit data...
glxcurrent.c Loading commit data...
glxext.c Loading commit data...
glxextensions.c Loading commit data...
glxextensions.h Loading commit data...
glxglvnd.c Loading commit data...
glxglvnd.h Loading commit data...
glxglvnddispatchfuncs.h Loading commit data...
glxhash.c Loading commit data...
glxhash.h Loading commit data...
indirect_glx.c Loading commit data...
indirect_init.h Loading commit data...
indirect_texture_compression.c Loading commit data...
indirect_transpose_matrix.c Loading commit data...
indirect_vertex_array.c Loading commit data...
indirect_vertex_array.h Loading commit data...
indirect_vertex_array_priv.h Loading commit data...
indirect_vertex_program.c Loading commit data...
indirect_window_pos.c Loading commit data...
packrender.h Loading commit data...
packsingle.h Loading commit data...
pixel.c Loading commit data...
pixelstore.c Loading commit data...
query_renderer.c Loading commit data...
render2.c Loading commit data...
renderpix.c Loading commit data...
single2.c Loading commit data...
singlepix.c Loading commit data...
vertarr.c Loading commit data...
xf86dri.h Loading commit data...
xf86dristr.h Loading commit data...
xfont.c Loading commit data...