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

Issue 2539113002: [wrapper-tracing] Fix WebGL extension and attachment handling (Closed)

Created:
4 years ago by Michael Lippautz
Modified:
4 years ago
CC:
Marcel Hlopko, blink-reviews, chromium-reviews, haraken, Ken Russell (switch to Gerrit)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[wrapper-tracing] Fix WebGL extension and attachment handling Fixes a wrapper tracing issue where ExtensionTracker and WebGLAttachment were not handled properly. Has no affect on regular Oilpan garbage collection. With wrapper tracing enabled this could've resulting in wrappers for typed extensions and attachments being prematurely collected. The issue was flushed out when we were able to generate compile-time errors instead of having a catch-all dispatcher at runtime in http://crrev.com/2533383003. BUG=chromium:468240 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 Committed: https://crrev.com/fb0beca59e6cc67a6f5b599476c8a3b27ce0418b Committed: https://crrev.com/3b2400e88f4e7ef5cf0ff0e271a76da5c9d32a0f Cr-Original-Commit-Position: refs/heads/master@{#435262} Cr-Commit-Position: refs/heads/master@{#436263}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix wrapper tracing methods #

Total comments: 8

Patch Set 3 : Removed unused ctors #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -11 lines) Patch
M third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp View 1 2 3 7 chunks +12 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 1 2 3 2 chunks +10 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 39 (21 generated)
Michael Lippautz
After wrapping my head around how to remove our catch-all handler and make tracing a ...
4 years ago (2016-11-30 12:33:58 UTC) #7
Marcel Hlopko
lgtm
4 years ago (2016-11-30 12:36:40 UTC) #9
haraken
LGTM https://codereview.chromium.org/2539113002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp File third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp (right): https://codereview.chromium.org/2539113002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp#newcode62 third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp:62: TraceWrapperMember<WebGLRenderbuffer> m_renderbuffer; How did you notice that these ...
4 years ago (2016-11-30 14:30:35 UTC) #14
Michael Lippautz
kbr: If something is unclear let's chat next week. I will be on vacation till ...
4 years ago (2016-11-30 15:09:06 UTC) #15
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/2539113002/1
4 years ago (2016-11-30 15:10:06 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-30 15:14:15 UTC) #19
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/fb0beca59e6cc67a6f5b599476c8a3b27ce0418b Cr-Commit-Position: refs/heads/master@{#435262}
4 years ago (2016-11-30 15:17:04 UTC) #21
iclelland
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2537223007/ by iclelland@chromium.org. ...
4 years ago (2016-11-30 20:26:18 UTC) #22
Michael Lippautz
On 2016/11/30 20:26:18, iclelland wrote: > A revert of this CL (patchset #1 id:1) has ...
4 years ago (2016-11-30 20:35:24 UTC) #23
Michael Lippautz
I cannot see how this change without wrapper tracing being enabled could cause any failures ...
4 years ago (2016-11-30 21:07:38 UTC) #25
haraken
LGTM https://codereview.chromium.org/2539113002/diff/20001/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp File third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp (right): https://codereview.chromium.org/2539113002/diff/20001/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp#newcode49 third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp:49: WebGLRenderbufferAttachment() : m_renderbuffer(this, nullptr) {} On 2016/11/30 21:07:37, ...
4 years ago (2016-12-01 01:44:14 UTC) #27
Ken Russell (switch to Gerrit)
Thanks for moving this forward and sorry about the earlier revert. I think we're plagued ...
4 years ago (2016-12-02 02:12:26 UTC) #28
Michael Lippautz
On 2016/12/02 02:12:26, Ken Russell wrote: > Thanks for moving this forward and sorry about ...
4 years ago (2016-12-05 10:09:50 UTC) #29
Michael Lippautz
Comments addressed by rebasing on master :) On 2016/12/01 01:44:14, haraken wrote: > LGTM > ...
4 years ago (2016-12-05 10:10:15 UTC) #30
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/2539113002/60001
4 years ago (2016-12-05 10:10:48 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-05 11:39:15 UTC) #36
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/3b2400e88f4e7ef5cf0ff0e271a76da5c9d32a0f Cr-Commit-Position: refs/heads/master@{#436263}
4 years ago (2016-12-05 11:40:30 UTC) #38
Ken Russell (switch to Gerrit)
4 years ago (2016-12-05 23:35:02 UTC) #39
Message was sent while issue was closed.
Hooray! Excited to see this moving forward!

Powered by Google App Engine
This is Rietveld 408576698