Home
last modified time | relevance | path

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

/third_party/skia/tests/
DPromiseImageTest.cpp144 sk_sp<SkImage> refImg(SkImage_Gpu::MakePromiseTexture(ctx->threadSafeProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
251 sk_sp<SkImage> image(SkImage_Gpu::MakePromiseTexture(ctx->threadSafeProxy(), in DEF_GPUTEST()
295 sk_sp<SkImage> image(SkImage_Gpu::MakePromiseTexture(dContext->threadSafeProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
374 sk_sp<SkImage> refImg(SkImage_Gpu::MakePromiseTexture(dContext->threadSafeProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DDeferredDisplayListTest.cpp200 SkSurfaceCharacterization c = dContext->threadSafeProxy()->createCharacterization( in createCharacterization()
627 sk_sp<GrContextThreadSafeProxy> proxy = context->threadSafeProxy(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
925 auto proxy = dContext->threadSafeProxy().get(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1075 canvas->recordingContext()->threadSafeProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1193 recorder.getCanvas()->recordingContext()->threadSafeProxy(), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DImageTest.cpp1085 sk_sp<GrContextThreadSafeProxy> proxy = context->threadSafeProxy(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/third_party/skia/src/image/
DSkImage_GpuYUVA.cpp331 sk_sp<SkImage> SkImage::MakePromiseYUVATexture(sk_sp<GrContextThreadSafeProxy> threadSafeProxy, in MakePromiseYUVATexture() argument
352 if (!threadSafeProxy) { in MakePromiseYUVATexture()
367 proxies[i] = SkImage_GpuBase::MakePromiseImageLazyProxy(threadSafeProxy.get(), in MakePromiseYUVATexture()
381 sk_sp<GrImageContext> ctx(GrImageContextPriv::MakeForPromiseImage(std::move(threadSafeProxy))); in MakePromiseYUVATexture()
DSkImage_Gpu.cpp571 sk_sp<SkImage> SkImage::MakePromiseTexture(sk_sp<GrContextThreadSafeProxy> threadSafeProxy, in MakePromiseTexture() argument
591 if (!threadSafeProxy) { in MakePromiseTexture()
604 if (!threadSafeProxy->priv().caps()->areColorTypeAndFormatCompatible(grColorType, in MakePromiseTexture()
609 auto proxy = SkImage_GpuBase::MakePromiseImageLazyProxy(threadSafeProxy.get(), in MakePromiseTexture()
618 GrSwizzle swizzle = threadSafeProxy->priv().caps()->getReadSwizzle(backendFormat, grColorType); in MakePromiseTexture()
620 sk_sp<GrImageContext> ctx(GrImageContextPriv::MakeForPromiseImage(std::move(threadSafeProxy))); in MakePromiseTexture()
DSkSurface_Gpu.cpp259 direct->threadSafeProxy(), in onCharacterize()
/third_party/skia/src/core/
DSkDeferredDisplayListRecorder.cpp226 return SkImage::MakePromiseTexture(fContext->threadSafeProxy(), in makePromiseTexture()
248 return SkImage::MakePromiseYUVATexture(fContext->threadSafeProxy(), in makeYUVAPromiseTexture()
/third_party/skia/tools/
DDDLTileHelper.cpp82 recordingCanvas->recordingContext()->threadSafeProxy()); in createComposeDDL()
171 sk_sp<GrContextThreadSafeProxy> threadSafeProxy) { in makePromiseImageForDst() argument
176 SkImage::MakePromiseTexture(std::move(threadSafeProxy), in makePromiseImageForDst()
DDDLPromiseImageHelper.cpp118 return this->reinflateSKP(dContext->threadSafeProxy(), compressedPictureData.get()); in recreateSKP()
289 sk_sp<GrContextThreadSafeProxy> threadSafeProxy, in reinflateSKP() argument
291 DeserialImageProcContext procContext { std::move(threadSafeProxy), this }; in reinflateSKP()
/third_party/skia/include/private/
DGrContext_Base.h49 sk_sp<GrContextThreadSafeProxy> threadSafeProxy();
/third_party/skia/src/gpu/
DGrContext_Base.cpp47 sk_sp<GrContextThreadSafeProxy> GrContext_Base::threadSafeProxy() { return fThreadSafeProxy; } in threadSafeProxy() function in GrContext_Base
DGrContextThreadSafeProxyPriv.h27 return fProxy == candidate->threadSafeProxy().get(); in matches()
DGrProxyProvider.cpp725 sk_sp<GrTextureProxy> GrProxyProvider::CreatePromiseProxy(GrContextThreadSafeProxy* threadSafeProxy, in CreatePromiseProxy() argument
730 if (threadSafeProxy->priv().abandoned()) { in CreatePromiseProxy()
736 if (dimensions.fWidth > threadSafeProxy->priv().caps()->maxTextureSize() || in CreatePromiseProxy()
737 dimensions.fHeight > threadSafeProxy->priv().caps()->maxTextureSize()) { in CreatePromiseProxy()
DGrDirectContext.cpp108 sk_sp<GrContextThreadSafeProxy> GrDirectContext::threadSafeProxy() { in threadSafeProxy() function in GrDirectContext
109 return INHERITED::threadSafeProxy(); in threadSafeProxy()
/third_party/skia/bench/
DDDLRecorderBench.cpp35 SkSurfaceCharacterization c = direct->threadSafeProxy()->createCharacterization( in create_characterization()
/third_party/flutter/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp102 characterization->set(ctx->threadSafeProxy(), maxResourceBytes, ii, format, in characterize()
/third_party/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp117 characterization->set(direct->threadSafeProxy(), in characterize()
/third_party/skia/fuzz/
DFuzzCreateDDL.cpp146 c = dContext->threadSafeProxy()->createCharacterization( in make_characterization()
DFuzzDDLThreading.cpp222 promiseImage.fImage = SkImage::MakePromiseTexture(fContext->threadSafeProxy(), in initPromiseImage()
/third_party/flutter/skia/include/gpu/
DGrContext.h84 sk_sp<GrContextThreadSafeProxy> threadSafeProxy();
/third_party/skia/include/gpu/
DGrDirectContext.h167 sk_sp<GrContextThreadSafeProxy> threadSafeProxy();
/third_party/flutter/skia/src/gpu/
DGrContext.cpp103 sk_sp<GrContextThreadSafeProxy> GrContext::threadSafeProxy() { in threadSafeProxy() function in GrContext
/third_party/flutter/skia/src/image/
DSkSurface_Gpu.cpp213 characterization->set(ctx->threadSafeProxy(), maxResourceBytes, ii, format, in onCharacterize()
/third_party/flutter/skia/tests/
DDeferredDisplayListTest.cpp159 SkSurfaceCharacterization c = context->threadSafeProxy()->createCharacterization( in createCharacterization()
DImageTest.cpp1057 sk_sp<GrContextThreadSafeProxy> proxy = context->threadSafeProxy(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()