cogl: Remove unused CoglMatrixMode

https://gitlab.gnome.org/GNOME/mutter/merge_requests/995
This commit is contained in:
Adam Jackson 2019-12-18 16:54:27 -05:00 committed by Georges Basile Stavracas Neto
parent ce3409b2b7
commit 737763112e
3 changed files with 0 additions and 13 deletions

View File

@ -122,10 +122,6 @@ struct _CoglContext
CoglMatrix identity_matrix;
CoglMatrix y_flip_matrix;
/* Value that was last used when calling glMatrixMode to avoid
calling it multiple times */
CoglMatrixMode flushed_matrix_mode;
/* The matrix stack entries that should be flushed during the next
* pipeline state flush */
CoglMatrixEntry *current_projection_entry;

View File

@ -252,8 +252,6 @@ cogl_context_new (CoglDisplay *display,
cogl_matrix_init_identity (&context->y_flip_matrix);
cogl_matrix_scale (&context->y_flip_matrix, 1, -1, 1);
context->flushed_matrix_mode = COGL_MATRIX_MODELVIEW;
context->opaque_color_pipeline = cogl_pipeline_new (context);
context->codegen_header_buffer = g_string_new ("");

View File

@ -154,13 +154,6 @@ typedef struct _CoglMatrixEntryCache
void
_cogl_matrix_entry_identity_init (CoglMatrixEntry *entry);
typedef enum
{
COGL_MATRIX_MODELVIEW,
COGL_MATRIX_PROJECTION,
COGL_MATRIX_TEXTURE
} CoglMatrixMode;
void
_cogl_matrix_entry_cache_init (CoglMatrixEntryCache *cache);