[mutter] cogl: Remove unused COGL_FEATURE_OFFSCREEN_MULTISAMPLE
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cogl: Remove unused COGL_FEATURE_OFFSCREEN_MULTISAMPLE
- Date: Mon, 21 Oct 2019 21:52:10 +0000 (UTC)
commit 1f04b1ae69842934c96c76795a4abdcd8f9188f9
Author: Adam Jackson <ajax redhat com>
Date: Thu Oct 17 20:52:02 2019 -0400
cogl: Remove unused COGL_FEATURE_OFFSCREEN_MULTISAMPLE
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 7989c440a..e663f8b08 100644
--- a/cogl/cogl/cogl-types.h
+++ b/cogl/cogl/cogl-types.h
@@ -114,7 +114,6 @@ typedef struct _CoglTextureVertex CoglTextureVertex;
* CoglFeatureFlags:
* @COGL_FEATURE_TEXTURE_YUV: ycbcr conversion support
* @COGL_FEATURE_TEXTURE_READ_PIXELS: glReadPixels() support
- * @COGL_FEATURE_OFFSCREEN_MULTISAMPLE: Multisample support on FBOs
* @COGL_FEATURE_PBOS: PBO support
*
* Flags for the supported features.
@@ -125,7 +124,6 @@ typedef enum
{
COGL_FEATURE_TEXTURE_YUV = (1 << 3),
COGL_FEATURE_TEXTURE_READ_PIXELS = (1 << 4),
- COGL_FEATURE_OFFSCREEN_MULTISAMPLE = (1 << 7),
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 573fb4ecb..29c078c8d 100644
--- a/cogl/cogl/driver/gl/gl/cogl-driver-gl.c
+++ b/cogl/cogl/driver/gl/gl/cogl-driver-gl.c
@@ -424,7 +424,6 @@ _cogl_driver_update_features (CoglContext *ctx,
if (ctx->glRenderbufferStorageMultisampleIMG)
{
- flags |= COGL_FEATURE_OFFSCREEN_MULTISAMPLE;
COGL_FLAGS_SET (ctx->features,
COGL_FEATURE_ID_OFFSCREEN_MULTISAMPLE, TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]