diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-09-15 17:51:25 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2009-09-15 17:51:25 +0800 |
commit | 4e547d5155d1943576cc6127e537f78fdb7c6ab7 (patch) | |
tree | d96d1bec6d36f5b7dcd6254a40b428ae2405b830 | |
parent | d535d82b325a23a21ab01d9279db67a853245624 (diff) |
intel: Add support for GL_OES_draw_texture.
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_extensions.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index 7a2e7617d0..fb7409c07e 100644 --- a/src/mesa/drivers/dri/intel/intel_context.c +++ b/src/mesa/drivers/dri/intel/intel_context.c @@ -604,6 +604,9 @@ intelInitDriverFunctions(struct dd_function_table *functions) intelInitBufferObjectFuncs(functions); intel_init_syncobj_functions(functions); +#if FEATURE_OES_draw_texture + functions->DrawTex = _mesa_meta_draw_tex; +#endif intelInitEGLImageFuncs(functions); } diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index 21af22fbfb..3d01e2e028 100644 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -182,6 +182,9 @@ static const struct dri_extension ttm_extensions[] = { #if FEATURE_OES_EGL_image { "GL_OES_EGL_image", NULL }, #endif +#if FEATURE_OES_draw_texture + { "GL_OES_draw_texture", NULL }, +#endif { NULL, NULL } }; |