Searched refs:callbackContext (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 157 PromiseImageCallbackContext* callbackContext = info->callbackContext(j); in CreateBETexturesForPromiseImage() local 158 SkASSERT(callbackContext); in CreateBETexturesForPromiseImage() 161 callbackContext->setBackendTexture(create_yuva_texture(direct, yuvPixmap, j)); in CreateBETexturesForPromiseImage() 162 SkASSERT(callbackContext->promiseImageTexture()); in CreateBETexturesForPromiseImage() 165 PromiseImageCallbackContext* callbackContext = info->callbackContext(0); in CreateBETexturesForPromiseImage() local 166 if (!callbackContext) { in CreateBETexturesForPromiseImage() 190 callbackContext->setBackendTexture(backendTex); in CreateBETexturesForPromiseImage() 198 PromiseImageCallbackContext* callbackContext = info->callbackContext(j); in DeleteBETexturesForPromiseImage() local 199 SkASSERT(callbackContext); in DeleteBETexturesForPromiseImage() 201 callbackContext->destroyBackendTexture(); in DeleteBETexturesForPromiseImage() [all …]
|
D | DDLPromiseImageHelper.h | 65 auto callbackContext = static_cast<PromiseImageCallbackContext*>(textureContext); in PromiseImageFulfillProc() local 66 return callbackContext->fulfill(); in PromiseImageFulfillProc() 70 auto callbackContext = static_cast<PromiseImageCallbackContext*>(textureContext); in PromiseImageReleaseProc() local 71 callbackContext->release(); in PromiseImageReleaseProc() 72 callbackContext->unref(); in PromiseImageReleaseProc() 165 void setCallbackContext(int index, sk_sp<PromiseImageCallbackContext> callbackContext) { in setCallbackContext() argument 167 fCallbackContexts[index] = callbackContext; in setCallbackContext() 169 PromiseImageCallbackContext* callbackContext(int index) const { in callbackContext() function
|
/third_party/flutter/skia/tools/ |
D | DDLPromiseImageHelper.h | 159 void setCallbackContext(int index, sk_sp<PromiseImageCallbackContext> callbackContext) { in setCallbackContext() argument 161 fCallbackContexts[index] = callbackContext; in setCallbackContext() 163 PromiseImageCallbackContext* callbackContext(int index) const { in callbackContext() function 220 auto callbackContext = static_cast<PromiseImageCallbackContext*>(textureContext); in PromiseImageFulfillProc() local 221 return callbackContext->fulfill(); in PromiseImageFulfillProc() 225 auto callbackContext = static_cast<PromiseImageCallbackContext*>(textureContext); in PromiseImageReleaseProc() local 226 callbackContext->release(); in PromiseImageReleaseProc() 230 auto callbackContext = static_cast<PromiseImageCallbackContext*>(textureContext); in PromiseImageDoneProc() local 231 callbackContext->done(); in PromiseImageDoneProc() 232 callbackContext->unref(); in PromiseImageDoneProc()
|
D | DDLPromiseImageHelper.cpp | 108 sk_sp<PromiseImageCallbackContext> callbackContext( in uploadAllToGPU() local 111 callbackContext->setBackendTexture(create_yuva_texture(context, yuvPixmap, in uploadAllToGPU() 113 SkASSERT(callbackContext->promiseImageTexture()); in uploadAllToGPU() 115 fImageInfo[i].setCallbackContext(j, std::move(callbackContext)); in uploadAllToGPU() 118 sk_sp<PromiseImageCallbackContext> callbackContext( in uploadAllToGPU() local 127 callbackContext->setBackendTexture(backendTex); in uploadAllToGPU() 132 fImageInfo[i].setCallbackContext(0, std::move(callbackContext)); in uploadAllToGPU() 209 curImage.callbackContext(i)->wasAddedToImage(); in PromiseImageCreator() 243 curImage.callbackContext(0)->wasAddedToImage(); in PromiseImageCreator()
|
/third_party/skia/src/gpu/ |
D | SurfaceContext.cpp | 549 ReadPixelsContext callbackContext) { in asyncRescaleAndReadPixels() argument 551 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 556 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 560 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 565 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 584 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 593 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 603 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 615 callbackContext); in asyncRescaleAndReadPixels() 717 ReadPixelsContext callbackContext) { in asyncReadPixels() argument [all …]
|
D | SurfaceContext.h | 100 ReadPixelsContext callbackContext);
|