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

Issue 170423002: Saving an extra backing store if the contents fill the entire border rect.

Created:
6 years, 10 months ago by patro
Modified:
4 years, 9 months ago
CC:
blink-reviews, bemjb+rendering_chromium.org, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., shyamp_
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Saving an extra backing store if the contents fill the entire border rect. Added an extra condition in CompositedLayerMapping::containsPaintedContent to check if the contents of the layer fill the entire border rect then return true so that the background colour can be painted into the same layer instead of allocating a backing store and painting in it. BUG=

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M Source/core/rendering/CompositedLayerMapping.cpp View 1 chunk +7 lines, -2 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
patro
Please Review Thanks, Shyam
6 years, 10 months ago (2014-02-18 12:18:35 UTC) #1
vivekg
Not sure about the actual logic but a small code nit. https://codereview.chromium.org/170423002/diff/1/Source/core/rendering/CompositedLayerMapping.cpp File Source/core/rendering/CompositedLayerMapping.cpp (right): ...
6 years, 10 months ago (2014-02-18 12:30:39 UTC) #2
abarth-chromium
Can you share some data about the magnitude of the benefit of this optimization. I'm ...
6 years, 10 months ago (2014-02-18 17:46:06 UTC) #3
patro
Hi, Can you please tell me what kind of data are you looking for. Thanks ...
6 years, 10 months ago (2014-02-24 12:56:38 UTC) #4
Ian Vollick
On 2014/02/24 12:56:38, shyamp wrote: > Hi, > Can you please tell me what kind ...
6 years, 9 months ago (2014-03-01 02:04:01 UTC) #5
abarth-chromium
6 years, 9 months ago (2014-03-01 07:03:12 UTC) #6
not lgtm without data show that this change is a performance improvement.

This code is already quite complicated.  We should strive to make it simpler
rather than more complicated.  If there's a big performance win here, then it
might be worth making the code more complicated.

Powered by Google App Engine
This is Rietveld 408576698