From 780018ded1caf8f3673c25c858656792f2a45dc4 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Sat, 28 Jan 2012 14:20:59 -0800 Subject: update GLES headers and add support for corresponding new extensions. Change-Id: I554d9659113b4721b748ee5c1a3b1ca82b11d75e --- opengl/libs/hooks.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'opengl/libs/hooks.h') diff --git a/opengl/libs/hooks.h b/opengl/libs/hooks.h index 7ac88cdb7ed5..8b1b3898f678 100644 --- a/opengl/libs/hooks.h +++ b/opengl/libs/hooks.h @@ -37,7 +37,12 @@ #endif #undef NELEM #define NELEM(x) (sizeof(x)/sizeof(*(x))) -#define MAX_NUMBER_OF_GL_EXTENSIONS 64 + +// maximum number of GL extensions that can be used simultaneously in +// a given process. this limitation exists because we need to have +// a static function for each extension and currently these static functions +// are generated at compile time. +#define MAX_NUMBER_OF_GL_EXTENSIONS 256 #if defined(HAVE_ANDROID_OS) && !USE_SLOW_BINDING && __OPTIMIZE__ -- cgit v1.2.3-59-g8ed1b