mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
cogl/winsys: Remove 'multiple-onscreen' feature
It was always set, and is no longer used; remove it. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2002>
This commit is contained in:
parent
b73bbecaad
commit
259a906b8c
@ -423,10 +423,6 @@ typedef enum _CoglFilterReturn { /*< prefix=COGL_FILTER >*/
|
|||||||
|
|
||||||
typedef enum _CoglWinsysFeature
|
typedef enum _CoglWinsysFeature
|
||||||
{
|
{
|
||||||
/* Available if the window system can support multiple onscreen
|
|
||||||
* framebuffers at the same time. */
|
|
||||||
COGL_WINSYS_FEATURE_MULTIPLE_ONSCREEN,
|
|
||||||
|
|
||||||
/* Available if its possible to query a counter that
|
/* Available if its possible to query a counter that
|
||||||
* increments at each vblank. */
|
* increments at each vblank. */
|
||||||
COGL_WINSYS_FEATURE_VBLANK_COUNTER,
|
COGL_WINSYS_FEATURE_VBLANK_COUNTER,
|
||||||
|
@ -325,10 +325,6 @@ _cogl_winsys_egl_context_init (CoglContext *context,
|
|||||||
event_filter_cb,
|
event_filter_cb,
|
||||||
context);
|
context);
|
||||||
|
|
||||||
COGL_FLAGS_SET (context->winsys_features,
|
|
||||||
COGL_WINSYS_FEATURE_MULTIPLE_ONSCREEN,
|
|
||||||
TRUE);
|
|
||||||
|
|
||||||
/* We'll manually handle queueing dirty events in response to
|
/* We'll manually handle queueing dirty events in response to
|
||||||
* Expose events from X */
|
* Expose events from X */
|
||||||
COGL_FLAGS_SET (context->private_features,
|
COGL_FLAGS_SET (context->private_features,
|
||||||
|
@ -379,11 +379,6 @@ update_base_winsys_features (CoglRenderer *renderer)
|
|||||||
COGL_WINSYS_FEATURE_VBLANK_COUNTER,
|
COGL_WINSYS_FEATURE_VBLANK_COUNTER,
|
||||||
FALSE);
|
FALSE);
|
||||||
|
|
||||||
|
|
||||||
COGL_FLAGS_SET (glx_renderer->base_winsys_features,
|
|
||||||
COGL_WINSYS_FEATURE_MULTIPLE_ONSCREEN,
|
|
||||||
TRUE);
|
|
||||||
|
|
||||||
/* Because of the direct-context dependency, the VBLANK_WAIT feature
|
/* Because of the direct-context dependency, the VBLANK_WAIT feature
|
||||||
* doesn't reflect the presence of GLX_SGI_video_sync.
|
* doesn't reflect the presence of GLX_SGI_video_sync.
|
||||||
*/
|
*/
|
||||||
|
@ -866,9 +866,6 @@ meta_renderer_native_init_egl_context (CoglContext *cogl_context,
|
|||||||
COGL_FLAGS_SET (cogl_context->winsys_features,
|
COGL_FLAGS_SET (cogl_context->winsys_features,
|
||||||
COGL_WINSYS_FEATURE_SYNC_AND_COMPLETE_EVENT,
|
COGL_WINSYS_FEATURE_SYNC_AND_COMPLETE_EVENT,
|
||||||
TRUE);
|
TRUE);
|
||||||
COGL_FLAGS_SET (cogl_context->winsys_features,
|
|
||||||
COGL_WINSYS_FEATURE_MULTIPLE_ONSCREEN,
|
|
||||||
TRUE);
|
|
||||||
|
|
||||||
#ifdef HAVE_EGL_DEVICE
|
#ifdef HAVE_EGL_DEVICE
|
||||||
if (renderer_gpu_data->mode == META_RENDERER_NATIVE_MODE_EGL_DEVICE)
|
if (renderer_gpu_data->mode == META_RENDERER_NATIVE_MODE_EGL_DEVICE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user