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

Issue 2773843002: Fix state management of transform feedback buffers. (Closed)

Created:
3 years, 9 months ago by Ken Russell (switch to Gerrit)
Modified:
3 years, 8 months ago
CC:
chromium-reviews, haraken, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix state management of transform feedback buffers. New test being added in https://github.com/KhronosGroup/WebGL/pull/2345 . WebGLTransformFeedback was incorrectly implemented as WebGLSharedObject. Fixed by changing to WebGLContextObject. BUG=696345 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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 Review-Url: https://codereview.chromium.org/2773843002 Cr-Commit-Position: refs/heads/master@{#466766} Committed: https://chromium.googlesource.com/chromium/src/+/772c234787651b285f4bee7d5a714fadcf7c0bd4

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed review feedback from kainino. #

Patch Set 3 : Rebased after Blink renaming. #

Patch Set 4 : Implemented proper attach/detach/unbind for WebGLTransformFeedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -66 lines) Patch
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 2 3 16 chunks +47 lines, -44 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLSharedObject.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.h View 1 2 3 1 chunk +41 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp View 1 2 3 2 chunks +130 lines, -10 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
Ken Russell (switch to Gerrit)
zmo, kainino: please review. Thanks. Tested with the new test in https://github.com/KhronosGroup/WebGL/pull/2345 .
3 years, 9 months ago (2017-03-23 22:09:53 UTC) #3
Kai Ninomiya
LGTM, one nit https://codereview.chromium.org/2773843002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp File third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp (right): https://codereview.chromium.org/2773843002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp#newcode49 third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp:49: default: "default:" seems unclear to me. ...
3 years, 9 months ago (2017-03-23 23:26:34 UTC) #4
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2773843002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp File third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp (right): https://codereview.chromium.org/2773843002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp#newcode49 third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp:49: default: On 2017/03/23 23:26:34, Kai Ninomiya wrote: > "default:" ...
3 years, 9 months ago (2017-03-23 23:31:32 UTC) #5
Zhenyao Mo
On 2017/03/23 23:31:32, Ken Russell wrote: > https://codereview.chromium.org/2773843002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp > File third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp (right): > > https://codereview.chromium.org/2773843002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLTransformFeedback.cpp#newcode49 ...
3 years, 9 months ago (2017-03-23 23:54:19 UTC) #6
Ken Russell (switch to Gerrit)
On 2017/03/23 23:54:19, Zhenyao Mo wrote: > On 2017/03/23 23:31:32, Ken Russell wrote: > > ...
3 years, 9 months ago (2017-03-24 05:02:37 UTC) #7
Ken Russell (switch to Gerrit)
On 2017/03/24 05:02:37, Ken Russell wrote: > On 2017/03/23 23:54:19, Zhenyao Mo wrote: > > ...
3 years, 9 months ago (2017-03-24 18:12:24 UTC) #8
Ken Russell (switch to Gerrit)
On 2017/03/24 18:12:24, Ken Russell wrote: > On 2017/03/24 05:02:37, Ken Russell wrote: > > ...
3 years, 8 months ago (2017-04-21 17:00:38 UTC) #9
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/2773843002/40001
3 years, 8 months ago (2017-04-21 17:01:25 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_optional_gpu_tests_rel on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_optional_gpu_tests_rel/builds/8062)
3 years, 8 months ago (2017-04-21 17:35:08 UTC) #14
Ken Russell (switch to Gerrit)
The current patch set implements a good set of improved behavior. CQ'ing it.
3 years, 8 months ago (2017-04-24 19:34:31 UTC) #20
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/2773843002/60001
3 years, 8 months ago (2017-04-24 19:35:34 UTC) #23
commit-bot: I haz the power
3 years, 8 months ago (2017-04-24 21:14:00 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/772c234787651b285f4bee7d5a71...

Powered by Google App Engine
This is Rietveld 408576698