Remove unused _cogl_texture_2d_nop_* functions

Never used in mutter AFAICT.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3178>
This commit is contained in:
Michel Dänzer 2023-08-13 17:42:35 +02:00 committed by Marge Bot
parent 3f0184982d
commit e3749ac871
2 changed files with 0 additions and 38 deletions

View File

@ -53,16 +53,6 @@ gboolean
_cogl_texture_2d_nop_allocate (CoglTexture *tex, _cogl_texture_2d_nop_allocate (CoglTexture *tex,
GError **error); GError **error);
void
_cogl_texture_2d_nop_flush_legacy_texobj_filters (CoglTexture *tex,
GLenum min_filter,
GLenum mag_filter);
void
_cogl_texture_2d_nop_flush_legacy_texobj_wrap_modes (CoglTexture *tex,
GLenum wrap_mode_s,
GLenum wrap_mode_t);
void void
_cogl_texture_2d_nop_copy_from_framebuffer (CoglTexture2D *tex_2d, _cogl_texture_2d_nop_copy_from_framebuffer (CoglTexture2D *tex_2d,
int src_x, int src_x,
@ -91,9 +81,3 @@ _cogl_texture_2d_nop_copy_from_bitmap (CoglTexture2D *tex_2d,
int dst_y, int dst_y,
int level, int level,
GError **error); GError **error);
void
_cogl_texture_2d_nop_get_data (CoglTexture2D *tex_2d,
CoglPixelFormat format,
size_t rowstride,
uint8_t *data);

View File

@ -66,20 +66,6 @@ _cogl_texture_2d_nop_allocate (CoglTexture *tex,
return TRUE; return TRUE;
} }
void
_cogl_texture_2d_nop_flush_legacy_texobj_filters (CoglTexture *tex,
GLenum min_filter,
GLenum mag_filter)
{
}
void
_cogl_texture_2d_nop_flush_legacy_texobj_wrap_modes (CoglTexture *tex,
GLenum wrap_mode_s,
GLenum wrap_mode_t)
{
}
void void
_cogl_texture_2d_nop_copy_from_framebuffer (CoglTexture2D *tex_2d, _cogl_texture_2d_nop_copy_from_framebuffer (CoglTexture2D *tex_2d,
int src_x, int src_x,
@ -118,11 +104,3 @@ _cogl_texture_2d_nop_copy_from_bitmap (CoglTexture2D *tex_2d,
{ {
return TRUE; return TRUE;
} }
void
_cogl_texture_2d_nop_get_data (CoglTexture2D *tex_2d,
CoglPixelFormat format,
size_t rowstride,
uint8_t *data)
{
}