[Mesa-dev] [PATCH 8/8] intel: enable GL_OES_draw_texture

Ian Romanick idr at freedesktop.org
Wed Aug 31 13:06:11 PDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/30/2011 10:46 PM, Chia-I Wu wrote:
> From: Chia-I Wu <olv at lunarg.com>
> 
> ---
>  src/mesa/drivers/dri/intel/intel_extensions_es.c |    1 +
>  src/mesa/drivers/dri/intel/intel_tex.c           |    1 +
>  2 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/intel/intel_extensions_es.c b/src/mesa/drivers/dri/intel/intel_extensions_es.c
> index 2af616e..fdb6318 100644
> --- a/src/mesa/drivers/dri/intel/intel_extensions_es.c
> +++ b/src/mesa/drivers/dri/intel/intel_extensions_es.c
> @@ -73,6 +73,7 @@ static const char *es1_extensions[] = {
>     "GL_EXT_blend_equation_separate",
>     "GL_EXT_blend_func_separate",
>     "GL_EXT_blend_subtract",
> +   "GL_OES_draw_texture",
>     "GL_ARB_framebuffer_object",
>     "GL_EXT_framebuffer_object",
>     "GL_ARB_point_sprite",
> diff --git a/src/mesa/drivers/dri/intel/intel_tex.c b/src/mesa/drivers/dri/intel/intel_tex.c
> index 4faa01a..5fdc29b 100644
> --- a/src/mesa/drivers/dri/intel/intel_tex.c
> +++ b/src/mesa/drivers/dri/intel/intel_tex.c
> @@ -209,4 +209,5 @@ intelInitTextureFuncs(struct dd_function_table *functions)
>     functions->FreeTextureImageBuffer = intel_free_texture_image_buffer;
>     functions->MapTextureImage = intel_map_texture_image;
>     functions->UnmapTextureImage = intel_unmap_texture_image;
> +   functions->DrawTex = _mesa_meta_DrawTex;

I think this should be in _mesa_init_driver_functions and in the
previous patch.  Other _mesa_meta functions are set in dd_function_table
by _mesa_init_driver_functions.

>  }

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk5elDMACgkQX1gOwKyEAw+lZgCdHeC+LmuAPP78u/GbHveSO5Wt
InAAnR2S3fuKvV3EGSN9nwc+biWK0KDe
=WRZd
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list