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

Issue 2266563002: Implement buffer{Sub}Data overloads with sub source. (Closed)

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

Description

Implement buffer{Sub}Data overloads with sub source. BUG=639145 TEST=webgl2_conformance R=kbr@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/2f904fc2724f49084be34f7b730353a66770d8d4 Cr-Commit-Position: refs/heads/master@{#413671}

Patch Set 1 #

Patch Set 2 : fix build #

Patch Set 3 : fix #

Total comments: 22

Patch Set 4 : fix #

Total comments: 2

Patch Set 5 : fix comments #

Patch Set 6 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -16 lines) Patch
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h View 1 2 3 4 1 chunk +13 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 2 3 4 5 3 chunks +145 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.idl View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 33 (21 generated)
Zhenyao Mo
kbr: PTAL Tests will follow shortly after in github.
4 years, 4 months ago (2016-08-19 21:06:37 UTC) #3
Ken Russell (switch to Gerrit)
Very nice. Looks good overall. A few questions and comments. https://codereview.chromium.org/2266563002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/2266563002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode46 ...
4 years, 4 months ago (2016-08-20 03:05:35 UTC) #15
Zhenyao Mo
Will revise accordingly. Thanks for the review. https://codereview.chromium.org/2266563002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/2266563002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode46 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:46: SubArrayBufferView(WTF::ArrayBufferView::ViewType viewType, ...
4 years, 4 months ago (2016-08-20 03:44:23 UTC) #16
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2266563002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/2266563002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode51 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:51: , m_subLength(subLength) On 2016/08/20 03:44:23, Zhenyao Mo wrote: > ...
4 years, 4 months ago (2016-08-20 04:03:34 UTC) #17
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2266563002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/2266563002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode99 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:99: } On 2016/08/20 03:44:23, Zhenyao Mo wrote: > On ...
4 years, 4 months ago (2016-08-20 04:05:55 UTC) #18
Zhenyao Mo
Revised, please review again. This time, I didn't take out the getBufferSubData(ArrayBuffer) overload, so we ...
4 years, 4 months ago (2016-08-23 00:22:42 UTC) #19
Ken Russell (switch to Gerrit)
Very nice. Much simpler than the first iteration. LGTM https://codereview.chromium.org/2266563002/diff/60001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h (right): https://codereview.chromium.org/2266563002/diff/60001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h#newcode43 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h:43: ...
4 years, 4 months ago (2016-08-23 00:28:28 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2266563002/80001
4 years, 4 months ago (2016-08-23 00:33:21 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_optional_gpu_tests_rel on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_optional_gpu_tests_rel/builds/3138)
4 years, 4 months ago (2016-08-23 01:40:06 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2266563002/100001
4 years, 4 months ago (2016-08-23 02:06:18 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-08-23 05:21:03 UTC) #31
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 05:25:45 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/2f904fc2724f49084be34f7b730353a66770d8d4
Cr-Commit-Position: refs/heads/master@{#413671}

Powered by Google App Engine
This is Rietveld 408576698