Chromium Code Reviews
DescriptionAdd a path to use CALayers to display content
Add the flag --use-core-animation to enable this path.
Make the RenderWidgetHostViewCocoa layer-backed, and add a
default white layer.
Add a CALayer, softwareLayer_ to draw into when the accelerated
path is disabled. Update the software draw methods to use the CG
calls (this changes the non-CA path as well, but should be equivalent
to previous behavior).
If accelerated compositing is enabled, then add CAOpenGLLayer to
draw accelerated frames (frames using IOSurfaces). If we receive a
software frame, then delete this layer (and the software layer will
appear below it).
This still has a number of issues to resolve before enabling, including
- corrupted bookmark bars
- increased CPU usage (3.5%->5% without compositing, 7%->10% with)
- increased startup time
BUG=245900
NOTRY=True
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204841
Patch Set 1 #Patch Set 2 : Fix scale factor issues #Patch Set 3 : Touch-ups #Patch Set 4 : Add missing files #Patch Set 5 : Add switch and software support #Patch Set 6 : Remove unused method #
Total comments: 13
Patch Set 7 : Incorporate review feedback #
Total comments: 15
Patch Set 8 : Incorporate review feedback #Patch Set 9 : Resolve against https://codereview.chromium.org/16140023/ #Patch Set 10 : Resolve again #Patch Set 11 : Resolve again #Messages
Total messages: 25 (0 generated)
|