cogl: Remove unused cogl_renderer_get_n_fragment_texture_units
https://gitlab.gnome.org/GNOME/mutter/merge_requests/874
This commit is contained in:
parent
049e7882b7
commit
c5bb2e3f56
3 changed files with 0 additions and 30 deletions
|
@ -46,7 +46,6 @@
|
|||
#include "cogl-config-private.h"
|
||||
#include "cogl-gtype-private.h"
|
||||
|
||||
#include "driver/gl/cogl-util-gl-private.h"
|
||||
#include "winsys/cogl-winsys-private.h"
|
||||
#include "winsys/cogl-winsys-stub-private.h"
|
||||
|
||||
|
@ -734,20 +733,6 @@ _cogl_renderer_get_proc_address (CoglRenderer *renderer,
|
|||
return winsys->renderer_get_proc_address (renderer, name, in_core);
|
||||
}
|
||||
|
||||
int
|
||||
cogl_renderer_get_n_fragment_texture_units (CoglRenderer *renderer)
|
||||
{
|
||||
int n = 0;
|
||||
|
||||
_COGL_GET_CONTEXT (ctx, 0);
|
||||
|
||||
#if defined (HAVE_COGL_GL) || defined (HAVE_COGL_GLES2)
|
||||
GE (ctx, glGetIntegerv (GL_MAX_TEXTURE_IMAGE_UNITS, &n));
|
||||
#endif
|
||||
|
||||
return n;
|
||||
}
|
||||
|
||||
void
|
||||
cogl_renderer_add_constraint (CoglRenderer *renderer,
|
||||
CoglRendererConstraint constraint)
|
||||
|
|
|
@ -202,20 +202,6 @@ cogl_renderer_set_winsys_id (CoglRenderer *renderer,
|
|||
CoglWinsysID
|
||||
cogl_renderer_get_winsys_id (CoglRenderer *renderer);
|
||||
|
||||
/**
|
||||
* cogl_renderer_get_n_fragment_texture_units:
|
||||
* @renderer: A #CoglRenderer
|
||||
*
|
||||
* Queries how many texture units can be used from fragment programs
|
||||
*
|
||||
* Returns: the number of texture image units.
|
||||
*
|
||||
* Since: 1.8
|
||||
* Stability: Unstable
|
||||
*/
|
||||
int
|
||||
cogl_renderer_get_n_fragment_texture_units (CoglRenderer *renderer);
|
||||
|
||||
/**
|
||||
* cogl_renderer_check_onscreen_template: (skip)
|
||||
* @renderer: A #CoglRenderer
|
||||
|
|
|
@ -732,7 +732,6 @@ cogl_renderer_get_driver
|
|||
#ifdef COGL_HAS_GTYPE_SUPPORT
|
||||
cogl_renderer_get_gtype
|
||||
#endif
|
||||
cogl_renderer_get_n_fragment_texture_units
|
||||
cogl_renderer_error_get_type
|
||||
cogl_renderer_get_winsys_id
|
||||
cogl_renderer_new
|
||||
|
|
Loading…
Reference in a new issue