WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
66435
[chromium] Remove LayerRendererChromium references from Canvas2DLayerChromium
https://bugs.webkit.org/show_bug.cgi?id=66435
Summary
[chromium] Remove LayerRendererChromium references from Canvas2DLayerChromium
Adrienne Walker
Reported
2011-08-17 17:08:26 PDT
LayerRendererChromium is a compositor thread-side class, so Canvas(2D)LayerChromium should not have access to it, except during updateCompositorResources. The DrawingBuffer creation and destruction and its interaction with the LRC are probably the largest problems here. The removal and addition of child contexts will have to be deferred until the next commit and stored somewhere (CCLayerTreeHost?).
Attachments
Add attachment
proposed patch, testcase, etc.
Adrienne Walker
Comment 1
2011-08-17 17:14:19 PDT
Also, maybe setDrawingBuffer could be removed, as it doesn't seem to be used anywhere except to clear the drawing buffer in some other class's destructor.
James Robinson
Comment 2
2011-08-18 11:07:42 PDT
I don't think we actually need the child context stuff any more, that was for some latching code that's redundant now. I'll confirm that with Bates.
James Robinson
Comment 3
2011-08-23 17:46:22 PDT
I think we're good here now, DrawingBuffer only touches the canvas context (not the compositor context) and there's no child context stuff any more. Marking as fixed.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug