[mutter] cogl: Remove unused COGL_FEATURE_TEXTURE_READ_PIXELS
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cogl: Remove unused COGL_FEATURE_TEXTURE_READ_PIXELS
- Date: Mon, 21 Oct 2019 21:52:25 +0000 (UTC)
commit f01db803874871b01a09a6d4a81029902e1b627b
Author: Adam Jackson <ajax redhat com>
Date: Thu Oct 17 21:02:23 2019 -0400
cogl: Remove unused COGL_FEATURE_TEXTURE_READ_PIXELS
https://gitlab.gnome.org/GNOME/mutter/merge_requests/866
cogl/cogl/cogl-types.h | 2 --
cogl/cogl/driver/gl/gl/cogl-driver-gl.c | 1 -
2 files changed, 3 deletions(-)
---
diff --git a/cogl/cogl/cogl-types.h b/cogl/cogl/cogl-types.h
index e663f8b08..8d1c1bcfd 100644
--- a/cogl/cogl/cogl-types.h
+++ b/cogl/cogl/cogl-types.h
@@ -113,7 +113,6 @@ typedef struct _CoglTextureVertex CoglTextureVertex;
/**
* CoglFeatureFlags:
* @COGL_FEATURE_TEXTURE_YUV: ycbcr conversion support
- * @COGL_FEATURE_TEXTURE_READ_PIXELS: glReadPixels() support
* @COGL_FEATURE_PBOS: PBO support
*
* Flags for the supported features.
@@ -123,7 +122,6 @@ typedef struct _CoglTextureVertex CoglTextureVertex;
typedef enum
{
COGL_FEATURE_TEXTURE_YUV = (1 << 3),
- COGL_FEATURE_TEXTURE_READ_PIXELS = (1 << 4),
COGL_FEATURE_PBOS = (1 << 12),
} CoglFeatureFlags;
diff --git a/cogl/cogl/driver/gl/gl/cogl-driver-gl.c b/cogl/cogl/driver/gl/gl/cogl-driver-gl.c
index c399fa9aa..069346a60 100644
--- a/cogl/cogl/driver/gl/gl/cogl-driver-gl.c
+++ b/cogl/cogl/driver/gl/gl/cogl-driver-gl.c
@@ -393,7 +393,6 @@ _cogl_driver_update_features (CoglContext *ctx,
&ctx->glsl_major,
&ctx->glsl_minor);
- flags = (COGL_FEATURE_TEXTURE_READ_PIXELS);
COGL_FLAGS_SET (ctx->features,
COGL_FEATURE_ID_UNSIGNED_INT_INDICES, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]