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

Issue 1557603002: Unify validation for TexSubImage{2D|3D} (Closed)

Created:
4 years, 11 months ago by qiankun
Modified:
4 years, 11 months ago
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Unify validation for TexSubImage{2D|3D} This CL unifies validation for TexSubImage2D/3D and fixes texSubimage3D cases in deqp/functional/gles3/negativetextureapi.html. BUG=295792 TEST=deqp/functional/gles3/negativetextureapi.html Committed: https://crrev.com/3e6e2f57a2f9df325c98e82d3198d9c5a41b2f1a Cr-Commit-Position: refs/heads/master@{#367216}

Patch Set 1 #

Total comments: 4

Patch Set 2 : handle neutered image data #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -75 lines) Patch
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 7 chunks +26 lines, -51 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 20 chunks +21 lines, -21 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
qiankun
PTAL.
4 years, 11 months ago (2015-12-30 15:09:32 UTC) #2
Zhenyao Mo
https://codereview.chromium.org/1557603002/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1557603002/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode938 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:938: } if (pixels->data()->bufferBase()->isNeutered()) { synthesizeGLError(GL_INVALID_VALUE, "texSubImage3D", "The source data ...
4 years, 11 months ago (2015-12-30 20:17:05 UTC) #3
qiankun
Thanks zhenyao, I fixed your comments. PTAL. https://codereview.chromium.org/1557603002/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1557603002/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode938 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:938: } On ...
4 years, 11 months ago (2015-12-30 23:15:07 UTC) #4
Zhenyao Mo
lgtm
4 years, 11 months ago (2015-12-30 23:24:35 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557603002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557603002/20001
4 years, 11 months ago (2015-12-30 23:28:23 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2015-12-31 01:00:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557603002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557603002/20001
4 years, 11 months ago (2015-12-31 01:07:07 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2015-12-31 01:16:53 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2015-12-31 01:18:09 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3e6e2f57a2f9df325c98e82d3198d9c5a41b2f1a
Cr-Commit-Position: refs/heads/master@{#367216}

Powered by Google App Engine
This is Rietveld 408576698