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

Issue 1067893002: SkCanvas::resetForNextPicture() (Closed)

Created:
5 years, 8 months ago by mtklein_C
Modified:
5 years, 8 months ago
Reviewers:
mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkCanvas::resetForNextPicture() No diffs against head for DM --config 8888 gpu 2ndpic-8888 2ndpic-gpu. picture_overhead_draw 1.62us -> 1.6us 0.99x picture_overhead_nodraw 792ns -> 342ns 0.43x tiles and serialization modes will also test this a bit. BUG=chromium:470553 Committed: https://skia.googlesource.com/skia/+/f920e468ac66a36c9653d1b11181480295044c7d Committed: https://skia.googlesource.com/skia/+/feaadee1c38e1d4e1ec0069a3509ef6fbc5fbeff

Patch Set 1 #

Patch Set 2 : base device #

Patch Set 3 : make sure missing restores end up on the right SkRecord #

Total comments: 2

Patch Set 4 : this-> #

Patch Set 5 : Return null when we're not recording. Should fix printing failures. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -5 lines) Patch
M include/core/SkBitmapDevice.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkCanvas.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkPictureRecorder.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkBitmapDevice.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 3 chunks +28 lines, -0 lines 0 comments Download
M src/core/SkPictureRecorder.cpp View 1 2 3 4 5 chunks +11 lines, -5 lines 0 comments Download
M src/core/SkRecorder.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkRecorder.cpp View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M tests/PictureTest.cpp View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1067893002/20001
5 years, 8 months ago (2015-04-07 18:28:17 UTC) #2
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/191)
5 years, 8 months ago (2015-04-07 18:36:08 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1067893002/40001
5 years, 8 months ago (2015-04-07 20:47:26 UTC) #6
commit-bot: I haz the power
This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-07 20:57:26 UTC) #8
reed1
lgtm w/ style-nit https://codereview.chromium.org/1067893002/diff/40001/src/core/SkRecorder.cpp File src/core/SkRecorder.cpp (right): https://codereview.chromium.org/1067893002/diff/40001/src/core/SkRecorder.cpp#newcode45 src/core/SkRecorder.cpp:45: SkCanvas::resetForNextPicture(bounds.roundOut()); this->resetForNextPicture() or this->INHERITED::resetForNextPicture() the current ...
5 years, 8 months ago (2015-04-07 21:02:13 UTC) #10
mtklein
https://codereview.chromium.org/1067893002/diff/40001/src/core/SkRecorder.cpp File src/core/SkRecorder.cpp (right): https://codereview.chromium.org/1067893002/diff/40001/src/core/SkRecorder.cpp#newcode45 src/core/SkRecorder.cpp:45: SkCanvas::resetForNextPicture(bounds.roundOut()); On 2015/04/07 21:02:13, reed1 wrote: > this->resetForNextPicture() > ...
5 years, 8 months ago (2015-04-07 21:04:42 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1067893002/60001
5 years, 8 months ago (2015-04-07 21:05:00 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1067893002/60001
5 years, 8 months ago (2015-04-07 21:06:16 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/f920e468ac66a36c9653d1b11181480295044c7d
5 years, 8 months ago (2015-04-07 21:11:26 UTC) #19
mtklein
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1062353002/ by mtklein@google.com. ...
5 years, 8 months ago (2015-04-07 22:26:52 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1067893002/80001
5 years, 8 months ago (2015-04-08 18:05:34 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1067893002/80001
5 years, 8 months ago (2015-04-08 18:08:23 UTC) #26
commit-bot: I haz the power
5 years, 8 months ago (2015-04-08 18:25:52 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/feaadee1c38e1d4e1ec0069a3509ef6fbc5fbeff

Powered by Google App Engine
This is Rietveld 408576698