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

Issue 136583009: Suppress some no-op GraphicsContext calls (Closed)

Created:
6 years, 11 months ago by f(malita)
Modified:
6 years, 11 months ago
CC:
blink-reviews, jamesr, krit, dsinclair, jbroman, danakj, Rik, pdr., rwlbuis
Visibility:
Public.

Description

Suppress some no-op GraphicsContext calls The CL avoids commiting deferred canvas saves for a few easy to catch no-op GC calls. This reduces the number of SkPicture draw ops by ~3%, and shows minor (<1%) rasterization time gains. R=schenney@chromium.org,senorblanco@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165353

Patch Set 1 #

Total comments: 1

Patch Set 2 : Updated per comments. #

Patch Set 3 : Drop drawDisplayList() bounds check. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
Source/platform/graphics/GraphicsContext.cpp View 1 2 3 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
f(malita)
6 years, 11 months ago (2014-01-17 21:43:33 UTC) #1
Stephen Chennney
LGTM with one nit. https://codereview.chromium.org/136583009/diff/1/Source/platform/graphics/GraphicsContext.cpp File Source/platform/graphics/GraphicsContext.cpp (right): https://codereview.chromium.org/136583009/diff/1/Source/platform/graphics/GraphicsContext.cpp#newcode1606 Source/platform/graphics/GraphicsContext.cpp:1606: if (size.width() == 1 && ...
6 years, 11 months ago (2014-01-17 21:53:20 UTC) #2
Stephen White
On 2014/01/17 21:53:20, Stephen Chenney wrote: > LGTM with one nit. > > https://codereview.chromium.org/136583009/diff/1/Source/platform/graphics/GraphicsContext.cpp > ...
6 years, 11 months ago (2014-01-17 21:55:56 UTC) #3
f(malita)
On 2014/01/17 21:55:56, Stephen White wrote: > On 2014/01/17 21:53:20, Stephen Chenney wrote: > > ...
6 years, 11 months ago (2014-01-17 22:01:50 UTC) #4
Stephen Chennney
On 2014/01/17 21:55:56, Stephen White wrote: > On 2014/01/17 21:53:20, Stephen Chenney wrote: > > ...
6 years, 11 months ago (2014-01-17 22:01:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fmalita@chromium.org/136583009/2
6 years, 11 months ago (2014-01-17 22:03:33 UTC) #6
f(malita)
On 2014/01/17 22:03:33, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 11 months ago (2014-01-17 22:47:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fmalita@chromium.org/136583009/200001
6 years, 11 months ago (2014-01-17 22:49:54 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-18 01:03:12 UTC) #9
Message was sent while issue was closed.
Change committed as 165353

Powered by Google App Engine
This is Rietveld 408576698