cogl: Remove unused COGL_FEATURE_POINT_SPRITE
https://gitlab.gnome.org/GNOME/mutter/merge_requests/866
This commit is contained in:
parent
eaf0aa1f07
commit
5f4e8789df
4 changed files with 0 additions and 11 deletions
|
@ -122,8 +122,6 @@ typedef struct _CoglTextureVertex CoglTextureVertex;
|
|||
* @COGL_FEATURE_UNSIGNED_INT_INDICES: Set if
|
||||
* %COGL_INDICES_TYPE_UNSIGNED_INT is supported in
|
||||
* cogl_vertex_buffer_indices_new().
|
||||
* @COGL_FEATURE_POINT_SPRITE: Whether
|
||||
* cogl_material_set_layer_point_sprite_coords_enabled() is supported.
|
||||
* @COGL_FEATURE_MAP_BUFFER_FOR_READ: Whether cogl_buffer_map() is
|
||||
* supported with CoglBufferAccess including read support.
|
||||
* @COGL_FEATURE_MAP_BUFFER_FOR_WRITE: Whether cogl_buffer_map() is
|
||||
|
@ -145,7 +143,6 @@ typedef enum
|
|||
COGL_FEATURE_STENCIL_BUFFER = (1 << 10),
|
||||
COGL_FEATURE_PBOS = (1 << 12),
|
||||
COGL_FEATURE_UNSIGNED_INT_INDICES = (1 << 13),
|
||||
COGL_FEATURE_POINT_SPRITE = (1 << 18),
|
||||
COGL_FEATURE_MAP_BUFFER_FOR_READ = (1 << 21),
|
||||
COGL_FEATURE_MAP_BUFFER_FOR_WRITE = (1 << 22),
|
||||
COGL_FEATURE_ONSCREEN_MULTIPLE = (1 << 23),
|
||||
|
|
|
@ -1091,10 +1091,6 @@ cogl_material_set_layer_filters (CoglMaterial *material,
|
|||
* have 1.0,1.0. If @enable is %FALSE then the coordinates will be
|
||||
* fixed for the entire point.
|
||||
*
|
||||
* This function will only work if %COGL_FEATURE_POINT_SPRITE is
|
||||
* available. If the feature is not available then the function will
|
||||
* return %FALSE and set @error.
|
||||
*
|
||||
* Return value: %TRUE if the function succeeds, %FALSE otherwise.
|
||||
* Since: 1.4
|
||||
* Deprecated: 1.16: Use cogl_pipeline_set_layer_point_sprite_coords_enabled()
|
||||
|
|
|
@ -436,8 +436,6 @@ _cogl_driver_update_features (CoglContext *ctx,
|
|||
|
||||
COGL_FLAGS_SET (private_features, COGL_PRIVATE_FEATURE_PBOS, TRUE);
|
||||
|
||||
flags |= COGL_FEATURE_POINT_SPRITE;
|
||||
|
||||
flags |= (COGL_FEATURE_MAP_BUFFER_FOR_READ |
|
||||
COGL_FEATURE_MAP_BUFFER_FOR_WRITE);
|
||||
COGL_FLAGS_SET (ctx->features, COGL_FEATURE_ID_MAP_BUFFER_FOR_READ, TRUE);
|
||||
|
|
|
@ -309,8 +309,6 @@ _cogl_driver_update_features (CoglContext *context,
|
|||
COGL_FLAGS_SET (private_features, COGL_PRIVATE_FEATURE_ANY_GL, TRUE);
|
||||
COGL_FLAGS_SET (private_features, COGL_PRIVATE_FEATURE_ALPHA_TEXTURES, TRUE);
|
||||
|
||||
flags |= COGL_FEATURE_POINT_SPRITE;
|
||||
|
||||
if (context->glGenRenderbuffers)
|
||||
{
|
||||
flags |= COGL_FEATURE_OFFSCREEN;
|
||||
|
|
Loading…
Reference in a new issue