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

Issue 1752703003: Fix transform feedback bugs (Closed)

Created:
4 years, 9 months ago by qiankun
Modified:
4 years, 9 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

Fix transform feedback bugs This CL fixes two bugs: 1. Deleting an active transform feedback object will generate INVALID_OPERATION error (page 86, ES spec 3.0.4). 2. bindBufferBase bind the buffer object to both the general binding point and the binding point in the array givien by index (page 35, ES spec 3.0.4). BUG=295792, 591258 TEST=deqp/functional/gles3/lifetime.html CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/4c10b3e03cdf3028c9e66aaa4d4e9236c856cf68 Cr-Commit-Position: refs/heads/master@{#380610}

Patch Set 1 #

Total comments: 2

Patch Set 2 : set correct cached buffer in command buffer #

Total comments: 4

Patch Set 3 : do validations #

Patch Set 4 : add server side validation #

Patch Set 5 : fix gpu_unittests #

Total comments: 14

Patch Set 6 : fix error msg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -29 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 1 2 3 4 1 chunk +0 lines, -29 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_buffers.cc View 1 2 3 4 5 1 chunk +35 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (12 generated)
qiankun
PTAL. Conformance test are also updated: https://github.com/KhronosGroup/WebGL/pull/1513 and https://github.com/KhronosGroup/WebGL/pull/1514 .
4 years, 9 months ago (2016-03-01 11:20:32 UTC) #3
bajones
LGTM. Thanks for providing the spec references for easy verification.
4 years, 9 months ago (2016-03-01 19:31:12 UTC) #4
Zhenyao Mo
Qiankun, I think you need to dig a bit further to find the right fix. ...
4 years, 9 months ago (2016-03-01 22:33:01 UTC) #5
qiankun
https://codereview.chromium.org/1752703003/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1752703003/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode2233 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:2233: webContext()->bindBuffer(target, objectOrZero(buffer)); On 2016/03/01 22:33:01, Zhenyao Mo wrote: > ...
4 years, 9 months ago (2016-03-01 23:52:07 UTC) #6
Zhenyao Mo
On 2016/03/01 23:52:07, qiankun wrote: > https://codereview.chromium.org/1752703003/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > (right): > > https://codereview.chromium.org/1752703003/diff/1/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode2233 ...
4 years, 9 months ago (2016-03-01 23:57:42 UTC) #7
qiankun
On 2016/03/01 23:57:42, Zhenyao Mo wrote: > On 2016/03/01 23:52:07, qiankun wrote: > > > ...
4 years, 9 months ago (2016-03-02 01:30:22 UTC) #8
Zhenyao Mo
Thank you. This is the right fix. Some extra validations are needed. https://codereview.chromium.org/1752703003/diff/20001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc ...
4 years, 9 months ago (2016-03-02 17:09:36 UTC) #10
qiankun
https://codereview.chromium.org/1752703003/diff/20001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/1752703003/diff/20001/gpu/command_buffer/client/gles2_implementation.cc#newcode3823 gpu/command_buffer/client/gles2_implementation.cc:3823: switch (target) { On 2016/03/02 17:09:36, Zhenyao Mo wrote: ...
4 years, 9 months ago (2016-03-03 10:14:15 UTC) #11
Zhenyao Mo
On 2016/03/03 10:14:15, qiankun wrote: > https://codereview.chromium.org/1752703003/diff/20001/gpu/command_buffer/client/gles2_implementation.cc > File gpu/command_buffer/client/gles2_implementation.cc (right): > > https://codereview.chromium.org/1752703003/diff/20001/gpu/command_buffer/client/gles2_implementation.cc#newcode3823 > ...
4 years, 9 months ago (2016-03-07 02:43:39 UTC) #12
qiankun
On 2016/03/07 02:43:39, Zhenyao Mo wrote: > On 2016/03/03 10:14:15, qiankun wrote: > > > ...
4 years, 9 months ago (2016-03-07 02:51:34 UTC) #13
Zhenyao Mo
On 2016/03/07 02:51:34, qiankun wrote: > On 2016/03/07 02:43:39, Zhenyao Mo wrote: > > On ...
4 years, 9 months ago (2016-03-07 17:32:07 UTC) #14
qiankun
On 2016/03/07 17:32:07, Zhenyao Mo wrote: > On 2016/03/07 02:51:34, qiankun wrote: > > On ...
4 years, 9 months ago (2016-03-09 14:35:40 UTC) #16
Zhenyao Mo
Sorry I didn't catch the wrong GL error in previous pass. https://codereview.chromium.org/1752703003/diff/80001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): ...
4 years, 9 months ago (2016-03-09 17:12:42 UTC) #17
qiankun
Thanks zhenyou! I updated the CL to fix your comments. https://codereview.chromium.org/1752703003/diff/80001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/1752703003/diff/80001/gpu/command_buffer/client/gles2_implementation.cc#newcode3828 ...
4 years, 9 months ago (2016-03-10 01:05:30 UTC) #18
Ken Russell (switch to Gerrit)
WebGL2RenderingContextBase.cpp lgtm. zmo@ should re-review the command buffer code.
4 years, 9 months ago (2016-03-10 01:36:37 UTC) #19
Zhenyao Mo
lgtm
4 years, 9 months ago (2016-03-10 22:00:29 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1752703003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1752703003/100001
4 years, 9 months ago (2016-03-11 01:11:25 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/138268)
4 years, 9 months ago (2016-03-11 01:50:37 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1752703003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1752703003/100001
4 years, 9 months ago (2016-03-11 02:18:17 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/179997)
4 years, 9 months ago (2016-03-11 02:50:05 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1752703003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1752703003/100001
4 years, 9 months ago (2016-03-11 12:28:31 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-11 12:33:42 UTC) #33
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 12:34:47 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4c10b3e03cdf3028c9e66aaa4d4e9236c856cf68
Cr-Commit-Position: refs/heads/master@{#380610}

Powered by Google App Engine
This is Rietveld 408576698