diff options
author | Thomas Hellstrom <[email protected]> | 2017-06-01 12:04:05 +0200 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2017-06-07 11:23:56 +0200 |
commit | 1253d58983b2b6ba4ed16444a344327e8117f333 (patch) | |
tree | 705b340495cdf959fbafb12281b2f31a12744280 /src/mesa/drivers/dri/i965/brw_clear.c | |
parent | 09c3a00f10861269f2187b5033f754b770a09b16 (diff) |
dri3/GLX: Fix drawable invalidation v2
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: <[email protected]>
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-and-tested-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clear.c')
0 files changed, 0 insertions, 0 deletions