[Mesa-dev] [PATCH] mesa: Remove the OES_draw_texture extension from ES2.
Chad Versace
chad.versace at linux.intel.com
Wed May 16 09:24:13 PDT 2012
On 05/15/2012 03:50 PM, Kenneth Graunke wrote:
> This extension appears to be written against ES 1.0.
> In ES 2.0, you really want to be using FBOs instead.
> ---
> src/mesa/main/extensions.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
> index a843a40..cd76eeb 100644
> --- a/src/mesa/main/extensions.c
> +++ b/src/mesa/main/extensions.c
> @@ -228,7 +228,7 @@ static const struct extension extension_table[] = {
> { "GL_OES_depth32", o(dummy_false), DISABLE, 2005 },
> { "GL_OES_depth_texture", o(ARB_depth_texture), ES2, 2006 },
> #if FEATURE_OES_draw_texture
> - { "GL_OES_draw_texture", o(OES_draw_texture), ES1 | ES2, 2004 },
> + { "GL_OES_draw_texture", o(OES_draw_texture), ES1, 2004 },
> #endif
> #if FEATURE_OES_EGL_image
> /* FIXME: Mesa expects GL_OES_EGL_image to be available in OpenGL contexts. */
The "New Procedures and Functions" section of the spec
strongly suggests that this is extension is for ES1 only.
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
More information about the mesa-dev
mailing list