mirror of
https://github.com/brl/mutter.git
synced 2024-12-22 19:12:04 +00:00
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>
This commit is contained in:
parent
85de82bb4e
commit
d9f0d937d9
@ -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;
|
||||
|
@ -64,8 +64,6 @@ clutter_features_from_cogl (void)
|
||||
|
||||
clutter_flags |= CLUTTER_FEATURE_SHADERS_GLSL;
|
||||
|
||||
clutter_flags |= CLUTTER_FEATURE_OFFSCREEN;
|
||||
|
||||
return clutter_flags;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user