cogl: Remove unused COGL_FEATURE_ID_ONSCREEN_MULTIPLE

https://gitlab.gnome.org/GNOME/mutter/merge_requests/866
This commit is contained in:
Adam Jackson 2019-10-17 19:50:20 -04:00 committed by Georges Basile Stavracas Neto
parent 3076895e98
commit 34a38827b7
3 changed files with 0 additions and 8 deletions

View File

@ -179,8 +179,6 @@ cogl_is_context (void *object);
* texture.
* @COGL_FEATURE_ID_OFFSCREEN_MULTISAMPLE: Multisample support for
* offscreen framebuffers
* @COGL_FEATURE_ID_ONSCREEN_MULTIPLE: Multiple onscreen framebuffers
* supported.
* @COGL_FEATURE_ID_UNSIGNED_INT_INDICES: Set if
* %COGL_INDICES_TYPE_UNSIGNED_INT is supported in
* cogl_indices_new().
@ -206,7 +204,6 @@ cogl_is_context (void *object);
typedef enum _CoglFeatureID
{
COGL_FEATURE_ID_OFFSCREEN_MULTISAMPLE,
COGL_FEATURE_ID_ONSCREEN_MULTIPLE,
COGL_FEATURE_ID_UNSIGNED_INT_INDICES,
COGL_FEATURE_ID_MAP_BUFFER_FOR_READ,
COGL_FEATURE_ID_MAP_BUFFER_FOR_WRITE,

View File

@ -387,8 +387,6 @@ _cogl_winsys_egl_context_init (CoglContext *context,
event_filter_cb,
context);
COGL_FLAGS_SET (context->features,
COGL_FEATURE_ID_ONSCREEN_MULTIPLE, TRUE);
COGL_FLAGS_SET (context->winsys_features,
COGL_WINSYS_FEATURE_MULTIPLE_ONSCREEN,
TRUE);

View File

@ -832,9 +832,6 @@ update_winsys_features (CoglContext *context, GError **error)
context->feature_flags |= glx_renderer->legacy_feature_flags;
COGL_FLAGS_SET (context->features,
COGL_FEATURE_ID_ONSCREEN_MULTIPLE, TRUE);
if (glx_renderer->glXCopySubBuffer || context->glBlitFramebuffer)
{
CoglGpuInfo *info = &context->gpu;