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

Issue 253443003: Add snapshot entry point to SkPictureRecorder (Closed)

Created:
6 years, 8 months ago by robertphillips
Modified:
6 years, 7 months ago
Reviewers:
mtklein, scroggo, djsollen, reed1
CC:
skia-review_googlegroups.com, Ben Murdoch
Visibility:
Public.

Description

Add snapshot entry point to SkPictureRecorder Unfortunately it appears that the Android public API requires this capability. That said, it doesn't seem like an unreasonable thing to support.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -0 lines) Patch
M include/core/SkPictureRecorder.h View 1 chunk +12 lines, -0 lines 3 comments Download
M tests/PictureTest.cpp View 2 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
robertphillips
6 years, 8 months ago (2014-04-24 12:38:38 UTC) #1
reed1
Can you document *what* exactly is the android behavior? Is it at the Java level?
6 years, 8 months ago (2014-04-24 13:28:51 UTC) #2
robertphillips
There are two points in Android's java layer where the old Picture's make-an-in-progress-copy functionality is/was ...
6 years, 8 months ago (2014-04-25 13:48:29 UTC) #3
scroggo
https://codereview.chromium.org/253443003/diff/1/include/core/SkPictureRecorder.h File include/core/SkPictureRecorder.h (right): https://codereview.chromium.org/253443003/diff/1/include/core/SkPictureRecorder.h#newcode91 include/core/SkPictureRecorder.h:91: return SkNEW_ARGS(SkPicture, (*fPicture)); I haven't followed along with all ...
6 years, 8 months ago (2014-04-25 14:16:51 UTC) #4
robertphillips
https://codereview.chromium.org/253443003/diff/1/include/core/SkPictureRecorder.h File include/core/SkPictureRecorder.h (right): https://codereview.chromium.org/253443003/diff/1/include/core/SkPictureRecorder.h#newcode91 include/core/SkPictureRecorder.h:91: return SkNEW_ARGS(SkPicture, (*fPicture)); Currently - yes. I believe the ...
6 years, 8 months ago (2014-04-25 14:55:28 UTC) #5
scroggo
https://codereview.chromium.org/253443003/diff/1/include/core/SkPictureRecorder.h File include/core/SkPictureRecorder.h (right): https://codereview.chromium.org/253443003/diff/1/include/core/SkPictureRecorder.h#newcode91 include/core/SkPictureRecorder.h:91: return SkNEW_ARGS(SkPicture, (*fPicture)); On 2014/04/25 14:55:28, robertphillips wrote: > ...
6 years, 8 months ago (2014-04-25 15:00:44 UTC) #6
robertphillips
Another way around this is to add a specialized picture playback. We could then do: ...
6 years, 8 months ago (2014-04-25 15:47:05 UTC) #7
scroggo
On 2014/04/25 15:47:05, robertphillips wrote: > Another way around this is to add a specialized ...
6 years, 8 months ago (2014-04-25 17:50:28 UTC) #8
tomhudson
> There are two points in Android's java layer where the old Picture's make-an-in-progress-copy functionality ...
6 years, 7 months ago (2014-04-28 11:07:41 UTC) #9
benm (inactive)
On 2014/04/28 11:07:41, tomhudson wrote: > > There are two points in Android's java layer ...
6 years, 7 months ago (2014-04-28 11:55:04 UTC) #10
robertphillips
6 years, 7 months ago (2014-04-28 17:29:39 UTC) #11
This CL is being abandoned in favor of (add replay entry point to
SkPictureRecorder for Android - https://codereview.chromium.org/252873005/)

Powered by Google App Engine
This is Rietveld 408576698