From e3749ac871b57f8b3604b062a9f278b3b47b19e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Sun, 13 Aug 2023 17:42:35 +0200 Subject: [PATCH] Remove unused _cogl_texture_2d_nop_* functions Never used in mutter AFAICT. Part-of: --- .../driver/nop/cogl-texture-2d-nop-private.h | 16 -------------- cogl/cogl/driver/nop/cogl-texture-2d-nop.c | 22 ------------------- 2 files changed, 38 deletions(-) diff --git a/cogl/cogl/driver/nop/cogl-texture-2d-nop-private.h b/cogl/cogl/driver/nop/cogl-texture-2d-nop-private.h index f1f5ed0ba..47ba365a8 100644 --- a/cogl/cogl/driver/nop/cogl-texture-2d-nop-private.h +++ b/cogl/cogl/driver/nop/cogl-texture-2d-nop-private.h @@ -53,16 +53,6 @@ gboolean _cogl_texture_2d_nop_allocate (CoglTexture *tex, 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 _cogl_texture_2d_nop_copy_from_framebuffer (CoglTexture2D *tex_2d, int src_x, @@ -91,9 +81,3 @@ _cogl_texture_2d_nop_copy_from_bitmap (CoglTexture2D *tex_2d, int dst_y, int level, GError **error); - -void -_cogl_texture_2d_nop_get_data (CoglTexture2D *tex_2d, - CoglPixelFormat format, - size_t rowstride, - uint8_t *data); diff --git a/cogl/cogl/driver/nop/cogl-texture-2d-nop.c b/cogl/cogl/driver/nop/cogl-texture-2d-nop.c index f8dae44a1..3739179bd 100644 --- a/cogl/cogl/driver/nop/cogl-texture-2d-nop.c +++ b/cogl/cogl/driver/nop/cogl-texture-2d-nop.c @@ -66,20 +66,6 @@ _cogl_texture_2d_nop_allocate (CoglTexture *tex, 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 _cogl_texture_2d_nop_copy_from_framebuffer (CoglTexture2D *tex_2d, int src_x, @@ -118,11 +104,3 @@ _cogl_texture_2d_nop_copy_from_bitmap (CoglTexture2D *tex_2d, { return TRUE; } - -void -_cogl_texture_2d_nop_get_data (CoglTexture2D *tex_2d, - CoglPixelFormat format, - size_t rowstride, - uint8_t *data) -{ -}