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

Issue 1555523002: WebGL: remove validation code for vertexAttribPointer and vertexAttribIPointer (Closed)

Created:
4 years, 11 months ago by yunchao
Modified:
4 years, 11 months ago
CC:
chromium-reviews, blink-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

WebGL: remove validation code for vertexAttribPointer and vertexAttribIPointer. This change also removed items cached in VertexAttribState in WebGLVertexArrayObjectBase. BUG=570453 Committed: https://crrev.com/ab18bc73dddce5b609a2d73239ab3874b2a5382d Cr-Commit-Position: refs/heads/master@{#368015}

Patch Set 1 #

Patch Set 2 : remove unused validations #

Total comments: 4

Patch Set 3 : addressed zmo@'s feedback: leave this CL to be only code-refactoring #

Patch Set 4 : addressed kbr@'s feedback: remove most of cached items from VertexAttribState #

Patch Set 5 : fix errors found by trybots #

Total comments: 3

Patch Set 6 : code rebase #

Patch Set 7 : addressed feedback from zmo and kbr: remove VertexAttribState #

Total comments: 4

Patch Set 8 : addressed feedbacks from Zhenyao and Ken #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -217 lines) Patch
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 2 3 4 5 6 2 chunks +1 line, -59 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 4 5 6 7 6 chunks +23 lines, -77 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h View 1 2 3 4 5 6 3 chunks +3 lines, -34 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.cpp View 1 2 3 4 5 6 4 chunks +16 lines, -43 lines 0 comments Download

Messages

Total messages: 53 (26 generated)
yunchao
PTAL. Thanks a lot!
4 years, 11 months ago (2015-12-29 14:25:33 UTC) #9
Zhenyao Mo
https://codereview.chromium.org/1555523002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1555523002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode8770 gpu/command_buffer/service/gles2_cmd_decoder.cc:8770: GL_INVALID_VALUE, This should also be INVALID_OPERATION. See https://www.opengl.org/registry/specs/ARB/vertex_attrib_binding.txt https://codereview.chromium.org/1555523002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode8857 ...
4 years, 11 months ago (2015-12-29 22:04:04 UTC) #10
yunchao
Thanks for your review, Zhenyao. Could you see the comments inline? I think this may ...
4 years, 11 months ago (2015-12-30 01:02:11 UTC) #11
Zhenyao Mo
On 2015/12/30 01:02:11, yunchao wrote: > Thanks for your review, Zhenyao. Could you see the ...
4 years, 11 months ago (2015-12-30 01:10:36 UTC) #13
Ken Russell (switch to Gerrit)
On 2015/12/30 01:10:36, Zhenyao Mo wrote: > On 2015/12/30 01:02:11, yunchao wrote: > > Thanks ...
4 years, 11 months ago (2015-12-30 02:19:12 UTC) #14
Ken Russell (switch to Gerrit)
On 2015/12/30 02:19:12, Ken Russell wrote: > On 2015/12/30 01:10:36, Zhenyao Mo wrote: > > ...
4 years, 11 months ago (2015-12-30 02:20:50 UTC) #15
yunchao
> > > On 2015/12/29 22:04:04, Zhenyao Mo wrote: > > > > When you ...
4 years, 11 months ago (2015-12-31 14:38:14 UTC) #19
Zhenyao Mo
On 2015/12/31 14:38:14, yunchao wrote: > > > > On 2015/12/29 22:04:04, Zhenyao Mo wrote: ...
4 years, 11 months ago (2016-01-04 22:17:22 UTC) #21
yunchao
On 2016/01/04 22:17:22, Zhenyao Mo wrote: > On 2015/12/31 14:38:14, yunchao wrote: > > > ...
4 years, 11 months ago (2016-01-05 13:58:42 UTC) #22
Zhenyao Mo
lgtm https://codereview.chromium.org/1555523002/diff/120001/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h File third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h (right): https://codereview.chromium.org/1555523002/diff/120001/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h#newcode26 third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h:26: class VertexAttribState final : public GarbageCollected<VertexAttribState> { Do ...
4 years, 11 months ago (2016-01-05 21:13:21 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1555523002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1555523002/140001
4 years, 11 months ago (2016-01-06 00:20:52 UTC) #25
commit-bot: I haz the power
Dry run: A disapproval has been posted by following reviewers: kbr@chromium.org. Please make sure to ...
4 years, 11 months ago (2016-01-06 00:20:54 UTC) #27
Ken Russell (switch to Gerrit)
Yunchao, thanks, this looks a lot better. lgtm at this point with one cleanup request. ...
4 years, 11 months ago (2016-01-06 03:55:27 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1555523002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1555523002/140001
4 years, 11 months ago (2016-01-06 07:02:53 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-06 08:21:51 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1555523002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1555523002/160001
4 years, 11 months ago (2016-01-06 16:45:56 UTC) #34
yunchao
Thanks for your review, Zhenyao and Ken. I have updated the code to remove VertexAttribState ...
4 years, 11 months ago (2016-01-06 17:31:42 UTC) #35
Zhenyao Mo
https://codereview.chromium.org/1555523002/diff/160001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/1555523002/diff/160001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode3482 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:3482: return WebGLAny(scriptState, buffer.get()); On 2016/01/06 17:31:42, yunchao wrote: > ...
4 years, 11 months ago (2016-01-06 18:04:08 UTC) #36
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-06 18:40:41 UTC) #38
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1555523002/diff/160001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/1555523002/diff/160001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode3482 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:3482: return WebGLAny(scriptState, buffer.get()); On 2016/01/06 18:04:08, Zhenyao Mo wrote: ...
4 years, 11 months ago (2016-01-06 20:53:54 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1555523002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1555523002/180001
4 years, 11 months ago (2016-01-07 00:05:18 UTC) #41
yunchao
Zhenyao and Ken, the code has been updated accordingly, please have a double-check. Thanks. https://codereview.chromium.org/1555523002/diff/160001/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp ...
4 years, 11 months ago (2016-01-07 00:24:08 UTC) #42
Zhenyao Mo
lgtm
4 years, 11 months ago (2016-01-07 00:46:36 UTC) #43
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-07 01:23:19 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1555523002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1555523002/180001
4 years, 11 months ago (2016-01-07 05:00:51 UTC) #49
commit-bot: I haz the power
Committed patchset #8 (id:180001)
4 years, 11 months ago (2016-01-07 05:05:47 UTC) #51
commit-bot: I haz the power
4 years, 11 months ago (2016-01-07 05:06:45 UTC) #53
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ab18bc73dddce5b609a2d73239ab3874b2a5382d
Cr-Commit-Position: refs/heads/master@{#368015}

Powered by Google App Engine
This is Rietveld 408576698