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

Issue 1403483002: Update CopyTexImage2D to do internal format validation in ES3 (Closed)

Created:
5 years, 2 months ago by qiankun
Modified:
5 years, 2 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update CopyTexImage2D to do internal format validation in ES3 BUG=429053, 532708 Committed: https://crrev.com/8e9c15565d4e538ebb9b31cbaa00bdc2ad890eba Cr-Commit-Position: refs/heads/master@{#354205}

Patch Set 1 #

Patch Set 2 : fix unsigned integer format #

Total comments: 8

Patch Set 3 : fix comments#4 and #5 #

Total comments: 5

Patch Set 4 : infer color encoding from read format #

Patch Set 5 : remove unused function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -0 lines) Patch
M gpu/command_buffer/common/gles2_cmd_utils.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.cc View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 3 chunks +30 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc View 1 2 3 1 chunk +147 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
qiankun
This CL follows section 3.8.5 Alternate Texture Image Specification Commands in es 3.0 spec. "The ...
5 years, 2 months ago (2015-10-09 14:56:32 UTC) #2
Ken Russell (switch to Gerrit)
zmo@ is the best person to review this.
5 years, 2 months ago (2015-10-12 23:55:20 UTC) #3
Zhenyao Mo
This CL itself LGTM with some nits However, there are still some constraints that need ...
5 years, 2 months ago (2015-10-13 01:19:32 UTC) #4
Zhenyao Mo
https://codereview.chromium.org/1403483002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1403483002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode11023 gpu/command_buffer/service/gles2_cmd_decoder.cc:11023: GLES2Util::IsSRGBFormat(internal_format)) || One optimization is, instead of asking IsSRGBFormat, ...
5 years, 2 months ago (2015-10-13 01:22:49 UTC) #5
qiankun
Thanks you @zmo. I updated the CL. Would you mind to take a look again? ...
5 years, 2 months ago (2015-10-13 14:28:01 UTC) #6
Zhenyao Mo
https://codereview.chromium.org/1403483002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1403483002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode1571 gpu/command_buffer/service/gles2_cmd_decoder.cc:1571: GLint GetColorEncodingFromInternalFormat(GLenum internalformat); Make it static. https://codereview.chromium.org/1403483002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode11037 gpu/command_buffer/service/gles2_cmd_decoder.cc:11037: GLint ...
5 years, 2 months ago (2015-10-13 17:00:24 UTC) #7
qiankun
https://codereview.chromium.org/1403483002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1403483002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode1571 gpu/command_buffer/service/gles2_cmd_decoder.cc:1571: GLint GetColorEncodingFromInternalFormat(GLenum internalformat); On 2015/10/13 17:00:23, Zhenyao Mo wrote: ...
5 years, 2 months ago (2015-10-13 23:54:08 UTC) #9
Zhenyao Mo
LGTM with unused function removed https://codereview.chromium.org/1403483002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1403483002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode11037 gpu/command_buffer/service/gles2_cmd_decoder.cc:11037: GLint color_encoding = GetReadFramebufferAttachmentColorEncoding(); ...
5 years, 2 months ago (2015-10-14 18:39:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1403483002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1403483002/100001
5 years, 2 months ago (2015-10-15 01:29:47 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 2 months ago (2015-10-15 02:30:56 UTC) #14
commit-bot: I haz the power
5 years, 2 months ago (2015-10-15 02:32:29 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8e9c15565d4e538ebb9b31cbaa00bdc2ad890eba
Cr-Commit-Position: refs/heads/master@{#354205}

Powered by Google App Engine
This is Rietveld 408576698