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

Issue 1087633002: [SP] Allocate an SkPictureRecorder only once per GraphicsContext instantiation (Closed)

Created:
5 years, 8 months ago by chrishtr
Modified:
5 years, 8 months ago
Reviewers:
pdr., f(malita), mtklein_C
CC:
blink-reviews, Rik, danakj, Dominik Röttsches, dshwang, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[SP] Allocate an SkPictureRecorder only once per GraphicsContext instantiation This should be a lot faster than before, since Skia optimizes for quickly allocating new SkCanvases within the same recorder. BUG=470553 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193985

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

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

Messages

Total messages: 35 (14 generated)
chrishtr
5 years, 8 months ago (2015-04-13 21:20:13 UTC) #2
f(malita)
https://codereview.chromium.org/1087633002/diff/1/Source/platform/graphics/GraphicsContext.h File Source/platform/graphics/GraphicsContext.h (right): https://codereview.chromium.org/1087633002/diff/1/Source/platform/graphics/GraphicsContext.h#newcode446 Source/platform/graphics/GraphicsContext.h:446: OwnPtr<SkPictureRecorder> m_pictureRecorder; This has the same lifetime as GC ...
5 years, 8 months ago (2015-04-13 21:39:46 UTC) #4
chrishtr
https://codereview.chromium.org/1087633002/diff/1/Source/platform/graphics/GraphicsContext.h File Source/platform/graphics/GraphicsContext.h (right): https://codereview.chromium.org/1087633002/diff/1/Source/platform/graphics/GraphicsContext.h#newcode446 Source/platform/graphics/GraphicsContext.h:446: OwnPtr<SkPictureRecorder> m_pictureRecorder; On 2015/04/13 at 21:39:45, f(malita) wrote: > ...
5 years, 8 months ago (2015-04-13 21:48:34 UTC) #5
f(malita)
LGTM. We should be able to get rid of the recording stack too, but it ...
5 years, 8 months ago (2015-04-13 21:52:31 UTC) #6
chrishtr
On 2015/04/13 at 21:52:31, fmalita wrote: > LGTM. > > We should be able to ...
5 years, 8 months ago (2015-04-13 21:57:00 UTC) #7
chrishtr
5 years, 8 months ago (2015-04-13 21:57:06 UTC) #8
mtklein_C
lgtm
5 years, 8 months ago (2015-04-13 21:58:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1087633002/20001
5 years, 8 months ago (2015-04-13 22:02:14 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/59024)
5 years, 8 months ago (2015-04-14 00:06:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1087633002/40001
5 years, 8 months ago (2015-04-14 04:21:25 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_compile_dbg/builds/42446)
5 years, 8 months ago (2015-04-14 04:41:45 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1087633002/60001
5 years, 8 months ago (2015-04-14 16:29:25 UTC) #21
chrishtr
I changed the code a little bit to account for cases where the GraphicsContext is ...
5 years, 8 months ago (2015-04-14 16:29:36 UTC) #22
chrishtr
The failing tests are due to SVG filters using nested recordings within one GraphicsContext, which ...
5 years, 8 months ago (2015-04-14 21:42:10 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/57436)
5 years, 8 months ago (2015-04-14 23:17:33 UTC) #26
pdr.
On 2015/04/14 at 23:17:33, commit-bot wrote: > Try jobs failed on following builders: > linux_blink_rel ...
5 years, 8 months ago (2015-04-17 00:14:13 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1087633002/60001
5 years, 8 months ago (2015-04-17 05:45:54 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/59604)
5 years, 8 months ago (2015-04-17 09:08:27 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1087633002/60001
5 years, 8 months ago (2015-04-18 14:32:12 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://src.chromium.org/viewvc/blink?view=rev&revision=193985
5 years, 8 months ago (2015-04-18 17:08:28 UTC) #34
pdr.
5 years, 8 months ago (2015-04-18 22:23:58 UTC) #35
Message was sent while issue was closed.
On 2015/04/18 at 17:08:28, commit-bot wrote:
> Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193985

Woohoo!

Powered by Google App Engine
This is Rietveld 408576698