projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bff526
)
anv/x11: Reset the SHM fence before presenting the pixmap
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 12 Mar 2016 01:22:44 +0000
(17:22 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 12 Mar 2016 01:22:46 +0000
(17:22 -0800)
This seems to fix the flicker issue that I was seeing with dota2
src/intel/vulkan/anv_wsi_x11.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_wsi_x11.c
b/src/intel/vulkan/anv_wsi_x11.c
index f9f72be154bef2b31a993f1bd7275ab63e91902f..9ef02961a93fd095c3107427be4b612b5a0b203c 100644
(file)
--- a/
src/intel/vulkan/anv_wsi_x11.c
+++ b/
src/intel/vulkan/anv_wsi_x11.c
@@
-548,6
+548,8
@@
x11_queue_present(struct anv_swapchain *anv_chain,
options |= XCB_PRESENT_OPTION_ASYNC;
+ xshmfence_reset(image->shm_fence);
+
xcb_void_cookie_t cookie =
xcb_present_pixmap(chain->conn,
chain->window,