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

123456

/external/skia/src/core/
H A DSkLayerInfo.cpp10 SkPicture::AccelData::Key SkLayerInfo::ComputeKey() {
11 static const SkPicture::AccelData::Key gGPUID = SkPicture::AccelData::GenerateDomain();
H A DSkRecordDraw.h23 const SkPicture::SnapshotArray*,
27 void SkRecordDraw(const SkRecord&, SkCanvas*, SkPicture const* const drawablePicts[],
29 const SkBBoxHierarchy*, SkPicture::AbortCallback*);
37 SkPicture const* const drawablePicts[], int drawableCount,
45 explicit Draw(SkCanvas* canvas, SkPicture const* const drawablePicts[],
63 SkPicture const* const* drawablePicts() const { return fDrawablePicts; }
72 SkPicture const* const* fDrawablePicts;
H A DSkLayerInfo.h11 #include "SkPicture.h"
15 // within an SkPicture. It is used by Ganesh to perform layer hoisting.
16 class SkLayerInfo : public SkPicture::AccelData {
18 // Information about a given saveLayer/restore block in an SkPicture
28 const SkPicture* fPicture;
77 static SkPicture::AccelData::Key ComputeKey();
82 typedef SkPicture::AccelData INHERITED;
H A DSkPicture.cpp22 #include "SkPicture.h"
44 DECLARE_SKMESSAGEBUS_MESSAGE(SkPicture::DeletionMessage);
130 /** SkRecords visitor to determine heuristically whether or not a SkPicture
133 struct SkPicture::PathCounter {
140 const SkPicture::Analysis& analysis = op.picture->analysis();
192 SkPicture::Analysis::Analysis(const SkRecord& record) {
211 bool SkPicture::Analysis::suitableForGpuRasterization(const char** reason,
226 int SkPicture::drawableCount() const {
230 SkPicture const* const* SkPicture
456 SkPicture::SkPicture(const SkRect& cullRect, function in class:SkPicture
[all...]
H A DSkPictureShader.h14 class SkPicture;
17 * An SkPictureShader can be used to draw SkPicture-based patterns.
19 * The SkPicture is first rendered into a tile, which is then used to shade the area according
24 static SkPictureShader* Create(const SkPicture*, TileMode, TileMode, const SkMatrix*,
42 SkPictureShader(const SkPicture*, TileMode, TileMode, const SkMatrix*, const SkRect*);
46 const SkPicture* fPicture;
/external/skia/src/gpu/
H A DGrRecordReplaceDraw.h11 #include "SkPicture.h"
17 // Draw an SkPicture into an SkCanvas replacing saveLayer/restore blocks with
20 int GrRecordReplaceDraw(const SkPicture*,
24 SkPicture::AbortCallback*);
H A DGrLayerHoister.h11 #include "SkPicture.h"
21 const SkPicture* fPicture; // the picture that actually contains the layer
49 const SkPicture* topLevelPicture,
68 const SkPicture* topLevelPicture,
91 static void ConvertLayersToReplacements(const SkPicture* topLevelPicture,
/external/skia/include/utils/
H A DSkPictureUtils.h11 #include "SkPicture.h"
16 * How many bytes are allocated to hold the SkPicture.
21 static size_t ApproximateBytesUsed(const SkPicture* pict);
/external/skia/include/core/
H A DSkDrawable.h14 class SkPicture;
35 SkPicture* newPictureSnapshot();
70 virtual SkPicture* onNewPictureSnapshot();
H A DSkDrawPictureCallback.h14 #include "SkPicture.h"
26 class SK_API SkDrawPictureCallback : public SkPicture::AbortCallback {
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 DSkPicture.h38 /** \class SkPicture
40 The SkPicture class records the drawing commands made to a canvas, to
43 class SK_API SkPicture : public SkNVRefCnt<SkPicture> { class in inherits:SkNVRefCnt
83 * @return A new SkPicture representing the serialized data, or NULL if the stream is
86 static SkPicture* CreateFromStream(SkStream*,
92 * SkReadBuffer::setBitmapDecoder() before calling SkPicture::CreateFromBuffer().
94 * @return A new SkPicture representing the serialized data, or NULL if the buffer is
97 static SkPicture* CreateFromBuffer(SkReadBuffer&);
99 ~SkPicture();
[all...]
/external/skia/include/effects/
H A DSkPictureImageFilter.h12 #include "SkPicture.h"
19 static SkPictureImageFilter* Create(const SkPicture* picture) {
27 static SkPictureImageFilter* Create(const SkPicture* picture, const SkRect& cropRect) {
40 static SkPictureImageFilter* CreateForLocalSpace(const SkPicture* picture,
47 static SkPictureImageFilter* CreateForLocalSpace(const SkPicture* picture,
62 explicit SkPictureImageFilter(const SkPicture* picture);
63 SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect,
84 const SkPicture* fPicture;
/external/skia/bench/
H A DRecordingBench.h12 #include "SkPicture.h"
16 RecordingBench(const char* name, const SkPicture*, bool useBBH);
25 SkAutoTUnref<const SkPicture> fSrc;
H A DSKPBench.h13 #include "SkPicture.h"
16 * Runs an SkPicture as a benchmark by repeatedly drawing it scaled inside a device clip.
20 SKPBench(const char* name, const SkPicture*, const SkIRect& devClip, SkScalar scale,
36 const SkPicture* picture() const { return fPic; }
41 SkAutoTUnref<const SkPicture> fPic;
H A DSKPAnimationBench.h14 * Runs an SkPicture as a benchmark by repeatedly drawing it, first centering the picture and
19 SKPAnimationBench(const char* name, const SkPicture*, const SkIRect& devClip,
H A DPictureOverheadBench.cpp29 SkAutoTUnref<SkPicture> pic(rec.endRecordingAsPicture());
/external/skia/tools/
H A Dpinspect.cpp14 #include "SkPicture.h"
19 static SkPicture* inspect(const char path[]) {
38 SkPicture* pic = SkPicture::CreateFromStream(&stream, &sk_tools::LazyDecodeBitmap);
40 SkDebugf("Could not create SkPicture: %s\n", path);
49 static void dumpOps(SkPicture* pic) {
76 SkAutoTUnref<SkPicture> pic(inspect(argv[index]));
H A DCopyTilesRenderer.h14 class SkPicture;
30 virtual void init(const SkPicture* pict,
H A Dgpuveto.cpp10 #include "SkPicture.h"
17 // This tool just loads a single skp, replays into a new SkPicture (to
45 SkPicture::InstallPixelRefProc proc = &sk_tools::LazyDecodeBitmap;
47 SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(&inputStream, proc));
50 SkDebugf("Could not read the SkPicture\n");
55 // The SkPicture tracking information is only generated during recording
61 SkAutoTUnref<SkPicture> recorded(recorder.endRecording());
H A DPictureBenchmark.h16 class SkPicture;
28 * Draw the provided SkPicture fRepeats times while collecting timing data, and log the output
31 void run(SkPicture* pict, bool useMultiPictureDraw);
/external/skia/samplecode/
H A DSamplePdfFileViewer.cpp19 #include "SkPicture.h"
35 SkPicture* fPicture; // TODO(edisonn): multiple pages, one page / picture, make it an array
37 static SkPicture* LoadPdf(const char path[]) {
43 SkPicture* pic = SkNEW(SkPicture);
H A DSamplePictFile.cpp17 #include "SkPicture.h"
92 SkPicture** picture = fPictures + fBBox;
121 SkPicture* fPictures[kBBoxTypeCount];
125 SkPicture* LoadPicture(const char path[], BBoxType bbox) {
126 SkAutoTUnref<SkPicture> pic;
140 pic.reset(SkPicture::CreateFromStream(&stream));
150 SkAutoTUnref<SkPicture> p2(recorder.endRecording());
/external/skia/src/utils/
H A DSkPictureUtils.cpp15 size_t SkPictureUtils::ApproximateBytesUsed(const SkPicture* pict) {
/external/skia/debugger/
H A DSkDebugger.h14 #include "SkPicture.h"
59 void loadPicture(SkPicture* picture);
61 SkPicture* copyPicture();
127 SkPicture* fPicture;

Completed in 170 milliseconds

123456