projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16a1ef7
)
vl/dri3: set back buffer from output to NULL with front buffer case
author
Leo Liu
<leo.liu@amd.com>
Thu, 16 May 2019 14:24:01 +0000
(10:24 -0400)
committer
Leo Liu
<leo.liu@amd.com>
Thu, 16 May 2019 14:28:38 +0000
(10:28 -0400)
Since the using output optimization is only for back buffer case
Signed-off-by: Leo Liu <leo.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/auxiliary/vl/vl_winsys_dri3.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/vl/vl_winsys_dri3.c
b/src/gallium/auxiliary/vl/vl_winsys_dri3.c
index 1558d832555c7e74d7a5b3719b99c6fd7f626a65..77d1972af2c7916ea0ab9ddb89f06ad5adfc9140 100644
(file)
--- a/
src/gallium/auxiliary/vl/vl_winsys_dri3.c
+++ b/
src/gallium/auxiliary/vl/vl_winsys_dri3.c
@@
-438,6
+438,7
@@
dri3_set_drawable(struct vl_dri3_screen *scrn, Drawable drawable)
ret = false;
else {
scrn->is_pixmap = true;
+ scrn->base.set_back_texture_from_output = NULL;
if (scrn->front_buffer) {
dri3_free_front_buffer(scrn, scrn->front_buffer);
scrn->front_buffer = NULL;