diff options
author | Chia-I Wu <[email protected]> | 2011-10-23 18:51:06 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-11-03 15:09:44 +0800 |
commit | 2903816aadb281716b6c59a5a48aeadb84a08f50 (patch) | |
tree | 23f372e51fdf5da3e37f3c3d8051458e340beed7 /src/glsl/standalone_scaffolding.cpp | |
parent | db73264e1471a594d49ca0bc397cbb6746ee1dce (diff) |
glsl: add support for GL_OES_EGL_image_external
This extension introduces a new sampler type: samplerExternalOES.
texture2D (and texture2DProj) can be used to do a texture look up in an
external texture.
Reviewed-by: Brian Paul <[email protected]>
Acked-by: Jakob Bornecrantz <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/standalone_scaffolding.cpp')
-rw-r--r-- | src/glsl/standalone_scaffolding.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/standalone_scaffolding.cpp b/src/glsl/standalone_scaffolding.cpp index 5cc6c98799b..24cc64ad97b 100644 --- a/src/glsl/standalone_scaffolding.cpp +++ b/src/glsl/standalone_scaffolding.cpp @@ -72,6 +72,7 @@ void initialize_context_to_defaults(struct gl_context *ctx, gl_api api) ctx->Extensions.EXT_texture_array = true; ctx->Extensions.NV_texture_rectangle = true; ctx->Extensions.EXT_texture3D = true; + ctx->Extensions.OES_EGL_image_external = true; ctx->Const.GLSLVersion = 120; |