[mutter] clutter/features: Remove 'offscreen' feature
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] clutter/features: Remove 'offscreen' feature
- Date: Mon, 18 Oct 2021 15:06:33 +0000 (UTC)
commit d9f0d937d9764bdfb126da511a769c126f6d644d
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Fri Sep 17 09:49:31 2021 +0200
clutter/features: Remove 'offscreen' feature
It's also unused. Offscreen framebuffers are still used however, but
it's assumed to exist.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2002>
clutter/clutter/clutter-enums.h | 2 --
clutter/clutter/clutter-feature.c | 2 --
2 files changed, 4 deletions(-)
---
diff --git a/clutter/clutter/clutter-enums.h b/clutter/clutter/clutter-enums.h
index 2ae6d50bcc..3bfe3412b9 100644
--- a/clutter/clutter/clutter-enums.h
+++ b/clutter/clutter/clutter-enums.h
@@ -900,7 +900,6 @@ typedef enum /*< prefix=CLUTTER_SCROLL >*/
* ClutterFeatureFlags:
* @CLUTTER_FEATURE_STAGE_STATIC: Set if stage size if fixed (i.e framebuffer)
* @CLUTTER_FEATURE_SHADERS_GLSL: Set if the backend supports GLSL shaders.
- * @CLUTTER_FEATURE_OFFSCREEN: Set if the backend supports offscreen rendering.
* @CLUTTER_FEATURE_STAGE_MULTIPLE: Set if multiple stages are supported.
* @CLUTTER_FEATURE_SWAP_EVENTS: Set if the GLX_INTEL_swap_event is supported.
*
@@ -913,7 +912,6 @@ typedef enum
{
CLUTTER_FEATURE_STAGE_STATIC = (1 << 6),
CLUTTER_FEATURE_SHADERS_GLSL = (1 << 9),
- CLUTTER_FEATURE_OFFSCREEN = (1 << 10),
CLUTTER_FEATURE_STAGE_MULTIPLE = (1 << 11),
CLUTTER_FEATURE_SWAP_EVENTS = (1 << 12)
} ClutterFeatureFlags;
diff --git a/clutter/clutter/clutter-feature.c b/clutter/clutter/clutter-feature.c
index 9cda1d0755..84e2defa10 100644
--- a/clutter/clutter/clutter-feature.c
+++ b/clutter/clutter/clutter-feature.c
@@ -64,8 +64,6 @@ clutter_features_from_cogl (void)
clutter_flags |= CLUTTER_FEATURE_SHADERS_GLSL;
- clutter_flags |= CLUTTER_FEATURE_OFFSCREEN;
-
return clutter_flags;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]