Home
last modified time | relevance | path

Searched refs:SkDrawable (Results 1 – 25 of 60) sorted by relevance

123

/third_party/skia/src/core/
DSkDrawable.cpp22 SkDrawable::SkDrawable() : fGenerationID(0) {} in SkDrawable() function in SkDrawable
33 void SkDrawable::draw(SkCanvas* canvas, const SkMatrix* matrix) { in draw()
45 void SkDrawable::draw(SkCanvas* canvas, SkScalar x, SkScalar y) { in draw()
50 SkPicture* SkDrawable::newPictureSnapshot() { in newPictureSnapshot()
54 uint32_t SkDrawable::getGenerationID() { in getGenerationID()
61 SkRect SkDrawable::getBounds() { in getBounds()
65 void SkDrawable::notifyDrawingChanged() { in notifyDrawingChanged()
73 SkPicture* SkDrawable::onNewPictureSnapshot() { in onNewPictureSnapshot()
DSkRecordDraw.h17 class SkDrawable; variable
32 SkDrawable* const drawables[], int drawableCount,
50 SkDrawable* const drawables[], int drawableCount,
77 SkDrawable* const* fDrawables;
DSkRecorder.h27 SkDrawable* const* begin() const { return fArray.begin(); } in begin()
29 void append(SkDrawable* drawable);
35 SkTDArray<SkDrawable*> fArray;
71 void onDrawDrawable(SkDrawable*, const SkMatrix*) override;
DSkPictureRecorder.cpp117 SkDrawable* const* drawables = nullptr; in partialReplay()
126 sk_sp<SkDrawable> SkPictureRecorder::finishRecordingAsDrawable() { in finishRecordingAsDrawable()
140 sk_sp<SkDrawable> drawable = in finishRecordingAsDrawable()
DSkPictureRecord.h42 const SkTArray<sk_sp<SkDrawable>>& getDrawables() const { in getDrawables()
135 void addDrawable(SkDrawable* picture);
211 void onDrawDrawable(SkDrawable*, const SkMatrix*) override;
247 SkTArray<sk_sp<SkDrawable>> fDrawables;
DSkPictureData.h115 SkDrawable* getDrawable(SkReadBuffer* reader) const { in getDrawable()
151 SkTArray<sk_sp<SkDrawable>> fDrawables;
DSkRecordedDrawable.h14 class SkRecordedDrawable : public SkDrawable {
DSkPictureData.cpp380 static sk_sp<SkDrawable> create_drawable_from_buffer(SkReadBuffer& buffer) { in create_drawable_from_buffer()
381 return sk_sp<SkDrawable>((SkDrawable*)buffer.readFlattenable(SkFlattenable::kSkDrawable_Type)); in create_drawable_from_buffer()
DSkRecordedDrawable.cpp17 SkDrawable* const* drawables = nullptr; in onDraw()
/third_party/skia/tests/
DFlattenDrawableTest.cpp19 class IntDrawable : public SkDrawable {
63 class PaintDrawable : public SkDrawable {
91 class CompoundDrawable : public SkDrawable {
139 class RootDrawable : public SkDrawable {
142 uint32_t e, uint32_t f, uint32_t g, uint32_t h, SkDrawable* drawable) in RootDrawable()
149 SkDrawable* drawable) in RootDrawable()
178 (SkDrawable*) drawable.get())); in CreateProc()
185 SkDrawable* drawable() const { return fDrawable.get(); } in drawable()
196 sk_sp<SkDrawable> fDrawable;
211 sk_sp<SkDrawable> drawable(new IntDrawable(1, 2, 3, 4)); in DEF_TEST()
[all …]
DVkDrawableTest.cpp34 class TestDrawable : public SkDrawable {
220 using INHERITED = SkDrawable;
/third_party/skia/include/core/
DSkDrawable.h29 class SK_API SkDrawable : public SkFlattenable {
121 static sk_sp<SkDrawable> Deserialize(const void* data, size_t size,
123 return sk_sp<SkDrawable>(static_cast<SkDrawable*>(
132 SkDrawable();
DSkPictureRecorder.h22 class SkDrawable; variable
90 sk_sp<SkDrawable> finishRecordingAsDrawable();
DSkOverdrawCanvas.h49 void onDrawDrawable(SkDrawable*, const SkMatrix*) override;
DSkCanvasVirtualEnforcer.h56 void onDrawDrawable(SkDrawable* drawable, const SkMatrix* matrix) override = 0;
/third_party/skia/src/gpu/ops/
DDrawableOp.h23 std::unique_ptr<SkDrawable::GpuDrawHandler> drawable,
31 DrawableOp(std::unique_ptr<SkDrawable::GpuDrawHandler>, const SkRect& bounds);
48 std::unique_ptr<SkDrawable::GpuDrawHandler> fDrawable;
DDrawableOp.cpp20 std::unique_ptr<SkDrawable::GpuDrawHandler> drawable, in Make()
25 DrawableOp::DrawableOp(std::unique_ptr<SkDrawable::GpuDrawHandler> drawable, in DrawableOp()
/third_party/skia/docs/examples/
DCanvas_drawDrawable_2.cpp6 struct MyDrawable : public SkDrawable {
21 sk_sp<SkDrawable> drawable(new MyDrawable); in draw()
DCanvas_drawDrawable.cpp6 struct MyDrawable : public SkDrawable {
21 sk_sp<SkDrawable> drawable(new MyDrawable); in draw()
/third_party/skia/gm/
Ddrawable.cpp18 struct MyDrawable : public SkDrawable {
40 sk_sp<SkDrawable> drawable(new MyDrawable);
/third_party/skia/include/android/
DSkAnimatedImage.h24 class SK_API SkAnimatedImage : public SkDrawable {
176 using INHERITED = SkDrawable;
/third_party/skia/src/gpu/
DGrOpsRenderPass.h139 void executeDrawable(std::unique_ptr<SkDrawable::GpuDrawHandler>);
201 virtual void onExecuteDrawable(std::unique_ptr<SkDrawable::GpuDrawHandler>) {} in onExecuteDrawable()
/third_party/skia/samplecode/
DSampleArc.cpp40 class MyDrawable : public SkDrawable {
83 sk_sp<SkDrawable> fRootDrawable;
DSampleAtlas.cpp71 class DrawAtlasDrawable : public SkDrawable {
204 using INHERITED = SkDrawable;
/third_party/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.h27 void onExecuteDrawable(std::unique_ptr<SkDrawable::GpuDrawHandler>) override {} in onExecuteDrawable()

123