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

Issue 2379203002: implement getBufferSubDataAsync prototype (Closed)

Created:
4 years, 2 months ago by Kai Ninomiya
Modified:
4 years, 2 months ago
CC:
adamk, ajuma+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), haraken, jam, jbroman, jochen (gone - plz use gerrit), Justin Novosad, mlamouri+watch-content_chromium.org, pdr+graphicswatchlist_chromium.org, piman+watch_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement a prototype for the proposed getBufferSubDataAsync entry point specified in this WebGL PR: https://github.com/KhronosGroup/WebGL/pull/2079 BUG=616554 BUG=654609 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel NOTRY=true Committed: https://crrev.com/884e8e8ad9cf667829d80f4bd222a0369baa088b Cr-Commit-Position: refs/heads/master@{#426335}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : fix #

Patch Set 4 : fix again #

Patch Set 5 : fix again again #

Patch Set 6 : update expectation #

Patch Set 7 : rebase over reformat #

Patch Set 8 : include fix #

Patch Set 9 : command buffer client side test #

Patch Set 10 : update idl + fix dangling promise #

Patch Set 11 : hide getBufferSubDataAsync behind ExperimentalCanvasFeatures #

Total comments: 3

Patch Set 12 : rebase + clean up some XXXs #

Total comments: 44

Patch Set 13 : address most of esprehn's and kbr's comments #

Patch Set 14 : factor out common validation code from getBufferSubData/Async #

Total comments: 11

Patch Set 15 : address comments #

Total comments: 14

Patch Set 16 : fix transform feedback error case #

Patch Set 17 : fix transform feedback error case #

Patch Set 18 : Merge branch 'master' into async #

Total comments: 12

Patch Set 19 : address comments + merge #

Patch Set 20 : fixup #

Patch Set 21 : convert WebGLGetBufferSubDataAsyncCallback to garbage collected #

Patch Set 22 : small clarification #

Unified diffs Side-by-side diffs Delta from patch set Stats (+631 lines, -26 lines) Patch
M content/renderer/webgraphicscontext3d_provider_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/webgraphicscontext3d_provider_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +5 lines, -0 lines 0 comments Download
M content/test/gpu/gpu_tests/webgl2_conformance_expectations.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M gpu/GLES2/gl2chromium_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +10 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +12 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +52 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +53 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +61 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +18 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +9 lines, -8 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +52 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +33 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/DEPS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 6 chunks +32 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 7 chunks +241 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferSoftwareRenderingTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/test/FakeWebGraphicsContext3DProvider.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 95 (64 generated)
Kai Ninomiya
Big CL incoming. kbr, zmo: please review * gpu/command_buffer/ * gpu/GLES2/gl2chromium_autogen.h * third_party/WebKit/Source/modules/webgl/ esprehn, dglazkov: ...
4 years, 2 months ago (2016-10-07 19:06:42 UTC) #44
Kai Ninomiya
On 2016/10/07 19:06:42, Kai Ninomiya wrote: > Big CL incoming. > > kbr, zmo: please ...
4 years, 2 months ago (2016-10-07 20:38:07 UTC) #47
adamk
+tyoshino, who knows more about the Blink side of this than me. https://codereview.chromium.org/2379203002/diff/200001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp ...
4 years, 2 months ago (2016-10-07 23:00:43 UTC) #49
esprehn
Can you write a more detailed change description and link to the spec? What does ...
4 years, 2 months ago (2016-10-08 03:02:49 UTC) #52
esprehn
Can you write a more detailed change description and link to the spec? What does ...
4 years, 2 months ago (2016-10-08 03:02:50 UTC) #53
Ken Russell (switch to Gerrit)
Thanks for putting this together Kai. It looks great overall and is yielding great results. ...
4 years, 2 months ago (2016-10-10 22:21:30 UTC) #57
Kai Ninomiya
Addressed most of the comments, still have to split the function tomorrow. https://codereview.chromium.org/2379203002/diff/220001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp ...
4 years, 2 months ago (2016-10-11 01:34:15 UTC) #58
Kai Ninomiya
https://codereview.chromium.org/2379203002/diff/220001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/2379203002/diff/220001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode449 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:449: ScriptPromise WebGL2RenderingContextBase::getBufferSubDataAsync( On 2016/10/11 01:34:14, Kai Ninomiya wrote: > ...
4 years, 2 months ago (2016-10-11 21:54:43 UTC) #59
Kai Ninomiya
(All comments should be addressed now, PTAL.)
4 years, 2 months ago (2016-10-11 22:00:56 UTC) #60
Ken Russell (switch to Gerrit)
Looks excellent. Few minor updates then LGTM. https://codereview.chromium.org/2379203002/diff/260001/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py File content/test/gpu/gpu_tests/webgl2_conformance_expectations.py (right): https://codereview.chromium.org/2379203002/diff/260001/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py#newcode50 content/test/gpu/gpu_tests/webgl2_conformance_expectations.py:50: self.Fail('conformance2/context/methods-2.html', bug=616554) ...
4 years, 2 months ago (2016-10-11 22:31:16 UTC) #61
Kai Ninomiya
address comments
4 years, 2 months ago (2016-10-11 22:42:17 UTC) #62
Kai Ninomiya
https://codereview.chromium.org/2379203002/diff/260001/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py File content/test/gpu/gpu_tests/webgl2_conformance_expectations.py (right): https://codereview.chromium.org/2379203002/diff/260001/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py#newcode50 content/test/gpu/gpu_tests/webgl2_conformance_expectations.py:50: self.Fail('conformance2/context/methods-2.html', bug=616554) On 2016/10/11 22:31:16, Ken Russell wrote: > ...
4 years, 2 months ago (2016-10-11 22:42:35 UTC) #63
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2379203002/diff/260001/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py File content/test/gpu/gpu_tests/webgl2_conformance_expectations.py (right): https://codereview.chromium.org/2379203002/diff/260001/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py#newcode50 content/test/gpu/gpu_tests/webgl2_conformance_expectations.py:50: self.Fail('conformance2/context/methods-2.html', bug=616554) On 2016/10/11 22:42:34, Kai Ninomiya wrote: > ...
4 years, 2 months ago (2016-10-12 00:10:51 UTC) #64
yhirano
https://codereview.chromium.org/2379203002/diff/200001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/2379203002/diff/200001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode441 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:441: self->resolver->resolve(self->dstData); On 2016/10/07 23:00:43, adamk wrote: > My knowledge ...
4 years, 2 months ago (2016-10-12 09:32:03 UTC) #66
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/2379203002/diff/200001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/2379203002/diff/200001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode441 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:441: self->resolver->resolve(self->dstData); On 2016/10/07 23:00:43, adamk wrote: > My knowledge ...
4 years, 2 months ago (2016-10-12 10:00:39 UTC) #67
Kai Ninomiya
On 2016/10/12 10:00:39, tyoshino wrote: > https://codereview.chromium.org/2379203002/diff/200001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > (right): > > https://codereview.chromium.org/2379203002/diff/200001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode441 ...
4 years, 2 months ago (2016-10-12 18:43:33 UTC) #68
Zhenyao Mo
patchset 15 -> patchset 17 change lgtm
4 years, 2 months ago (2016-10-12 23:19:36 UTC) #69
yhirano
On 2016/10/12 18:43:33, Kai Ninomiya wrote: > On 2016/10/12 10:00:39, tyoshino wrote: > > > ...
4 years, 2 months ago (2016-10-14 01:34:37 UTC) #73
esprehn
please fix the naming before landing. My bad for not publishing my comments before! https://codereview.chromium.org/2379203002/diff/280001/gpu/command_buffer/common/gles2_cmd_format_autogen.h ...
4 years, 2 months ago (2016-10-18 01:44:17 UTC) #76
esprehn
Let's use HashSet or ListHashSet. Please fix the naming and style comments before landing. Lgtm
4 years, 2 months ago (2016-10-18 01:45:23 UTC) #77
Kai Ninomiya
esprehn: Thanks! yhirano: Thank you, your comments will be extremely helpful. We will deliberate and ...
4 years, 2 months ago (2016-10-19 17:54:11 UTC) #78
Kai Ninomiya
https://codereview.chromium.org/2379203002/diff/280001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/2379203002/diff/280001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode155 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:155: class WebGLGetBufferSubDataAsyncCallback On 2016/10/18 01:44:16, esprehn wrote: > This ...
4 years, 2 months ago (2016-10-19 18:17:49 UTC) #79
Ken Russell (switch to Gerrit)
Looks great. Still LGTM.
4 years, 2 months ago (2016-10-19 18:50:32 UTC) #80
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/2379203002/420001
4 years, 2 months ago (2016-10-19 18:55:01 UTC) #83
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/319945)
4 years, 2 months ago (2016-10-19 23:00:41 UTC) #85
Ken Russell (switch to Gerrit)
On 2016/10/19 23:00:41, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 2 months ago (2016-10-19 23:09:43 UTC) #86
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/2379203002/420001
4 years, 2 months ago (2016-10-19 23:11:04 UTC) #89
Kai Ninomiya
On 2016/10/19 23:09:43, Ken Russell OOO-till-Oct-19 wrote: > On 2016/10/19 23:00:41, commit-bot: I haz the ...
4 years, 2 months ago (2016-10-19 23:13:14 UTC) #90
Ken Russell (switch to Gerrit)
On 2016/10/19 23:13:14, Kai Ninomiya wrote: > On 2016/10/19 23:09:43, Ken Russell OOO-till-Oct-19 wrote: > ...
4 years, 2 months ago (2016-10-19 23:27:09 UTC) #91
commit-bot: I haz the power
Committed patchset #22 (id:420001)
4 years, 2 months ago (2016-10-19 23:34:48 UTC) #93
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:13:16 UTC) #95
Message was sent while issue was closed.
Patchset 22 (id:??) landed as
https://crrev.com/884e8e8ad9cf667829d80f4bd222a0369baa088b
Cr-Commit-Position: refs/heads/master@{#426335}

Powered by Google App Engine
This is Rietveld 408576698