Home
last modified time | relevance | path

Searched refs:SkRef (Results 1 – 25 of 32) sorted by relevance

12

/third_party/skia/tests/
DFlattenDrawableTest.cpp99 : fIntDrawable(SkRef(intDrawable)) in CompoundDrawable()
100 , fPaintDrawable(SkRef(paintDrawable)) in CompoundDrawable()
145 , fDrawable(SkRef(drawable)) in RootDrawable()
150 : fCompoundDrawable(SkRef(compoundDrawable)) in RootDrawable()
151 , fIntDrawable(SkRef(intDrawable)) in RootDrawable()
152 , fDrawable(SkRef(drawable)) in RootDrawable()
DUtilsTest.cpp67 tmp[0].reset(SkRef(&obj0)); in test_autostarray()
68 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
80 tmp[0].reset(SkRef(&obj0)); in test_autostarray()
81 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
93 tmp[0].reset(SkRef(&obj0)); in test_autostarray()
94 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
104 tmp[0].reset(SkRef(&obj0)); in test_autostarray()
105 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
113 tmp[0].reset(SkRef(&obj0)); in test_autostarray()
114 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
/third_party/skia/modules/skparagraph/src/
DTypefaceFontProvider.cpp22 return SkRef((*found).get()); in onMatchFamily()
82 return SkRef(fStyles[index].get()); in createTypeface()
/third_party/skia/src/ports/
DSkFontMgr_preview.cpp42 return SkRef(fNameToFamilyMap[index].styleSet); in onCreateStyleSet()
53 return SkRef(fNameToFamilyMap[i].styleSet); in onMatchFamily()
59 return SkRef(fFallbackNameToFamilyMap[i].styleSet); in onMatchFamily()
DSkFontMgr_custom.cpp150 return SkRef(fStyles[index].get()); in createTypeface()
199 return SkRef(fFamilies[index].get()); in onCreateStyleSet()
205 return SkRef(fFamilies[i].get()); in onMatchFamily()
DSkFontMgr_android.cpp262 return SkRef(fStyles[index].get()); in createTypeface()
333 return SkRef(fNameToFamilyMap[index].styleSet); in onCreateStyleSet()
343 return SkRef(fNameToFamilyMap[i].styleSet); in onMatchFamily()
349 return SkRef(fFallbackNameToFamilyMap[i].styleSet); in onMatchFamily()
DSkFontMgr_preview.h282 return SkRef(fStyles[index].get()); in createTypeface()
/third_party/skia/src/fonts/
DSkRemotableFontMgr.cpp22 return SkRef(empty); in NewEmpty()
DSkFontMgr_indirect.cpp29 : fOwner(SkRef(owner)), fFamilyIndex(familyIndex), fData(data) in SkStyleSet_Indirect()
/third_party/skia/tools/skiaserve/urlhandlers/
DDataHandler.cpp33 SkRef(request->fUrlDataManager.getDataFromUrl(SkString(url)))); in handle()
/third_party/skia/bench/
DBitmapRegionDecoderBench.cpp18 , fData(SkRef(encoded)) in BitmapRegionDecoderBench()
DAndroidCodecBench.cpp16 : fData(SkRef(encoded)) in AndroidCodecBench()
DCodecBench.cpp23 , fData(SkRef(encoded)) in CodecBench()
DSKPBench.cpp24 : fPic(SkRef(pic)) in SKPBench()
/third_party/skia/tools/
DUrlDataManager.cpp26 urlData->fData.reset(SkRef(data)); in addData()
/third_party/skia/src/gpu/
DGrWindowRectangles.h74 fRec = SkRef(that.fRec);
DGrDrawOpAtlas.cpp268 sk_sp<Plot> plotsp(SkRef(plot)); in updatePlot()
405 sk_sp<Plot> plotsp(SkRef(newPlot.get())); in addToAtlas()
/third_party/skia/src/effects/imagefilters/
DSkColorFilterImageFilter.cpp148 *filter = SkRef(fColorFilter.get()); in onIsColorFilterNode()
/third_party/skia/tools/fonts/
DTestFontMgr.cpp50 return SkRef(fTypefaces[index].fTypeface.get()); in createTypeface()
/third_party/skia/src/core/
DSkPathRef.cpp82 return SkRef(gEmpty); in CreateEmpty()
159 srcKeepAlive.reset(SkRef(&src)); in CreateTransformedCopy()
DSkBitmapCache.cpp253 const SkMipmap* mm = SkRef(rec.fMipMap); in Finder()
/third_party/skia/tools/debugger/
DDrawCommand.cpp1175 , fImage(SkRef(image)) in DrawImageCommand()
1236 , fImage(SkRef(image)) in DrawImageLatticeCommand()
1283 , fImage(SkRef(image)) in DrawImageRectCommand()
1546 , fPicture(SkRef(picture)) in BeginDrawPictureCommand()
1930 : INHERITED(kDrawDrawable_OpType), fDrawable(SkRef(drawable)), fMatrix(matrix) {} in DrawDrawableCommand()
1962 , fImage(SkRef(image)) in DrawAtlasCommand()
/third_party/skia/include/core/
DSkRefCnt.h131 template <typename T> static inline T* SkRef(T* obj) { in SkRef() function
/third_party/skia/tools/gpu/
DGrContextFactory.cpp334 context.fGrContext = SkRef(grCtx.get()); in getContextInfoInternal()
/third_party/skia/src/pdf/
DSkPDFBitmap.cpp283 SkRef(img); in SkPDFSerializeImage()

12