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

Issue 1986383002: SkCanvas::adjustToTopLayer() (Closed)

Created:
4 years, 7 months ago by tomhudson
Modified:
4 years, 7 months ago
Reviewers:
reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkCanvas::adjustToTopLayer() Given a matrix and a clip bounds, offsets them to reflect the difference between device coordinates and global coordinates. Useful when a client wants an OS-specific backing for a canvas. R=reed@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1986383002 Committed: https://skia.googlesource.com/skia/+/cb3bd18a4b787f6281930dbe49e1c430f28a367c

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Mike's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -0 lines) Patch
M include/core/SkCanvas.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M tests/CanvasTest.cpp View 1 2 2 chunks +40 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (9 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/1986383002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1986383002/1
4 years, 7 months ago (2016-05-17 20:11:30 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, no build URL)
4 years, 7 months ago (2016-05-17 20:16:18 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1986383002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1986383002/20001
4 years, 7 months ago (2016-05-17 20:26:37 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-17 21:12:41 UTC) #9
tomhudson
Mike, I think this is what you'd tried writing with the ScopedPlatformPaint / setMatrixClip() bug...
4 years, 7 months ago (2016-05-17 21:16:14 UTC) #10
reed1
https://codereview.chromium.org/1986383002/diff/20001/include/core/SkCanvas.h File include/core/SkCanvas.h (right): https://codereview.chromium.org/1986383002/diff/20001/include/core/SkCanvas.h#newcode1245 include/core/SkCanvas.h:1245: void adjustToTopLayer(SkMatrix* matrix, SkIRect* clip_bounds); 1. temporary_private_adjustToTopLayer(...) 2. perhaps ...
4 years, 7 months ago (2016-05-17 23:19:10 UTC) #11
tomhudson
On 2016/05/17 23:19:10, reed1 wrote: > https://codereview.chromium.org/1986383002/diff/20001/include/core/SkCanvas.h > File include/core/SkCanvas.h (right): > > https://codereview.chromium.org/1986383002/diff/20001/include/core/SkCanvas.h#newcode1245 > ...
4 years, 7 months ago (2016-05-18 13:16:21 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1986383002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1986383002/40001
4 years, 7 months ago (2016-05-18 13:16:31 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-18 13:37:33 UTC) #16
reed1
lgtm
4 years, 7 months ago (2016-05-18 13:56:57 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1986383002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1986383002/40001
4 years, 7 months ago (2016-05-18 14:23:20 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 14:24:19 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/cb3bd18a4b787f6281930dbe49e1c430f28a367c

Powered by Google App Engine
This is Rietveld 408576698