Home
last modified time | relevance | path

Searched refs:SkSafeRef (Results 1 - 15 of 15) sorted by relevance

/third_party/skia/include/core/
H A DSkRefCnt.h139 template <typename T> static inline T* SkSafeRef(T* obj) { in SkSafeRef() function
226 sk_sp(const sk_sp<T>& that) : fPtr(SkSafeRef(that.get())) {} in sk_sp()
229 sk_sp(const sk_sp<U>& that) : fPtr(SkSafeRef(that.get())) {} in sk_sp()
264 this->reset(SkSafeRef(that.get())); in operator =()
271 this->reset(SkSafeRef(that.get())); in operator =()
375 return sk_sp<T>(SkSafeRef(obj)); in sk_ref_sp()
379 return sk_sp<T>(const_cast<T*>(SkSafeRef(obj))); in sk_ref_sp()
/third_party/skia/src/ports/skia_ohos/
H A DSkFontStyleSet_ohos.cpp86 return SkSafeRef(fontConfig_->getTypeface(styleIndex, index, isFallback)); in createTypeface()
99 return SkSafeRef(fontConfig_->getTypeface(styleIndex, pattern, isFallback)); in matchStyle()
H A DSkFontMgr_ohos.cpp102 return SkSafeRef(fontConfig->getTypeface(styleIndex, style, isFallback)); in onMatchFamilyStyle()
160 return SkSafeRef(typeface.get()); in onMatchFamilyStyleCharacter()
216 return SkSafeRef(typeface.get()); in findTypeface()
226 return SkSafeRef(typeface.get()); in findTypeface()
/third_party/skia/src/gpu/
H A DGrRefCnt.h202 template <typename T> gr_rp<T> gr_ref_rp(T* obj) { return gr_rp<T>(SkSafeRef(obj)); } in gr_ref_rp()
205 return gr_rp<T>(const_cast<T*>(SkSafeRef(obj))); in gr_ref_rp()
/third_party/skia/src/c/
H A Dsk_effects.cpp42 SkSafeRef(AsShader(cshader)); in sk_shader_ref()
173 SkSafeRef(AsMaskFilter(cfilter)); in sk_maskfilter_ref()
H A Dsk_imageinfo.cpp137 SkSafeRef(reinterpret_cast<SkColorSpace*>(cs)); in sk_colorspace_ref()
H A Dsk_surface.cpp429 SkSafeRef(AsPicture(cpic)); in sk_picture_ref()
459 SkSafeRef(AsData(cdata)); in sk_data_ref()
/third_party/skia/src/android/
H A DSkAndroidFrameworkUtils.cpp29 sk_sp<SkSurface> surface(SkSafeRef(canvas->getSurfaceBase())); in getSurfaceFromCanvas()
/third_party/skia/src/gpu/d3d/
H A DGrD3DTypesMinimal.cpp30 fResourceState = SkSafeRef(that.fResourceState); in assign()
/third_party/skia/src/gpu/gl/
H A DGrGLTypesPriv.cpp60 SkSafeRef(that.fParams); in assign()
/third_party/skia/src/ports/
H A DSkRemotableFontMgr_win_dw.cpp233 : fRefCount(1), fOuter(SkSafeRef(outer)), fCharacter(character) { in FontFallbackRenderer()
H A DSkFontMgr_fuchsia.cpp304 return SkSafeRef(fTypefaces[index].get());
H A DSkFontMgr_win_dw.cpp591 : fRefCount(1), fOuter(SkSafeRef(outer)), fCharacter(character), fResolvedTypeface(nullptr) { in FontFallbackRenderer()
/third_party/skia/src/codec/
H A DSkPngCodec.cpp995 , fPngChunkReader(SkSafeRef(chunkReader)) in SkPngCodec()
/third_party/skia/tools/debugger/
H A DDrawCommand.cpp1997 , fBackdrop(SkSafeRef(rec.fBackdrop)) in SaveLayerCommand()

Completed in 17 milliseconds