Home
last modified time | relevance | path

Searched refs:fRefHelper (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/
DGrBackendTextureImageGenerator.cpp72 , fRefHelper(new RefHelper(texture, owningContextID)) in GrBackendTextureImageGenerator()
79 fRefHelper->unref(); in ~GrBackendTextureImageGenerator()
110 if (SK_InvalidGenID != fRefHelper->fBorrowingContextID) { in onGenerateTexture()
111 if (fRefHelper->fBorrowingContextID != context->priv().contextID()) { in onGenerateTexture()
115 SkASSERT(fRefHelper->fBorrowingContextReleaseProc); in onGenerateTexture()
117 releaseProcHelper = sk_ref_sp(fRefHelper->fBorrowingContextReleaseProc); in onGenerateTexture()
120 SkASSERT(!fRefHelper->fBorrowingContextReleaseProc); in onGenerateTexture()
123 fRefHelper->ref(); in onGenerateTexture()
125 new GrRefCntedCallback(ReleaseRefHelper_TextureReleaseProc, fRefHelper)); in onGenerateTexture()
126 fRefHelper->fBorrowingContextReleaseProc = releaseProcHelper.get(); in onGenerateTexture()
[all …]
DGrBackendTextureImageGenerator.h80 RefHelper* fRefHelper; variable
/external/skqp/src/gpu/
DGrBackendTextureImageGenerator.cpp70 , fRefHelper(new RefHelper(texture, owningContextID)) in GrBackendTextureImageGenerator()
77 fRefHelper->unref(); in ~GrBackendTextureImageGenerator()
107 if (SK_InvalidGenID != fRefHelper->fBorrowingContextID) { in onGenerateTexture()
108 if (fRefHelper->fBorrowingContextID != context->contextPriv().contextID()) { in onGenerateTexture()
112 SkASSERT(fRefHelper->fBorrowingContextReleaseProc); in onGenerateTexture()
114 releaseProcHelper = sk_ref_sp(fRefHelper->fBorrowingContextReleaseProc); in onGenerateTexture()
117 SkASSERT(!fRefHelper->fBorrowingContextReleaseProc); in onGenerateTexture()
120 fRefHelper->ref(); in onGenerateTexture()
122 fRefHelper)); in onGenerateTexture()
123 fRefHelper->fBorrowingContextReleaseProc = releaseProcHelper.get(); in onGenerateTexture()
[all …]
DGrBackendTextureImageGenerator.h80 RefHelper* fRefHelper; variable