summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/build_gles2_cmd_buffer.py
diff options
context:
space:
mode:
authorqiankun.miao <qiankun.miao@intel.com>2016-02-10 21:17:13 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-11 05:18:58 +0000
commitcffcfa78df0c98c695776cac2b1ff44daa50a658 (patch)
treed3240ce353214426164da681dd009f4d9e2dab35 /gpu/command_buffer/build_gles2_cmd_buffer.py
parent4345c8eac93d86dcbff3ee95f66521ef94ff5d28 (diff)
downloadchromium_src-cffcfa78df0c98c695776cac2b1ff44daa50a658.zip
chromium_src-cffcfa78df0c98c695776cac2b1ff44daa50a658.tar.gz
chromium_src-cffcfa78df0c98c695776cac2b1ff44daa50a658.tar.bz2
Accept GL_ALPHA format in ReadPixels
The GL_ALPHA format was deprecated in https://codereview.chromium.org/1658703003. But according discussion in https://github.com/KhronosGroup/WebGL/pull/1467, ES 3.0 should be compatible with ES 2.0 and avoid js conformance tests deviate from C++ version. So, this CL allows ReadPixels accepts GL_ALPHA as a valid format again. BUG=570453 Review URL: https://codereview.chromium.org/1673363004 Cr-Commit-Position: refs/heads/master@{#374861}
Diffstat (limited to 'gpu/command_buffer/build_gles2_cmd_buffer.py')
-rwxr-xr-xgpu/command_buffer/build_gles2_cmd_buffer.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
index 8cd382f..b38c6de 100755
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
@@ -1628,9 +1628,6 @@ _NAMED_TYPE_INFO = {
'GL_RGB_INTEGER',
'GL_RGBA_INTEGER',
],
- 'deprecated_es3': [
- 'GL_ALPHA',
- ],
},
'PixelType': {
'type': 'GLenum',