Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(696)

Issue 1007523002: Update ES3 enums for texture parameters. (Closed)

Created:
5 years, 9 months ago by Zhenyao Mo
Modified:
5 years, 9 months ago
Reviewers:
no sievers
CC:
chromium-reviews, piman+watch_chromium.org, Ken Russell (switch to Gerrit), bajones, vmiura
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update ES3 enums for texture parameters. This affetcs TexImage*D, TexStorage*D, CopyTexImage2D. Note that this is working progress to allow these ES3 enums. More validation code needs to be modified to make them work. BUG=429053 TEST=gpu_unittests R=sievers@chromium.org Committed: https://crrev.com/47e01c44489b0c7e498df6e09987c401d7592b2c Cr-Commit-Position: refs/heads/master@{#320612}

Patch Set 1 #

Patch Set 2 : Fix #

Total comments: 3

Patch Set 3 : Two CLs combined #

Total comments: 11

Patch Set 4 : per sievers's review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+553 lines, -6 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 10 chunks +182 lines, -2 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.cc View 1 2 chunks +41 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h View 1 2 5 chunks +138 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation.h View 1 2 chunks +12 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h View 1 2 3 6 chunks +178 lines, -1 line 0 comments Download

Messages

Total messages: 15 (1 generated)
Zhenyao Mo
sievers: another one. Others: FYI
5 years, 9 months ago (2015-03-12 22:12:18 UTC) #1
Zhenyao Mo
https://codereview.chromium.org/1007523002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1007523002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode9114 gpu/command_buffer/service/gles2_cmd_decoder.cc:9114: GL_INVALID_ENUM, This is correct because such format is not ...
5 years, 9 months ago (2015-03-12 22:16:38 UTC) #2
no sievers
Do you think it'd be easy to do the revert separately, and then rebase the ...
5 years, 9 months ago (2015-03-12 22:37:05 UTC) #3
Zhenyao Mo
OK, sounds good. Will revert. https://codereview.chromium.org/1007523002/diff/20001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/1007523002/diff/20001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode1372 gpu/command_buffer/build_gles2_cmd_buffer.py:1372: 'GL_RGBA32I', On 2015/03/12 22:37:05, ...
5 years, 9 months ago (2015-03-12 22:39:17 UTC) #4
Zhenyao Mo
sievers: please take another look. This CL combined the reverted one.
5 years, 9 months ago (2015-03-12 22:54:01 UTC) #5
no sievers
https://codereview.chromium.org/1007523002/diff/40001/gpu/command_buffer/cmd_buffer_functions.txt File gpu/command_buffer/cmd_buffer_functions.txt (right): https://codereview.chromium.org/1007523002/diff/40001/gpu/command_buffer/cmd_buffer_functions.txt#newcode136 gpu/command_buffer/cmd_buffer_functions.txt:136: GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei ...
5 years, 9 months ago (2015-03-13 00:15:55 UTC) #6
Zhenyao Mo
https://codereview.chromium.org/1007523002/diff/40001/gpu/command_buffer/cmd_buffer_functions.txt File gpu/command_buffer/cmd_buffer_functions.txt (right): https://codereview.chromium.org/1007523002/diff/40001/gpu/command_buffer/cmd_buffer_functions.txt#newcode136 gpu/command_buffer/cmd_buffer_functions.txt:136: GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei ...
5 years, 9 months ago (2015-03-13 02:38:33 UTC) #7
Zhenyao Mo
Bots are all green now. Please take another look.
5 years, 9 months ago (2015-03-13 19:39:01 UTC) #8
no sievers
https://codereview.chromium.org/1007523002/diff/40001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (left): https://codereview.chromium.org/1007523002/diff/40001/gpu/command_buffer/build_gles2_cmd_buffer.py#oldcode1228 gpu/command_buffer/build_gles2_cmd_buffer.py:1228: 'GL_INT', Note that GLES2DecoderTest.ReadPixelsInvalidArgs verifies that GL_INT is invalid ...
5 years, 9 months ago (2015-03-13 19:44:18 UTC) #9
Zhenyao Mo
OK, revised. Please check again. Thanks. https://codereview.chromium.org/1007523002/diff/40001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (left): https://codereview.chromium.org/1007523002/diff/40001/gpu/command_buffer/build_gles2_cmd_buffer.py#oldcode1228 gpu/command_buffer/build_gles2_cmd_buffer.py:1228: 'GL_INT', On 2015/03/13 ...
5 years, 9 months ago (2015-03-13 20:25:14 UTC) #10
no sievers
lgtm
5 years, 9 months ago (2015-03-13 20:32:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1007523002/60001
5 years, 9 months ago (2015-03-13 20:52:52 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-14 00:15:41 UTC) #14
commit-bot: I haz the power
5 years, 9 months ago (2015-03-14 00:17:17 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/47e01c44489b0c7e498df6e09987c401d7592b2c
Cr-Commit-Position: refs/heads/master@{#320612}

Powered by Google App Engine
This is Rietveld 408576698