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

Issue 1344373004: TexSubImage2D no longer needs to match the type in ES3. (Closed)

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

Description

TexSubImage2D no longer needs to match the type in ES3. Texture::ValidForTexture really should not validate type match. Most times it's no op, and one time it's duplicated effort (TexSubImage2D in ES2) and generating wrong error (INVALID_VALUE instead of INVALID_OPERATION). BUG=532708, 429053 TEST=gpu_unittests R=piman@chromium.org Committed: https://crrev.com/f9139ed3a1388d7b91ba121aee02e94cf39c66d6 Cr-Commit-Position: refs/heads/master@{#349585}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -47 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 8 chunks +9 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc View 1 chunk +84 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.h View 2 chunks +2 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 chunk +14 lines, -31 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Zhenyao Mo
piman: PTAL Others: FYI
5 years, 3 months ago (2015-09-18 00:15:05 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1344373004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1344373004/1
5 years, 3 months ago (2015-09-18 00:15:25 UTC) #3
piman
LGTM. I'm not even convinced the type check is needed for TexSubImage2D in ES2 per ...
5 years, 3 months ago (2015-09-18 00:51:14 UTC) #4
Zhenyao Mo
I agree. I looked at the log blame and this was added in 2011 without ...
5 years, 3 months ago (2015-09-18 00:54:08 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-18 02:16:50 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1344373004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1344373004/1
5 years, 3 months ago (2015-09-18 02:19:06 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 3 months ago (2015-09-18 02:24:28 UTC) #10
commit-bot: I haz the power
5 years, 3 months ago (2015-09-18 02:25:13 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f9139ed3a1388d7b91ba121aee02e94cf39c66d6
Cr-Commit-Position: refs/heads/master@{#349585}

Powered by Google App Engine
This is Rietveld 408576698