Home
last modified time | relevance | path

Searched refs:SkPicture (Results 1 – 25 of 172) sorted by relevance

1234567

/external/chromium_org/third_party/skia/src/core/
DSkPicture.cpp116 SkPicture::SkPicture() { in SkPicture() function in SkPicture
122 SkPicture::SkPicture(const SkPicture& src) : INHERITED() { in SkPicture() function in SkPicture
141 SkPicture::~SkPicture() { in ~SkPicture()
146 void SkPicture::swap(SkPicture& other) { in swap()
153 SkPicture* SkPicture::clone() const { in clone()
154 SkPicture* clonedPicture = SkNEW(SkPicture); in clone()
159 void SkPicture::clone(SkPicture* pictures, int count) const { in clone()
163 SkPicture* clone = &pictures[i]; in clone()
192 SkCanvas* SkPicture::beginRecording(int width, int height, in beginRecording()
225 SkBBoxHierarchy* SkPicture::createBBoxHierarchy() const { in createBBoxHierarchy()
[all …]
DSkPicturePlayback.h66 SkPicture::InstallPixelRefProc);
72 void serialize(SkWStream*, SkPicture::EncodeBitmap) const;
86 SkPicture::InstallPixelRefProc);
124 SkPicture& getPicture(SkReader32& reader) { in getPicture()
181 void dumpPicture(const SkPicture& picture) const;
200 SkPicture::InstallPixelRefProc);
219 SkPicture** fPictureRefs;
/external/skia/src/core/
DSkPicture.cpp116 SkPicture::SkPicture() { in SkPicture() function in SkPicture
122 SkPicture::SkPicture(const SkPicture& src) : INHERITED() { in SkPicture() function in SkPicture
141 SkPicture::~SkPicture() { in ~SkPicture()
146 void SkPicture::swap(SkPicture& other) { in swap()
153 SkPicture* SkPicture::clone() const { in clone()
154 SkPicture* clonedPicture = SkNEW(SkPicture); in clone()
159 void SkPicture::clone(SkPicture* pictures, int count) const { in clone()
163 SkPicture* clone = &pictures[i]; in clone()
192 SkCanvas* SkPicture::beginRecording(int width, int height, in beginRecording()
225 SkBBoxHierarchy* SkPicture::createBBoxHierarchy() const { in createBBoxHierarchy()
[all …]
DSkPicturePlayback.h66 SkPicture::InstallPixelRefProc);
72 void serialize(SkWStream*, SkPicture::EncodeBitmap) const;
86 SkPicture::InstallPixelRefProc);
124 SkPicture& getPicture(SkReader32& reader) { in getPicture()
181 void dumpPicture(const SkPicture& picture) const;
200 SkPicture::InstallPixelRefProc);
219 SkPicture** fPictureRefs;
/external/chromium_org/third_party/skia/include/core/
DSkPicture.h33 class SK_API SkPicture : public SkRefCnt {
35 SK_DECLARE_INST_COUNT(SkPicture)
41 SkPicture();
45 SkPicture(const SkPicture& src);
68 static SkPicture* CreateFromStream(SkStream*,
71 virtual ~SkPicture();
76 void swap(SkPicture& other);
81 SkPicture* clone() const;
88 void clone(SkPicture* pictures, int count) const;
238 SkPicture(SkPicturePlayback*, int width, int height);
/external/skia/include/core/
DSkPicture.h33 class SK_API SkPicture : public SkRefCnt {
35 SK_DECLARE_INST_COUNT(SkPicture)
41 SkPicture();
45 SkPicture(const SkPicture& src);
68 static SkPicture* CreateFromStream(SkStream*,
71 virtual ~SkPicture();
76 void swap(SkPicture& other);
81 SkPicture* clone() const;
88 void clone(SkPicture* pictures, int count) const;
238 SkPicture(SkPicturePlayback*, int width, int height);
/external/skia/gm/
Doptimizations.cpp18 static bool check_pattern(SkPicture& input, const SkTDArray<DrawType> &pattern) { in check_pattern()
48 static SkPicture* create_save_layer_opt_1(SkTDArray<DrawType>* preOptPattern, in create_save_layer_opt_1()
82 SkPicture* result = new SkPicture; in create_save_layer_opt_1()
86 SkPicture::kDisableRecordOptimizations_RecordingFlag); in create_save_layer_opt_1()
121 static SkPicture* create_save_layer_opt_1_v1(SkTDArray<DrawType>* preOptPattern, in create_save_layer_opt_1_v1()
131 static SkPicture* create_save_layer_opt_1_v2(SkTDArray<DrawType>* preOptPattern, in create_save_layer_opt_1_v2()
141 static SkPicture* create_save_layer_opt_1_v3(SkTDArray<DrawType>* preOptPattern, in create_save_layer_opt_1_v3()
151 static SkPicture* create_save_layer_opt_1_v4(SkTDArray<DrawType>* preOptPattern, in create_save_layer_opt_1_v4()
175 static SkPicture* create_save_layer_opt_2(SkTDArray<DrawType>* preOptPattern, in create_save_layer_opt_2()
218 SkPicture* result = new SkPicture; in create_save_layer_opt_2()
[all …]
/external/skia/src/image/
DSkImage_Picture.cpp14 SkImage_Picture(SkPicture*);
20 SkPicture* getPicture() { return fPicture; } in getPicture()
23 SkPicture* fPicture;
30 SkImage_Picture::SkImage_Picture(SkPicture* pict) : INHERITED(pict->width(), pict->height()) { in SkImage_Picture()
50 SkImage* SkNewImageFromPicture(const SkPicture* srcPicture) { in SkNewImageFromPicture()
59 SkAutoTUnref<SkPicture> playback(SkNEW_ARGS(SkPicture, (*srcPicture))); in SkNewImageFromPicture()
64 SkPicture* SkPictureImageGetPicture(SkImage* pictureImage) { in SkPictureImageGetPicture()
DSkImagePriv.h14 class SkPicture; variable
34 extern void SkImagePrivDrawPicture(SkCanvas*, SkPicture*,
37 extern void SkImagePrivDrawPicture(SkCanvas*, SkPicture*,
44 extern SkImage* SkNewImageFromPicture(const SkPicture*);
56 extern SkPicture* SkPictureImageGetPicture(SkImage* pictureImage);
/external/chromium_org/third_party/skia/src/image/
DSkImage_Picture.cpp14 SkImage_Picture(SkPicture*);
20 SkPicture* getPicture() { return fPicture; } in getPicture()
23 SkPicture* fPicture;
30 SkImage_Picture::SkImage_Picture(SkPicture* pict) : INHERITED(pict->width(), pict->height()) { in SkImage_Picture()
50 SkImage* SkNewImageFromPicture(const SkPicture* srcPicture) { in SkNewImageFromPicture()
59 SkAutoTUnref<SkPicture> playback(SkNEW_ARGS(SkPicture, (*srcPicture))); in SkNewImageFromPicture()
64 SkPicture* SkPictureImageGetPicture(SkImage* pictureImage) { in SkPictureImageGetPicture()
DSkImagePriv.h14 class SkPicture; variable
34 extern void SkImagePrivDrawPicture(SkCanvas*, SkPicture*,
37 extern void SkImagePrivDrawPicture(SkCanvas*, SkPicture*,
44 extern SkImage* SkNewImageFromPicture(const SkPicture*);
56 extern SkPicture* SkPictureImageGetPicture(SkImage* pictureImage);
/external/skia/tests/
DPictureTest.cpp70 static SkPicture* record_bitmaps(const SkBitmap bm[], const SkPoint pos[], in record_bitmaps()
72 SkPicture* pic = new SkPicture; in record_bitmaps()
96 static void draw(SkPicture* pic, const SkRect& subset, SkBitmap* result) { in draw()
186 SkAutoTUnref<SkPicture> pic(record_bitmaps(bm, pos, N, procs[k])); in test_gatherpixelrefs()
251 SkPicture picture; in test_deleting_empty_playback()
262 SkPicture picture; in test_serializing_empty_picture()
296 SkPicture picture; in test_peephole()
308 SkPicture picture; in test_peephole()
331 SkPicture picture; in test_bad_bitmap()
349 SkPicture picture; in serialized_picture_from_bitmap()
[all …]
/external/skia/tools/
DPdfRenderer.h32 virtual void init(SkPicture* pict, SkWStream* stream);
37 PdfRenderer(SkPicture::EncodeBitmap encoder) in PdfRenderer()
47 SkPicture* fPicture;
48 SkPicture::EncodeBitmap fEncoder;
57 SimplePdfRenderer(SkPicture::EncodeBitmap encoder) in SimplePdfRenderer()
Dpinspect.cpp19 static SkPicture* inspect(const char path[]) { in inspect()
38 SkPicture* pic = SkPicture::CreateFromStream(&stream, &sk_tools::LazyDecodeBitmap); in inspect()
47 static void dumpOps(SkPicture* pic) { in dumpOps()
74 SkAutoTUnref<SkPicture> pic(inspect(argv[index])); in tool_main()
Dbbh_shootout.cpp48 (const BenchmarkControl&, const SkString&, SkPicture*, BenchTimer*);
51 const BenchmarkControl&, const SkString&, SkPicture*, BenchTimer*);
53 const BenchmarkControl&, const SkString&, SkPicture*, BenchTimer*);
169 static SkPicture* pic_from_path(const char path[]) { in pic_from_path()
175 return SkPicture::CreateFromStream(&stream, &sk_tools::LazyDecodeBitmap); in pic_from_path()
181 static bool compare_picture(const SkString& path, const SkBitmap& inBitmap, SkPicture* pic) { in compare_picture()
205 int benchmarkType, const SkString& path, SkPicture* pic, in do_benchmark_work()
267 const SkString& path, SkPicture* pic, BenchTimer* timer) { in benchmark_playback()
281 const SkString& path, SkPicture* pic, BenchTimer* timer) { in benchmark_recording()
314 SkAutoTUnref<SkPicture> pic(pic_from_path(path.c_str())); in benchmark_loop()
/external/chromium_org/skia/ext/
Dlazy_pixel_ref_utils_unittest.cc143 SkCanvas* StartRecording(SkPicture* picture, gfx::Rect layer_rect) { in StartRecording()
147 SkPicture::kUsePathBoundsForClip_RecordingFlag | in StartRecording()
148 SkPicture::kOptimizeForClippedPlayback_RecordingFlag); in StartRecording()
158 void StopRecording(SkPicture* picture, SkCanvas* canvas) { in StopRecording()
168 skia::RefPtr<SkPicture> picture = skia::AdoptRef(new SkPicture); in TEST()
207 skia::RefPtr<SkPicture> picture = skia::AdoptRef(new SkPicture); in TEST()
260 skia::RefPtr<SkPicture> picture = skia::AdoptRef(new SkPicture); in TEST()
306 skia::RefPtr<SkPicture> picture = skia::AdoptRef(new SkPicture); in TEST()
357 skia::RefPtr<SkPicture> picture = skia::AdoptRef(new SkPicture); in TEST()
407 skia::RefPtr<SkPicture> picture = skia::AdoptRef(new SkPicture); in TEST()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContextRecorder.cpp43 m_picture = adoptRef(new SkPicture()); in record()
59 GraphicsContextSnapshot::GraphicsContextSnapshot(PassRefPtr<SkPicture> picture, bool isCertainlyOpa… in GraphicsContextSnapshot()
69 explicit SnapshotPlayer(PassRefPtr<SkPicture> picture, SkCanvas* canvas) in SnapshotPlayer()
83 RefPtr<SkPicture> m_picture;
89 FragmentSnapshotPlayer(PassRefPtr<SkPicture> picture, SkCanvas* canvas) in FragmentSnapshotPlayer()
120 ProfilingSnapshotPlayer(PassRefPtr<SkPicture> picture, SkCanvas* canvas) in ProfilingSnapshotPlayer()
DDisplayList.h40 class SkPicture; variable
52 SkPicture* picture() const;
56 RefPtr<SkPicture> m_picture;
DGraphicsContextRecorder.h51 GraphicsContextSnapshot(PassRefPtr<SkPicture>, bool isCerteainlyOpaque);
55 RefPtr<SkPicture> m_picture;
67 RefPtr<SkPicture> m_picture;
/external/chromium_org/third_party/skia/include/effects/
DSkPictureImageFilter.h19 explicit SkPictureImageFilter(SkPicture* picture);
25 SkPictureImageFilter(SkPicture* picture, const SkRect& rect);
37 SkPicture* fPicture;
/external/skia/include/effects/
DSkPictureImageFilter.h19 explicit SkPictureImageFilter(SkPicture* picture);
25 SkPictureImageFilter(SkPicture* picture, const SkRect& rect);
37 SkPicture* fPicture;
/external/chromium_org/android_webview/native/
Daw_picture.h16 class SkPicture; variable
22 AwPicture(skia::RefPtr<SkPicture> picture);
33 skia::RefPtr<SkPicture> picture_;
/external/skia/bench/
DPictureRecordBench.cpp54 SkAutoTDelete<SkPicture> picture; in onDraw()
61 picture.reset(SkNEW(SkPicture)); in onDraw()
123 SkAutoTDelete<SkPicture> picture; in onDraw()
127 picture.reset(SkNEW(SkPicture)); in onDraw()
161 SkPicture picture; in onDraw()
/external/skia/src/pdf/
DSkPDFImage.h42 SkPicture::EncodeBitmap encoder);
64 SkPicture::EncodeBitmap fEncoder;
84 const SkIRect& srcRect, SkPicture::EncodeBitmap encoder);
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFImage.h42 SkPicture::EncodeBitmap encoder);
64 SkPicture::EncodeBitmap fEncoder;
84 const SkIRect& srcRect, SkPicture::EncodeBitmap encoder);

1234567