mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
cogl: Remove unused COGL_FEATURE_ID_DEPTH_RANGE
https://gitlab.gnome.org/GNOME/mutter/merge_requests/866
This commit is contained in:
parent
d810c0576d
commit
8b0289a5ba
@ -185,7 +185,6 @@ cogl_is_context (void *object);
|
||||
* @COGL_FEATURE_ID_UNSIGNED_INT_INDICES: Set if
|
||||
* %COGL_INDICES_TYPE_UNSIGNED_INT is supported in
|
||||
* cogl_indices_new().
|
||||
* @COGL_FEATURE_ID_DEPTH_RANGE: cogl_pipeline_set_depth_range() support
|
||||
* @COGL_FEATURE_ID_POINT_SPRITE: Whether
|
||||
* cogl_pipeline_set_layer_point_sprite_coords_enabled() is supported.
|
||||
* @COGL_FEATURE_ID_PER_VERTEX_POINT_SIZE: Whether cogl_point_size_in
|
||||
@ -219,7 +218,6 @@ typedef enum _CoglFeatureID
|
||||
COGL_FEATURE_ID_OFFSCREEN_MULTISAMPLE,
|
||||
COGL_FEATURE_ID_ONSCREEN_MULTIPLE,
|
||||
COGL_FEATURE_ID_UNSIGNED_INT_INDICES,
|
||||
COGL_FEATURE_ID_DEPTH_RANGE,
|
||||
COGL_FEATURE_ID_POINT_SPRITE,
|
||||
COGL_FEATURE_ID_MAP_BUFFER_FOR_READ,
|
||||
COGL_FEATURE_ID_MAP_BUFFER_FOR_WRITE,
|
||||
|
@ -225,13 +225,6 @@ cogl_depth_state_get_test_function (CoglDepthState *state);
|
||||
* mapped too although the range must still lye within the range [0,
|
||||
* 1].
|
||||
*
|
||||
* If your driver does not support this feature (for example you are
|
||||
* using GLES 1 drivers) then if you don't use the default range
|
||||
* values you will get an error reported when calling
|
||||
* cogl_pipeline_set_depth_state (). You can check ahead of time for
|
||||
* the %COGL_FEATURE_ID_DEPTH_RANGE feature with
|
||||
* cogl_has_feature() to know if this function will succeed.
|
||||
*
|
||||
* By default normalized device coordinate depth values are mapped to
|
||||
* the full range of depth buffer values, [0, 1].
|
||||
*
|
||||
|
@ -398,7 +398,6 @@ _cogl_driver_update_features (CoglContext *ctx,
|
||||
| COGL_FEATURE_DEPTH_RANGE);
|
||||
COGL_FLAGS_SET (ctx->features,
|
||||
COGL_FEATURE_ID_UNSIGNED_INT_INDICES, TRUE);
|
||||
COGL_FLAGS_SET (ctx->features, COGL_FEATURE_ID_DEPTH_RANGE, TRUE);
|
||||
COGL_FLAGS_SET (ctx->features, COGL_FEATURE_ID_MIRRORED_REPEAT, TRUE);
|
||||
|
||||
_cogl_feature_check_ext_functions (ctx,
|
||||
|
@ -306,7 +306,6 @@ _cogl_driver_update_features (CoglContext *context,
|
||||
* repeat modes other than CLAMP_TO_EDGE. */
|
||||
flags |= COGL_FEATURE_DEPTH_RANGE;
|
||||
COGL_FLAGS_SET (context->features, COGL_FEATURE_ID_OFFSCREEN, TRUE);
|
||||
COGL_FLAGS_SET (context->features, COGL_FEATURE_ID_DEPTH_RANGE, TRUE);
|
||||
COGL_FLAGS_SET (context->features,
|
||||
COGL_FEATURE_ID_MIRRORED_REPEAT, TRUE);
|
||||
COGL_FLAGS_SET (context->features,
|
||||
|
Loading…
Reference in New Issue
Block a user