/external/skia/tests/ |
D | TextureProxyTest.cpp | 42 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_tex() argument 48 proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, fit, in deferred_tex() 56 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_texRT() argument 62 … proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, fit, SkBudgeted::kYes); in deferred_texRT() 69 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped() argument 72 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy( in wrapped() 80 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped_with_key() argument 93 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy( in wrapped_with_key() 95 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in wrapped_with_key() 102 GrProxyProvider* proxyProvider = context->priv().proxyProvider(); in create_wrapped_backend() local [all …]
|
D | LazyProxyTest.cpp | 61 GrProxyProvider* proxyProvider, in Make() argument 66 return pool->allocate<Op>(context, proxyProvider, test, nullTexture); in Make() 81 Op(GrRecordingContext* ctx, GrProxyProvider* proxyProvider, in Op() argument 106 kRGB_565_GrPixelConfig, *proxyProvider->caps()); in Op() 126 ClipFP(GrRecordingContext* ctx, GrProxyProvider* proxyProvider, LazyProxyTest* test, in ClipFP() argument 130 , fProxyProvider(proxyProvider) in ClipFP() 149 kAlpha_half_GrPixelConfig, *proxyProvider->caps()); in ClipFP() 183 GrProxyProvider* proxyProvider = context->priv().proxyProvider(); in apply() local 184 out->addCoverageFP(skstd::make_unique<ClipFP>(context, proxyProvider, fTest, fAtlas)); in apply() 212 GrProxyProvider* proxyProvider = ctx->priv().proxyProvider(); variable [all …]
|
D | ResourceAllocatorTest.cpp | 34 static GrSurfaceProxy* make_deferred(GrProxyProvider* proxyProvider, const GrCaps* caps, in make_deferred() argument 48 auto tmp = proxyProvider->createProxy(format, desc, p.fOrigin, p.fFit, SkBudgeted::kNo); in make_deferred() 62 GrProxyProvider* proxyProvider = context->priv().proxyProvider(); in make_backend() local 72 auto tmp = proxyProvider->wrapBackendTexture(*backendTex, p.fOrigin, kBorrow_GrWrapOwnership, in make_backend() 142 GrProxyProvider* proxyProvider = ctxInfo.grContext()->priv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 181 GrSurfaceProxy* p1 = make_deferred(proxyProvider, caps, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 182 GrSurfaceProxy* p2 = make_deferred(proxyProvider, caps, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 223 GrSurfaceProxy* p1 = make_deferred(proxyProvider, caps, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 224 GrSurfaceProxy* p2 = make_deferred(proxyProvider, caps, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 244 GrSurfaceProxy* p2 = make_deferred(proxyProvider, caps, t[0].fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | ProxyRefTest.cpp | 64 static sk_sp<GrTextureProxy> make_deferred(GrProxyProvider* proxyProvider, const GrCaps* caps) { in make_deferred() argument 72 return proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, in make_deferred() 77 static sk_sp<GrTextureProxy> make_wrapped(GrProxyProvider* proxyProvider, const GrCaps* caps) { in make_wrapped() argument 84 return proxyProvider->testingOnly_createInstantiatedProxy( in make_wrapped() 89 GrProxyProvider* proxyProvider = ctxInfo.grContext()->priv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 96 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 116 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 136 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 156 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 180 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ProxyConversionTest.cpp | 61 GrProxyProvider* proxyProvider = ctxInfo.grContext()->priv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 73 make_wrapped_rt(proxyProvider, gpu, reporter, desc, kBottomLeft_GrSurfaceOrigin)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 87 make_offscreen_rt(proxyProvider, desc, kBottomLeft_GrSurfaceOrigin)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 102 make_texture(proxyProvider, desc, kBottomLeft_GrSurfaceOrigin)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 118 make_texture(proxyProvider, desc, kBottomLeft_GrSurfaceOrigin)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 132 GrProxyProvider* proxyProvider = ctxInfo.grContext()->priv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 144 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 157 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 172 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ProcessorTest.cpp | 161 GrProxyProvider* proxyProvider = context->priv().proxyProvider(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 178 sk_sp<GrTextureProxy> proxy1 = proxyProvider->createProxy( in DEF_GPUTEST_FOR_ALL_CONTEXTS() 181 sk_sp<GrTextureProxy> proxy2 = proxyProvider->createProxy( in DEF_GPUTEST_FOR_ALL_CONTEXTS() 184 sk_sp<GrTextureProxy> proxy3 = proxyProvider->createProxy( in DEF_GPUTEST_FOR_ALL_CONTEXTS() 187 sk_sp<GrTextureProxy> proxy4 = proxyProvider->createProxy( in DEF_GPUTEST_FOR_ALL_CONTEXTS() 288 bool init_test_textures(GrProxyProvider* proxyProvider, SkRandom* random, in init_test_textures() argument 306 proxies[0] = proxyProvider->createTextureProxy(img, kNone_GrSurfaceFlags, 1, in init_test_textures() 323 proxies[1] = proxyProvider->createTextureProxy(img, kNone_GrSurfaceFlags, 1, in init_test_textures() 332 sk_sp<GrTextureProxy> make_input_texture(GrProxyProvider* proxyProvider, int width, int height, in make_input_texture() argument 344 return proxyProvider->createTextureProxy(img, kNone_GrSurfaceFlags, 1, in make_input_texture() [all …]
|
D | ProxyTest.cpp | 108 GrProxyProvider* proxyProvider = ctxInfo.grContext()->priv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 150 proxyProvider->createProxy(format, desc, origin, fit, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 185 proxyProvider->createProxy(format, desc, origin, fit, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 213 GrProxyProvider* proxyProvider = ctxInfo.grContext()->priv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 231 proxyProvider->wrapBackendRenderTarget(backendRT, origin, nullptr, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 262 proxyProvider->wrapBackendRenderTarget(backendRT, origin, nullptr, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 278 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapBackendTextureAsRenderTarget( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 303 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapRenderableBackendTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 330 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapBackendTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 352 GrProxyProvider* provider = ctxInfo.grContext()->priv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/tests/ |
D | TextureProxyTest.cpp | 42 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_tex() argument 48 proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, fit, in deferred_tex() 56 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_texRT() argument 62 … proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, fit, SkBudgeted::kYes); in deferred_texRT() 69 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped() argument 72 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy( in wrapped() 80 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped_with_key() argument 93 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy( in wrapped_with_key() 95 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in wrapped_with_key() 102 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in create_wrapped_backend() local [all …]
|
D | LazyProxyTest.cpp | 59 GrProxyProvider* proxyProvider, in Make() argument 64 return pool->allocate<Op>(context, proxyProvider, test, nullTexture); in Make() 79 Op(GrContext* ctx, GrProxyProvider* proxyProvider, LazyProxyTest* test, bool nullTexture) in Op() argument 103 kRGB_565_GrPixelConfig, *proxyProvider->caps()); in Op() 122 ClipFP(GrContext* ctx, GrProxyProvider* proxyProvider, LazyProxyTest* test, in ClipFP() argument 126 , fProxyProvider(proxyProvider) in ClipFP() 145 kAlpha_half_GrPixelConfig, *proxyProvider->caps()); in ClipFP() 179 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in apply() local 180 out->addCoverageFP(skstd::make_unique<ClipFP>(context, proxyProvider, fTest, fAtlas)); in apply() 208 GrProxyProvider* proxyProvider = ctx->contextPriv().proxyProvider(); variable [all …]
|
D | ResourceAllocatorTest.cpp | 34 static GrSurfaceProxy* make_deferred(GrProxyProvider* proxyProvider, const GrCaps* caps, in make_deferred() argument 48 auto tmp = proxyProvider->createProxy(format, desc, p.fOrigin, p.fFit, SkBudgeted::kNo); in make_deferred() 62 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in make_backend() local 72 auto tmp = proxyProvider->wrapBackendTexture(*backendTex, p.fOrigin, kBorrow_GrWrapOwnership, in make_backend() 142 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 181 GrSurfaceProxy* p1 = make_deferred(proxyProvider, caps, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 182 GrSurfaceProxy* p2 = make_deferred(proxyProvider, caps, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 223 GrSurfaceProxy* p1 = make_deferred(proxyProvider, caps, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 224 GrSurfaceProxy* p2 = make_deferred(proxyProvider, caps, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 244 GrSurfaceProxy* p2 = make_deferred(proxyProvider, caps, t[0].fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | ProxyRefTest.cpp | 64 static sk_sp<GrTextureProxy> make_deferred(GrProxyProvider* proxyProvider, const GrCaps* caps) { in make_deferred() argument 72 return proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, in make_deferred() 77 static sk_sp<GrTextureProxy> make_wrapped(GrProxyProvider* proxyProvider, const GrCaps* caps) { in make_wrapped() argument 84 return proxyProvider->testingOnly_createInstantiatedProxy( in make_wrapped() 89 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 96 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 116 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 136 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 156 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 180 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ProxyConversionTest.cpp | 61 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 73 make_wrapped_rt(proxyProvider, gpu, reporter, desc, kBottomLeft_GrSurfaceOrigin)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 87 make_offscreen_rt(proxyProvider, desc, kBottomLeft_GrSurfaceOrigin)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 102 make_texture(proxyProvider, desc, kBottomLeft_GrSurfaceOrigin)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 118 make_texture(proxyProvider, desc, kBottomLeft_GrSurfaceOrigin)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 132 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 144 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 157 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 172 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ProcessorTest.cpp | 157 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() local 174 sk_sp<GrTextureProxy> proxy1 = proxyProvider->createProxy( in DEF_GPUTEST_FOR_ALL_CONTEXTS() 177 sk_sp<GrTextureProxy> proxy2 = proxyProvider->createProxy( in DEF_GPUTEST_FOR_ALL_CONTEXTS() 180 sk_sp<GrTextureProxy> proxy3 = proxyProvider->createProxy( in DEF_GPUTEST_FOR_ALL_CONTEXTS() 183 sk_sp<GrTextureProxy> proxy4 = proxyProvider->createProxy( in DEF_GPUTEST_FOR_ALL_CONTEXTS() 281 bool init_test_textures(GrProxyProvider* proxyProvider, SkRandom* random, in init_test_textures() argument 299 proxies[0] = proxyProvider->createTextureProxy(img, kNone_GrSurfaceFlags, 1, in init_test_textures() 316 proxies[1] = proxyProvider->createTextureProxy(img, kNone_GrSurfaceFlags, 1, in init_test_textures() 325 sk_sp<GrTextureProxy> make_input_texture(GrProxyProvider* proxyProvider, int width, int height, in make_input_texture() argument 337 return proxyProvider->createTextureProxy(img, kNone_GrSurfaceFlags, 1, in make_input_texture() [all …]
|
D | ProxyTest.cpp | 108 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 150 proxyProvider->createProxy(format, desc, origin, fit, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 185 proxyProvider->createProxy(format, desc, origin, fit, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 213 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 231 proxyProvider->wrapBackendRenderTarget(backendRT, origin)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 261 proxyProvider->wrapBackendRenderTarget(backendRT, origin)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 276 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapBackendTextureAsRenderTarget( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 301 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapRenderableBackendTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 328 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapBackendTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 350 GrProxyProvider* provider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/src/gpu/ |
D | GrOnFlushResourceProvider.cpp | 45 auto proxyProvider = fDrawingMgr->getContext()->priv().proxyProvider(); in assignUniqueKeyToProxy() local 46 return proxyProvider->assignUniqueKeyToProxy(key, proxy); in assignUniqueKeyToProxy() 50 auto proxyProvider = fDrawingMgr->getContext()->priv().proxyProvider(); in removeUniqueKeyFromProxy() local 51 proxyProvider->removeUniqueKeyFromProxy(proxy); in removeUniqueKeyFromProxy() 55 auto proxyProvider = fDrawingMgr->getContext()->priv().proxyProvider(); in processInvalidUniqueKey() local 56 proxyProvider->processInvalidUniqueKey(key, nullptr, in processInvalidUniqueKey() 62 auto proxyProvider = fDrawingMgr->getContext()->priv().proxyProvider(); in findOrCreateProxyByUniqueKey() local 63 return proxyProvider->findOrCreateProxyByUniqueKey(key, origin); in findOrCreateProxyByUniqueKey()
|
D | GrBitmapTextureMaker.cpp | 40 GrProxyProvider* proxyProvider = this->context()->priv().proxyProvider(); in refOriginalTextureProxy() local 44 proxy = proxyProvider->findOrCreateProxyByUniqueKey(fOriginalKey, kTopLeft_GrSurfaceOrigin); in refOriginalTextureProxy() 52 proxy = proxyProvider->createMipMapProxyFromBitmap(fBitmap); in refOriginalTextureProxy() 55 proxy = GrUploadBitmapToTextureProxy(proxyProvider, fBitmap); in refOriginalTextureProxy() 59 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, proxy.get()); in refOriginalTextureProxy() 65 fOriginalKey, proxyProvider->contextID(), fBitmap.pixelRef()); in refOriginalTextureProxy() 88 proxyProvider->removeUniqueKeyFromProxy(proxy.get()); in refOriginalTextureProxy() 89 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, mippedProxy.get()); in refOriginalTextureProxy() 90 GrInstallBitmapUniqueKeyInvalidator(fOriginalKey, proxyProvider->contextID(), in refOriginalTextureProxy()
|
D | SkGr.cpp | 111 sk_sp<GrTextureProxy> GrUploadBitmapToTextureProxy(GrProxyProvider* proxyProvider, in GrUploadBitmapToTextureProxy() argument 124 SkCopyPixelsMode cpyMode = proxyProvider->renderingDirectly() ? kNever_SkCopyPixelsMode in GrUploadBitmapToTextureProxy() 128 return proxyProvider->createTextureProxy(std::move(image), kNone_GrSurfaceFlags, 1, in GrUploadBitmapToTextureProxy() 158 GrProxyProvider* proxyProvider = ctx->priv().proxyProvider(); in GrCopyBaseMipMapToTextureProxy() local 172 proxyProvider->createMipMapProxy(format, desc, baseProxy->origin(), SkBudgeted::kYes); in GrCopyBaseMipMapToTextureProxy() 192 sk_sp<GrTextureProxy> GrMakeCachedBitmapProxy(GrProxyProvider* proxyProvider, in GrMakeCachedBitmapProxy() argument 202 SkCopyPixelsMode cpyMode = proxyProvider->renderingDirectly() ? kNever_SkCopyPixelsMode in GrMakeCachedBitmapProxy() 210 return GrMakeCachedImageProxy(proxyProvider, std::move(image), fit); in GrMakeCachedBitmapProxy() 231 sk_sp<GrTextureProxy> GrMakeCachedImageProxy(GrProxyProvider* proxyProvider, in GrMakeCachedImageProxy() argument 240 proxy = proxyProvider->findOrCreateProxyByUniqueKey(originalKey, kTopLeft_GrSurfaceOrigin); in GrMakeCachedImageProxy() [all …]
|
D | GrTextureMaker.cpp | 50 GrProxyProvider* proxyProvider = this->context()->priv().proxyProvider(); in onRefTextureProxyForParams() local 57 cachedProxy = proxyProvider->findOrCreateProxyByUniqueKey(copyKey, origOrigin); in onRefTextureProxyForParams() 98 proxyProvider->removeUniqueKeyFromProxy(cachedProxy.get()); in onRefTextureProxyForParams() 100 proxyProvider->assignUniqueKeyToProxy(copyKey, result.get()); in onRefTextureProxyForParams() 101 this->didCacheCopy(copyKey, proxyProvider->contextID()); in onRefTextureProxyForParams()
|
D | GrImageContextPriv.h | 39 GrProxyProvider* proxyProvider() { return fContext->proxyProvider(); } in proxyProvider() function 40 const GrProxyProvider* proxyProvider() const { return fContext->proxyProvider(); } in proxyProvider() function
|
/external/skqp/src/gpu/ |
D | GrOnFlushResourceProvider.cpp | 43 auto proxyProvider = fDrawingMgr->getContext()->contextPriv().proxyProvider(); in assignUniqueKeyToProxy() local 44 return proxyProvider->assignUniqueKeyToProxy(key, proxy); in assignUniqueKeyToProxy() 48 auto proxyProvider = fDrawingMgr->getContext()->contextPriv().proxyProvider(); in removeUniqueKeyFromProxy() local 49 proxyProvider->removeUniqueKeyFromProxy(proxy); in removeUniqueKeyFromProxy() 53 auto proxyProvider = fDrawingMgr->getContext()->contextPriv().proxyProvider(); in processInvalidUniqueKey() local 54 proxyProvider->processInvalidUniqueKey(key, nullptr, in processInvalidUniqueKey() 60 auto proxyProvider = fDrawingMgr->getContext()->contextPriv().proxyProvider(); in findOrCreateProxyByUniqueKey() local 61 return proxyProvider->findOrCreateProxyByUniqueKey(key, origin); in findOrCreateProxyByUniqueKey()
|
D | GrBitmapTextureMaker.cpp | 39 GrProxyProvider* proxyProvider = this->context()->contextPriv().proxyProvider(); in refOriginalTextureProxy() local 43 proxy = proxyProvider->findOrCreateProxyByUniqueKey(fOriginalKey, kTopLeft_GrSurfaceOrigin); in refOriginalTextureProxy() 51 proxy = proxyProvider->createMipMapProxyFromBitmap(fBitmap); in refOriginalTextureProxy() 54 proxy = GrUploadBitmapToTextureProxy(proxyProvider, fBitmap); in refOriginalTextureProxy() 58 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, proxy.get()); in refOriginalTextureProxy() 64 fOriginalKey, proxyProvider->contextUniqueID(), fBitmap.pixelRef()); in refOriginalTextureProxy() 87 proxyProvider->removeUniqueKeyFromProxy(proxy.get()); in refOriginalTextureProxy() 88 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, mippedProxy.get()); in refOriginalTextureProxy() 89 GrInstallBitmapUniqueKeyInvalidator(fOriginalKey, proxyProvider->contextUniqueID(), in refOriginalTextureProxy()
|
D | SkGr.cpp | 109 sk_sp<GrTextureProxy> GrUploadBitmapToTextureProxy(GrProxyProvider* proxyProvider, in GrUploadBitmapToTextureProxy() argument 122 SkCopyPixelsMode cpyMode = proxyProvider->recordingDDL() ? kIfMutable_SkCopyPixelsMode in GrUploadBitmapToTextureProxy() 126 return proxyProvider->createTextureProxy(std::move(image), kNone_GrSurfaceFlags, 1, in GrUploadBitmapToTextureProxy() 155 GrProxyProvider* proxyProvider = ctx->contextPriv().proxyProvider(); in GrCopyBaseMipMapToTextureProxy() local 169 proxyProvider->createMipMapProxy(format, desc, baseProxy->origin(), SkBudgeted::kYes); in GrCopyBaseMipMapToTextureProxy() 190 sk_sp<GrTextureProxy> GrMakeCachedBitmapProxy(GrProxyProvider* proxyProvider, in GrMakeCachedBitmapProxy() argument 200 SkCopyPixelsMode cpyMode = proxyProvider->recordingDDL() ? kIfMutable_SkCopyPixelsMode in GrMakeCachedBitmapProxy() 208 return GrMakeCachedImageProxy(proxyProvider, std::move(image), fit); in GrMakeCachedBitmapProxy() 229 sk_sp<GrTextureProxy> GrMakeCachedImageProxy(GrProxyProvider* proxyProvider, in GrMakeCachedImageProxy() argument 238 proxy = proxyProvider->findOrCreateProxyByUniqueKey(originalKey, kTopLeft_GrSurfaceOrigin); in GrMakeCachedImageProxy() [all …]
|
D | GrTextureMaker.cpp | 50 GrProxyProvider* proxyProvider = fContext->contextPriv().proxyProvider(); in onRefTextureProxyForParams() local 57 cachedProxy = proxyProvider->findOrCreateProxyByUniqueKey(copyKey, origOrigin); in onRefTextureProxyForParams() 98 proxyProvider->removeUniqueKeyFromProxy(cachedProxy.get()); in onRefTextureProxyForParams() 100 proxyProvider->assignUniqueKeyToProxy(copyKey, result.get()); in onRefTextureProxyForParams() 101 this->didCacheCopy(copyKey, proxyProvider->contextUniqueID()); in onRefTextureProxyForParams()
|
/external/skia/src/gpu/effects/ |
D | GrRectBlurEffect.h | 23 static sk_sp<GrTextureProxy> CreateBlurProfileTexture(GrProxyProvider* proxyProvider, in CreateBlurProfileTexture() argument 34 proxyProvider->findOrCreateProxyByUniqueKey(key, kTopLeft_GrSurfaceOrigin)); in CreateBlurProfileTexture() 52 proxyProvider->createTextureProxy(std::move(image), kNone_GrSurfaceFlags, 1, in CreateBlurProfileTexture() 59 proxyProvider->assignUniqueKeyToProxy(key, blurProfile.get()); in CreateBlurProfileTexture() 67 static std::unique_ptr<GrFragmentProcessor> Make(GrProxyProvider* proxyProvider, in Make() argument 87 sk_sp<GrTextureProxy> blurProfile(CreateBlurProfileTexture(proxyProvider, sigma)); in Make()
|
/external/skqp/src/gpu/effects/ |
D | GrRectBlurEffect.h | 22 static sk_sp<GrTextureProxy> CreateBlurProfileTexture(GrProxyProvider* proxyProvider, in CreateBlurProfileTexture() argument 33 proxyProvider->findOrCreateProxyByUniqueKey(key, kTopLeft_GrSurfaceOrigin)); in CreateBlurProfileTexture() 51 proxyProvider->createTextureProxy(std::move(image), kNone_GrSurfaceFlags, 1, in CreateBlurProfileTexture() 58 proxyProvider->assignUniqueKeyToProxy(key, blurProfile.get()); in CreateBlurProfileTexture() 66 static std::unique_ptr<GrFragmentProcessor> Make(GrProxyProvider* proxyProvider, in Make() argument 86 sk_sp<GrTextureProxy> blurProfile(CreateBlurProfileTexture(proxyProvider, sigma)); in Make()
|