Searched refs:SkPicture (Results 1 - 25 of 141) sorted by relevance

123456

/external/skia/include/core/
H A DSkMultiPictureDraw.h16 class SkPicture;
42 const SkPicture* picture,
61 const SkPicture* fPicture; // reffed
65 void init(SkCanvas*, const SkPicture*, const SkMatrix*, const SkPaint*);
H A DSkDrawable.h16 class SkPicture;
38 SkPicture* newPictureSnapshot();
76 virtual SkPicture* onNewPictureSnapshot();
H A DSkPictureAnalyzer.h20 class SkPicture;
29 explicit SkPictureGpuAnalyzer(const sk_sp<SkPicture>& picture,
35 void analyzePicture(const SkPicture*);
H A DSkPicture.h33 /** \class SkPicture
35 An SkPicture records drawing commands made to a canvas to be played back at a later time.
38 class SK_API SkPicture : public SkRefCnt { class in inherits:SkRefCnt
40 virtual ~SkPicture();
61 static sk_sp<SkPicture> MakeFromStream(SkStream*, SkImageDeserializer*);
62 static sk_sp<SkPicture> MakeFromStream(SkStream*);
63 static sk_sp<SkPicture> MakeFromData(const void* data, size_t size,
65 static sk_sp<SkPicture> MakeFromData(const SkData* data, SkImageDeserializer* = nullptr);
70 * SkReadBuffer::setBitmapDecoder() before calling SkPicture::CreateFromBuffer().
72 * @return A new SkPicture representin
[all...]
/external/skia/src/core/
H A DSkPicture.cpp12 #include "SkPicture.h"
25 DECLARE_SKMESSAGEBUS_MESSAGE(SkPicture::DeletionMessage);
27 /* SkPicture impl. This handles generic responsibilities like unique IDs and serialization. */
29 SkPicture::SkPicture() : fUniqueID(0) {} function in class:SkPicture
31 SkPicture::~SkPicture() {
37 SkPicture::DeletionMessage msg = { (int32_t)id };
38 SkMessageBus<SkPicture::DeletionMessage>::Post(msg);
42 uint32_t SkPicture
[all...]
H A DSkDeduper.h14 class SkPicture;
24 virtual int findOrDefinePicture(SkPicture*) = 0;
34 virtual SkPicture* getPicture(int) = 0;
H A DSkRecordDraw.h30 void SkRecordDraw(const SkRecord&, SkCanvas*, SkPicture const* const drawablePicts[],
32 const SkBBoxHierarchy*, SkPicture::AbortCallback*);
40 SkPicture const* const drawablePicts[], int drawableCount,
48 explicit Draw(SkCanvas* canvas, SkPicture const* const drawablePicts[],
66 SkPicture const* const* drawablePicts() const { return fDrawablePicts; }
75 SkPicture const* const* fDrawablePicts;
H A DSkBigPicture.h12 #include "SkPicture.h"
20 // An implementation of SkPicture supporting an arbitrary number of drawing commands.
21 class SkBigPicture final : public SkPicture {
23 // An array of refcounted const SkPicture pointers.
26 SnapshotArray(const SkPicture* pics[], int count) : fPics(pics), fCount(count) {}
29 const SkPicture* const* begin() const { return fPics; }
32 SkAutoTMalloc<const SkPicture*> fPics;
43 // SkPicture overrides
73 SkPicture const* const* drawablePicts() const;
H A DSkPictureImageGenerator.h15 static std::unique_ptr<SkImageGenerator> Make(const SkISize&, sk_sp<SkPicture>, const SkMatrix*,
29 SkPictureImageGenerator(const SkImageInfo& info, sk_sp<SkPicture>, const SkMatrix*,
32 sk_sp<SkPicture> fPicture;
H A DSkPictureShader.h15 class SkPicture;
18 * An SkPictureShader can be used to draw SkPicture-based patterns.
20 * The SkPicture is first rendered into a tile, which is then used to shade the area according
25 static sk_sp<SkShader> Make(sk_sp<SkPicture>, TileMode, TileMode, const SkMatrix*,
43 SkPictureShader(sk_sp<SkPicture>, TileMode, TileMode, const SkMatrix*, const SkRect*);
49 sk_sp<SkPicture> fPicture;
H A DSkPictureAnalyzer.cpp9 #include "SkPicture.h"
27 SkPictureGpuAnalyzer::SkPictureGpuAnalyzer(const sk_sp<SkPicture>& picture,
33 void SkPictureGpuAnalyzer::analyzePicture(const SkPicture* picture) {
H A DSkPipe.h13 #include "SkPicture.h"
37 sk_sp<SkData> writePicture(SkPicture*);
40 void writePicture(SkPicture*, SkWStream*);
66 sk_sp<SkPicture> readPicture(const SkData* data) {
74 sk_sp<SkPicture> readPicture(const void*, size_t);
/external/skia/bench/
H A DRecordingBench.h12 #include "SkPicture.h"
17 PictureCentricBench(const char* name, const SkPicture*);
25 sk_sp<const SkPicture> fSrc;
33 RecordingBench(const char* name, const SkPicture*, bool useBBH, bool lite);
47 PipingBench(const char* name, const SkPicture*);
H A DSKPBench.h13 #include "SkPicture.h"
19 * Runs an SkPicture as a benchmark by repeatedly drawing it scaled inside a device clip.
23 SKPBench(const char* name, const SkPicture*, const SkIRect& devClip, SkScalar scale,
45 const SkPicture* picture() const { return fPic.get(); }
50 sk_sp<const SkPicture> fPic;
H A DRecordingBench.cpp14 PictureCentricBench::PictureCentricBench(const char* name, const SkPicture* pic) : fName(name) {
37 RecordingBench::RecordingBench(const char* name, const SkPicture* pic, bool useBBH, bool lite)
74 PipingBench::PipingBench(const char* name, const SkPicture* pic) : INHERITED(name, pic) {
/external/skia/src/utils/
H A DSkMultiPictureDocumentReader.h11 #include "SkPicture.h"
34 sk_sp<SkPicture> readPage(SkStreamSeekable*, int) const;
43 mutable SkTArray<sk_sp<SkPicture>> fPages;
/external/skia/include/effects/
H A DSkPictureImageFilter.h12 #include "SkPicture.h"
19 static sk_sp<SkImageFilter> Make(sk_sp<SkPicture> picture);
25 static sk_sp<SkImageFilter> Make(sk_sp<SkPicture> picture, const SkRect& cropRect);
34 static sk_sp<SkImageFilter> MakeForLocalSpace(sk_sp<SkPicture> picture,
58 explicit SkPictureImageFilter(sk_sp<SkPicture> picture);
59 SkPictureImageFilter(sk_sp<SkPicture> picture, const SkRect& cropRect,
70 sk_sp<SkPicture> fPicture;
/external/skia/tools/
H A Dgpuveto.cpp9 #include "SkPicture.h"
17 // This tool just loads a single skp, replays into a new SkPicture (to
44 sk_sp<SkPicture> picture(SkPicture::MakeFromStream(&inputStream));
47 SkDebugf("Could not read the SkPicture\n");
52 // The SkPicture tracking information is only generated during recording
58 sk_sp<SkPicture> recorded(recorder.finishRecordingAsPicture());
H A Dpinspect.cpp12 #include "SkPicture.h"
17 static sk_sp<SkPicture> inspect(const char path[]) {
36 auto pic = SkPicture::MakeFromStream(&stream);
38 SkDebugf("Could not create SkPicture: %s\n", path);
47 static void dumpOps(SkPicture* pic) {
/external/skia/samplecode/
H A DSamplePdfFileViewer.cpp20 #include "SkPicture.h"
34 SkPicture* fPicture; // TODO(edisonn): multiple pages, one page / picture, make it an array
36 static SkPicture* LoadPdf(const char path[]) {
42 SkPicture* pic = new SkPicture;
H A DGMSampleView.cpp49 #include "SkPicture.h"
50 static sk_sp<SkPicture> round_trip_serialize(SkPicture* src) {
51 return SkPicture::MakeFromData(src->serialize().get());
70 sk_sp<SkPicture> pic = recorder.finishRecordingAsPicture();
H A DSamplePictFile.cpp18 #include "SkPicture.h"
123 SkPicture** picture = fPictures + fBBox;
157 SkPicture* fPictures[kBBoxTypeCount];
163 sk_sp<SkPicture> LoadPicture(const char path[], BBoxType bbox) {
164 sk_sp<SkPicture> pic;
178 pic = SkPicture::MakeFromStream(&stream);
188 sk_sp<SkPicture> p2(recorder.finishRecordingAsPicture());
/external/skia/tools/viewer/
H A DSKPSlide.h12 #include "SkPicture.h"
27 sk_sp<const SkPicture> fPic;
/external/skia/gm/
H A Dimage_shader.cpp27 typedef sk_sp<SkImage> (*ImageMakerProc)(GrContext*, SkPicture*, const SkImageInfo&);
29 static sk_sp<SkImage> make_raster(GrContext*, SkPicture* pic, const SkImageInfo& info) {
36 static sk_sp<SkImage> make_texture(GrContext* ctx, SkPicture* pic, const SkImageInfo& info) {
49 static sk_sp<SkImage> make_pict_gen(GrContext*, SkPicture* pic, const SkImageInfo& info) {
55 static sk_sp<SkImage> make_encode_gen(GrContext* ctx, SkPicture* pic, const SkImageInfo& info) {
79 sk_sp<SkPicture> fPicture;
/external/skia/debugger/
H A DSkDebugger.h14 #include "SkPicture.h"
59 void loadPicture(SkPicture* picture);
61 sk_sp<SkPicture> copyPicture();
127 sk_sp<SkPicture> fPicture;

Completed in 380 milliseconds

123456