cogl: Remove unused TexturePixel
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3818>
This commit is contained in:
parent
c9c64f0990
commit
06402fd756
2 changed files with 0 additions and 17 deletions
|
@ -58,7 +58,6 @@ struct _CoglTexture2D
|
||||||
GLenum gl_legacy_texobj_mag_filter;
|
GLenum gl_legacy_texobj_mag_filter;
|
||||||
GLint gl_legacy_texobj_wrap_mode_s;
|
GLint gl_legacy_texobj_wrap_mode_s;
|
||||||
GLint gl_legacy_texobj_wrap_mode_t;
|
GLint gl_legacy_texobj_wrap_mode_t;
|
||||||
CoglTexturePixel first_pixel;
|
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
void *user_data;
|
void *user_data;
|
||||||
|
|
|
@ -224,22 +224,6 @@ typedef enum _CoglTextureChangeFlags
|
||||||
|
|
||||||
} CoglTextureChangeFlags;
|
} CoglTextureChangeFlags;
|
||||||
|
|
||||||
typedef struct _CoglTexturePixel CoglTexturePixel;
|
|
||||||
|
|
||||||
/* This is used by the texture backends to store the first pixel of
|
|
||||||
each GL texture. This is only used when glGenerateMipmap is not
|
|
||||||
available so that we can temporarily set GL_GENERATE_MIPMAP and
|
|
||||||
reupload a pixel */
|
|
||||||
struct _CoglTexturePixel
|
|
||||||
{
|
|
||||||
/* We need to store the format of the pixel because we store the
|
|
||||||
data in the source format which might end up being different for
|
|
||||||
each slice if a subregion is updated with a different format */
|
|
||||||
GLenum gl_format;
|
|
||||||
GLenum gl_type;
|
|
||||||
uint8_t data[4];
|
|
||||||
};
|
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
_cogl_texture_can_hardware_repeat (CoglTexture *texture);
|
_cogl_texture_can_hardware_repeat (CoglTexture *texture);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue