mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
winsys-glx: Don't assume that copy_sub_buffer is synchronized
We initially assumed that copy_sub_buffer is synchronized on which is only the case for a subset of GPUs for example it is not synchronized on INTEL gen6 and gen7, so we remove this assumption for now. We should have a specific driver / GPU whitelist if we want to enable this. https://bugzilla.gnome.org/show_bug.cgi?id=669122 Reviewed-by: Robert Bragg <robert@linux.intel.com> Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
parent
161263eb9f
commit
fd31da45e2
@ -89,7 +89,15 @@ COGL_WINSYS_FEATURE_BEGIN (copy_sub_buffer,
|
|||||||
"copy_sub_buffer\0",
|
"copy_sub_buffer\0",
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
/* We initially assumed that copy_sub_buffer is synchronized on
|
||||||
|
* which is only the case for a subset of GPUs for example it is not
|
||||||
|
* synchronized on INTEL gen6 and gen7, so we remove this assumption
|
||||||
|
* for now
|
||||||
|
*/
|
||||||
|
#if 0
|
||||||
COGL_WINSYS_FEATURE_SWAP_REGION_SYNCHRONIZED)
|
COGL_WINSYS_FEATURE_SWAP_REGION_SYNCHRONIZED)
|
||||||
|
#endif
|
||||||
|
0)
|
||||||
COGL_WINSYS_FEATURE_FUNCTION (void, glXCopySubBuffer,
|
COGL_WINSYS_FEATURE_FUNCTION (void, glXCopySubBuffer,
|
||||||
(Display *dpy,
|
(Display *dpy,
|
||||||
GLXDrawable drawable,
|
GLXDrawable drawable,
|
||||||
|
Loading…
Reference in New Issue
Block a user