Home
last modified time | relevance | path

Searched refs:fDrawable (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/utils/
DSkCustomTypeface.cpp168 rec.fDrawable = nullptr; in setGlyph()
175 rec.fDrawable = std::move(drawable); in setGlyph()
305 canvas->drawDrawable(rec.fDrawable.get(), &fMatrix); in generateImage()
322 : fDrawable(std::move(drawable)) in generateDrawable()
327 return fMatrix.mapRect(fDrawable->getBounds()); in generateDrawable()
331 return fDrawable->approximateBytesUsed() + sizeof(DrawableMatrixWrapper); in generateDrawable()
341 canvas->drawDrawable(fDrawable.get(), &fMatrix); in generateDrawable()
344 const sk_sp<SkDrawable> fDrawable; in generateDrawable() member in SkUserScalerContext::generateDrawable::DrawableMatrixWrapper
350 return rec.fDrawable in generateDrawable()
351 ? sk_make_sp<DrawableMatrixWrapper>(rec.fDrawable, fMatrix) in generateDrawable()
[all …]
/external/skia/include/utils/
DSkCustomTypeface.h46 sk_sp<SkDrawable> fDrawable; member
52 SkASSERT(!fDrawable || fPath.isEmpty()); in isDrawable()
53 return fDrawable != nullptr; in isDrawable()
/external/skia/tools/viewer/
DAnimatedImageSlide.cpp26 sk_sp<SkDrawable> fDrawable; member in AnimatedImageSlide
57 canvas->drawDrawable(fDrawable.get(), fImage->getBounds().width(), 0); in draw()
97 fDrawable = recorder.finishRecordingAsDrawable(); in load()
DAtlasSlide.cpp210 sk_sp<DrawAtlasDrawable> fDrawable; member in DrawAtlasSlide
217 case 'C': fDrawable->toggleUseColors(); return true; in onChar()
224 canvas->drawDrawable(fDrawable.get()); in draw()
238 fDrawable = sk_make_sp<DrawAtlasDrawable>(fProc, SkRect::Make(this->getDimensions())); in load()
/external/skia/src/gpu/ganesh/ops/
DDrawableOp.cpp28 , fDrawable(std::move(drawable)) { in DrawableOp()
34 state->opsRenderPass()->executeDrawable(std::move(fDrawable)); in onExecute()
DDrawableOp.h48 std::unique_ptr<SkDrawable::GpuDrawHandler> fDrawable; variable
/external/skia/tests/
DFlattenDrawableTest.cpp157 , fDrawable(SkRef(drawable)) in RootDrawable()
164 , fDrawable(SkRef(drawable)) in RootDrawable()
170 buffer.writeFlattenable(fDrawable.get()); in flatten()
197 SkDrawable* drawable() const { return fDrawable.get(); } in drawable()
208 sk_sp<SkDrawable> fDrawable; member in RootDrawable
/external/skia/src/text/
DStrikeForGPU.h112 SkDrawable* fDrawable; member
/external/skia/src/core/
DSkGlyph.cpp218 fDrawableData->fDrawable = std::move(drawable); in installDrawable()
219 fDrawableData->fDrawable->getGenerationID(); in installDrawable()
245 return fDrawableData->fDrawable.get(); in drawable()
DSkStrike.cpp190 idOrDrawable.fDrawable = glyph->drawable(); in glyphIDsToDrawables()
DSkGlyph.h549 sk_sp<SkDrawable> fDrawable; member
/external/skia/tools/debugger/
DDrawCommand.h709 sk_sp<SkDrawable> fDrawable;
DDrawCommand.cpp1958 : INHERITED(kDrawDrawable_OpType), fDrawable(SkRef(drawable)), fMatrix(matrix) {} in DrawDrawableCommand()
1961 canvas->drawDrawable(fDrawable.get(), fMatrix.getMaybeNull()); in execute()
/external/skia/src/text/gpu/
DSubRunContainer.cpp974 SkDrawable* drawable = fIDsOrDrawables[i].fDrawable; in submitDraws()