cogl: Remove unused COGL_FEATURE_TEXTURE_READ_PIXELS

https://gitlab.gnome.org/GNOME/mutter/merge_requests/866
This commit is contained in:
Adam Jackson 2019-10-17 21:02:23 -04:00 committed by Georges Basile Stavracas Neto
parent 5e0989532e
commit f01db80387
2 changed files with 0 additions and 3 deletions

View File

@ -113,7 +113,6 @@ typedef struct _CoglTextureVertex CoglTextureVertex;
/** /**
* CoglFeatureFlags: * CoglFeatureFlags:
* @COGL_FEATURE_TEXTURE_YUV: ycbcr conversion support * @COGL_FEATURE_TEXTURE_YUV: ycbcr conversion support
* @COGL_FEATURE_TEXTURE_READ_PIXELS: glReadPixels() support
* @COGL_FEATURE_PBOS: PBO support * @COGL_FEATURE_PBOS: PBO support
* *
* Flags for the supported features. * Flags for the supported features.
@ -123,7 +122,6 @@ typedef struct _CoglTextureVertex CoglTextureVertex;
typedef enum typedef enum
{ {
COGL_FEATURE_TEXTURE_YUV = (1 << 3), COGL_FEATURE_TEXTURE_YUV = (1 << 3),
COGL_FEATURE_TEXTURE_READ_PIXELS = (1 << 4),
COGL_FEATURE_PBOS = (1 << 12), COGL_FEATURE_PBOS = (1 << 12),
} CoglFeatureFlags; } CoglFeatureFlags;

View File

@ -393,7 +393,6 @@ _cogl_driver_update_features (CoglContext *ctx,
&ctx->glsl_major, &ctx->glsl_major,
&ctx->glsl_minor); &ctx->glsl_minor);
flags = (COGL_FEATURE_TEXTURE_READ_PIXELS);
COGL_FLAGS_SET (ctx->features, COGL_FLAGS_SET (ctx->features,
COGL_FEATURE_ID_UNSIGNED_INT_INDICES, TRUE); COGL_FEATURE_ID_UNSIGNED_INT_INDICES, TRUE);