Home
last modified time | relevance | path

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

1234

/external/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 size_t SkDrawable::approximateBytesUsed() { in approximateBytesUsed()
68 size_t SkDrawable::onApproximateBytesUsed() { in onApproximateBytesUsed()
72 void SkDrawable::notifyDrawingChanged() { in notifyDrawingChanged()
80 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.h28 class SkDrawable; variable
62 SkDrawable* const* begin() const { return fArray.begin(); } in begin()
63 SkDrawable* const* end() const { return fArray.end(); } in end()
65 void append(SkDrawable* drawable);
71 SkTDArray<SkDrawable*> fArray;
106 void onDrawDrawable(SkDrawable*, const SkMatrix*) override;
DSkPictureRecorder.cpp118 SkDrawable* const* drawables = nullptr; in partialReplay()
127 sk_sp<SkDrawable> SkPictureRecorder::finishRecordingAsDrawable() { in finishRecordingAsDrawable()
140 sk_sp<SkDrawable> drawable = in finishRecordingAsDrawable()
DSkPictureRecord.h43 const SkTArray<sk_sp<SkDrawable>>& getDrawables() const { in getDrawables()
142 void addDrawable(SkDrawable* picture);
220 void onDrawDrawable(SkDrawable*, const SkMatrix*) override;
256 SkTArray<sk_sp<SkDrawable>> fDrawables;
DSkRecordedDrawable.cpp34 SkDrawable* const* drawables = nullptr; in onDraw()
74 SkDrawable* const* drawables = fDrawableList ? fDrawableList->begin() : nullptr; in flatten()
DSkPictureData.h132 SkDrawable* getDrawable(SkReadBuffer* reader) const { in getDrawable()
175 SkTArray<sk_sp<SkDrawable>> fDrawables;
DSkStrike.h68 const SkDrawable* mergeDrawable(
69 SkGlyph* glyph, sk_sp<SkDrawable> drawable) SK_EXCLUDES(fStrikeLock);
DSkGlyph.cpp213 void SkGlyph::installDrawable(SkArenaAlloc* alloc, sk_sp<SkDrawable> drawable) { in installDrawable()
226 sk_sp<SkDrawable> drawable = scalerContext->getDrawable(*this); in setDrawable()
233 bool SkGlyph::setDrawable(SkArenaAlloc* alloc, sk_sp<SkDrawable> drawable) { in setDrawable()
241 SkDrawable* SkGlyph::drawable() const { in drawable()
/external/skia/tests/
DFlattenDrawableTest.cpp31 class IntDrawable : public SkDrawable {
75 class PaintDrawable : public SkDrawable {
103 class CompoundDrawable : public SkDrawable {
151 class RootDrawable : public SkDrawable {
154 uint32_t e, uint32_t f, uint32_t g, uint32_t h, SkDrawable* drawable) in RootDrawable()
161 SkDrawable* drawable) in RootDrawable()
190 (SkDrawable*) drawable.get())); in CreateProc()
197 SkDrawable* drawable() const { return fDrawable.get(); } in drawable()
208 sk_sp<SkDrawable> fDrawable;
223 sk_sp<SkDrawable> drawable(new IntDrawable(1, 2, 3, 4)); in DEF_TEST()
[all …]
/external/skia/include/core/
DSkDrawable.h31 class SK_API SkDrawable : public SkFlattenable {
129 static sk_sp<SkDrawable> Deserialize(const void* data, size_t size,
131 return sk_sp<SkDrawable>(static_cast<SkDrawable*>(
140 SkDrawable();
DSkPictureRecorder.h24 class SkDrawable; variable
91 sk_sp<SkDrawable> finishRecordingAsDrawable();
/external/skia/src/gpu/ganesh/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()
/external/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()
/external/skia/gm/
Ddrawable.cpp18 struct MyDrawable : public SkDrawable {
40 sk_sp<SkDrawable> drawable(new MyDrawable);
/external/skia/include/utils/
DSkCustomTypeface.h32 void setGlyph(SkGlyphID, float advance, sk_sp<SkDrawable>, const SkRect& bounds);
46 sk_sp<SkDrawable> fDrawable;
DSkPaintFilterCanvas.h31 class SkDrawable; variable
109 void onDrawDrawable(SkDrawable*, const SkMatrix*) override;
DSkNWayCanvas.h30 class SkDrawable; variable
116 void onDrawDrawable(SkDrawable*, const SkMatrix*) override;
/external/skia/include/android/
DSkAnimatedImage.h24 class SK_API SkAnimatedImage : public SkDrawable {
176 using INHERITED = SkDrawable;
/external/skia/src/utils/
DSkCustomTypeface.cpp172 sk_sp<SkDrawable> drawable, const SkRect& bounds) { in setGlyph()
318 sk_sp<SkDrawable> generateDrawable(const SkGlyph& glyph) override { in generateDrawable()
319 class DrawableMatrixWrapper final : public SkDrawable { in generateDrawable()
321 DrawableMatrixWrapper(sk_sp<SkDrawable> drawable, const SkMatrix& m) in generateDrawable()
344 const sk_sp<SkDrawable> fDrawable; in generateDrawable()
497 auto drawable = SkDrawable::Deserialize(data->data(), data->size()); in Deserialize()
/external/skia/src/gpu/ganesh/
DGrOpsRenderPass.h140 void executeDrawable(std::unique_ptr<SkDrawable::GpuDrawHandler>);
202 virtual void onExecuteDrawable(std::unique_ptr<SkDrawable::GpuDrawHandler>) {} in onExecuteDrawable()
/external/skia/tools/viewer/
DArcSlide.cpp29 class MyDrawable : public SkDrawable {
72 sk_sp<SkDrawable> fRootDrawable;
/external/skia/tools/debugger/
DDebugCanvas.h30 class SkDrawable; variable
209 void onDrawDrawable(SkDrawable*, const SkMatrix*) override;

1234