diff options
author | qinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-29 14:01:06 +0000 |
---|---|---|
committer | qinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-29 14:01:06 +0000 |
commit | 70e7bb17f338f111acd8b4a1c292a9c5f643aa93 (patch) | |
tree | 19cd317367e7d0c55f1379cd0a28dc21ba324893 /gpu | |
parent | 8d5ee8cc24cc79448ab58377e5a2fa76c3701051 (diff) | |
download | chromium_src-70e7bb17f338f111acd8b4a1c292a9c5f643aa93.zip chromium_src-70e7bb17f338f111acd8b4a1c292a9c5f643aa93.tar.gz chromium_src-70e7bb17f338f111acd8b4a1c292a9c5f643aa93.tar.bz2 |
GLES2DecoderImpl::DoCompileShader() fails for GL_OES_EGL_image_external on android.
The reason is that we did not enable it in InitializeShaderTranslator().
passing oes_egl_image_external value from feature flag to resources fix the problem.
BUG=152865
Review URL: https://chromiumcodereview.appspot.com/10977082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc index 5cf99d7..01ed120 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc @@ -2451,6 +2451,8 @@ bool GLES2DecoderImpl::InitializeShaderTranslator() { feature_info_->feature_flags().oes_standard_derivatives ? 1 : 0; resources.ARB_texture_rectangle = feature_info_->feature_flags().arb_texture_rectangle ? 1 : 0; + resources.OES_EGL_image_external = + feature_info_->feature_flags().oes_egl_image_external ? 1 : 0; } ShShaderSpec shader_spec = force_webgl_glsl_validation_ || |