Home
last modified time | relevance | path

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

1234567

/external/skia/tests/
DTextureProxyTest.cpp46 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_tex() argument
49 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, fit, SkBudgeted::kYes); in deferred_tex()
56 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_texRT() argument
59 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, fit, SkBudgeted::kYes); in deferred_texRT()
66 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped() argument
69 sk_sp<GrTextureProxy> proxy = proxyProvider->createInstantiatedProxy(desc, fit, in wrapped()
77 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped_with_key() argument
90 sk_sp<GrTextureProxy> proxy = proxyProvider->createInstantiatedProxy(desc, fit, in wrapped_with_key()
92 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in wrapped_with_key()
99 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in create_wrapped_backend() local
[all …]
DLazyProxyTest.cpp58 Op(GrProxyProvider* proxyProvider, LazyProxyTest* test, bool nullTexture) in Op() argument
60 fProxy = proxyProvider->createFullyLazyProxy([this, nullTexture]( in Op()
109 ClipFP(GrProxyProvider* proxyProvider, LazyProxyTest* test, GrTextureProxy* atlas) in ClipFP() argument
111 , fProxyProvider(proxyProvider) in ClipFP()
114 fLazyProxy = proxyProvider->createFullyLazyProxy( in ClipFP()
158 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in apply() local
159 out->addCoverageFP(skstd::make_unique<ClipFP>(proxyProvider, fTest, fAtlas)); in apply()
187 GrProxyProvider* proxyProvider = ctx->contextPriv().proxyProvider(); variable
200 skstd::make_unique<LazyProxyTest::Op>(proxyProvider, &test, nullTexture));
210 auto proxyProvider = ctx->contextPriv().proxyProvider(); variable
[all …]
DProxyRefTest.cpp69 static sk_sp<GrTextureProxy> make_deferred(GrProxyProvider* proxyProvider) { in make_deferred() argument
77 return proxyProvider->createProxy(desc, SkBackingFit::kApprox, SkBudgeted::kYes, in make_deferred()
81 static sk_sp<GrTextureProxy> make_wrapped(GrProxyProvider* proxyProvider) { in make_wrapped() argument
89 return proxyProvider->createInstantiatedProxy(desc, SkBackingFit::kExact, SkBudgeted::kNo); in make_wrapped()
93 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
99 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
117 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
135 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
153 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
175 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyConversionTest.cpp48 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
59 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_FBO0(proxyProvider, reporter, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
71 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_offscreen_rt(proxyProvider, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
85 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(proxyProvider, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(proxyProvider, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
114 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
124 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
137 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
153 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DResourceAllocatorTest.cpp34 static sk_sp<GrSurfaceProxy> make_deferred(GrProxyProvider* proxyProvider, const ProxyParams& p) { in make_deferred() argument
43 return proxyProvider->createProxy(desc, p.fFit, SkBudgeted::kNo); in make_deferred()
48 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in make_backend() local
55 return proxyProvider->createWrappedTextureProxy(*backendTex, p.fOrigin); in make_backend()
113 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
152 sk_sp<GrSurfaceProxy> p1 = make_deferred(proxyProvider, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
153 sk_sp<GrSurfaceProxy> p2 = make_deferred(proxyProvider, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
191 sk_sp<GrSurfaceProxy> p1 = make_deferred(proxyProvider, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
192 sk_sp<GrSurfaceProxy> p2 = make_deferred(proxyProvider, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
208 sk_sp<GrSurfaceProxy> p2 = make_deferred(proxyProvider, t[0].fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProcessorTest.cpp160 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() local
177 proxyProvider->createProxy(desc, SkBackingFit::kExact, SkBudgeted::kYes); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
179 proxyProvider->createProxy(desc, SkBackingFit::kExact, SkBudgeted::kYes); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
181 proxyProvider->createProxy(desc, SkBackingFit::kExact, SkBudgeted::kYes); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
183 proxyProvider->createProxy(desc, SkBackingFit::kExact, SkBudgeted::kYes); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
293 bool init_test_textures(GrProxyProvider* proxyProvider, SkRandom* random, in init_test_textures() argument
312 proxies[0] = proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, in init_test_textures()
327 proxies[1] = proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, in init_test_textures()
336 sk_sp<GrTextureProxy> make_input_texture(GrProxyProvider* proxyProvider, int width, int height) { in make_input_texture() argument
349 return proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, in make_input_texture()
[all …]
DProxyTest.cpp98 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
127 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
160 sk_sp<GrTextureProxy> proxy(proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
188 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
218 sk_sp<GrSurfaceProxy> sProxy(proxyProvider->createWrappedRenderTargetProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
235 proxyProvider->createWrappedRenderTargetProxy(backendTex, origin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
261 proxyProvider->createWrappedTextureProxy(backendTex, origin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
288 proxyProvider->createWrappedTextureProxy(backendTex, origin, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
310 GrProxyProvider* provider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DTextureProxyTest.cpp46 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_tex() argument
49 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, fit, SkBudgeted::kYes); in deferred_tex()
56 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_texRT() argument
59 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, fit, SkBudgeted::kYes); in deferred_texRT()
66 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped() argument
69 sk_sp<GrTextureProxy> proxy = proxyProvider->createInstantiatedProxy(desc, fit, in wrapped()
77 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped_with_key() argument
90 sk_sp<GrTextureProxy> proxy = proxyProvider->createInstantiatedProxy(desc, fit, in wrapped_with_key()
92 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get())); in wrapped_with_key()
99 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in create_wrapped_backend() local
[all …]
DLazyProxyTest.cpp58 Op(GrProxyProvider* proxyProvider, LazyProxyTest* test, bool nullTexture) in Op() argument
60 fProxy = proxyProvider->createFullyLazyProxy([this, nullTexture]( in Op()
110 ClipFP(GrProxyProvider* proxyProvider, LazyProxyTest* test, GrTextureProxy* atlas) in ClipFP() argument
112 , fProxyProvider(proxyProvider) in ClipFP()
115 fLazyProxy = proxyProvider->createFullyLazyProxy([this](GrResourceProvider* rp, in ClipFP()
157 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in apply() local
158 out->addCoverageFP(skstd::make_unique<ClipFP>(proxyProvider, fTest, fAtlas)); in apply()
185 GrProxyProvider* proxyProvider = ctx->contextPriv().proxyProvider(); variable
198 skstd::make_unique<LazyProxyTest::Op>(proxyProvider, &test, nullTexture));
208 auto proxyProvider = ctx->contextPriv().proxyProvider(); variable
[all …]
DProxyConversionTest.cpp48 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
59 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_FBO0(proxyProvider, reporter, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
71 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_offscreen_rt(proxyProvider, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
85 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(proxyProvider, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 sk_sp<GrSurfaceProxy> sProxy(make_wrapped_texture(proxyProvider, desc)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
114 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
124 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
137 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
153 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyRefTest.cpp69 static sk_sp<GrTextureProxy> make_deferred(GrProxyProvider* proxyProvider) { in make_deferred() argument
77 return proxyProvider->createProxy(desc, SkBackingFit::kApprox, SkBudgeted::kYes, in make_deferred()
81 static sk_sp<GrTextureProxy> make_wrapped(GrProxyProvider* proxyProvider) { in make_wrapped() argument
89 return proxyProvider->createInstantiatedProxy(desc, SkBackingFit::kExact, SkBudgeted::kNo); in make_wrapped()
93 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
99 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
117 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
135 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
153 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
175 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DResourceAllocatorTest.cpp35 static sk_sp<GrSurfaceProxy> make_deferred(GrProxyProvider* proxyProvider, const ProxyParams& p) { in make_deferred() argument
44 return proxyProvider->createProxy(desc, p.fFit, SkBudgeted::kNo); in make_deferred()
49 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in make_backend() local
56 return proxyProvider->createWrappedTextureProxy(*backendTex, p.fOrigin); in make_backend()
108 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
145 sk_sp<GrSurfaceProxy> p1 = make_deferred(proxyProvider, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
146 sk_sp<GrSurfaceProxy> p2 = make_deferred(proxyProvider, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
184 sk_sp<GrSurfaceProxy> p1 = make_deferred(proxyProvider, test.fP1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
185 sk_sp<GrSurfaceProxy> p2 = make_deferred(proxyProvider, test.fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
201 sk_sp<GrSurfaceProxy> p2 = make_deferred(proxyProvider, t[0].fP2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProcessorTest.cpp160 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() local
177 proxyProvider->createProxy(desc, SkBackingFit::kExact, SkBudgeted::kYes); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
179 proxyProvider->createProxy(desc, SkBackingFit::kExact, SkBudgeted::kYes); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
181 proxyProvider->createProxy(desc, SkBackingFit::kExact, SkBudgeted::kYes); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
183 proxyProvider->createProxy(desc, SkBackingFit::kExact, SkBudgeted::kYes); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
293 bool init_test_textures(GrProxyProvider* proxyProvider, SkRandom* random, in init_test_textures() argument
312 proxies[0] = proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, in init_test_textures()
327 proxies[1] = proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, in init_test_textures()
336 sk_sp<GrTextureProxy> make_input_texture(GrProxyProvider* proxyProvider, int width, int height) { in make_input_texture() argument
349 return proxyProvider->createTextureProxy(desc, SkBudgeted::kYes, in make_input_texture()
[all …]
DProxyTest.cpp109 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
138 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
170 sk_sp<GrTextureProxy> proxy(proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
198 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
226 sk_sp<GrSurfaceProxy> sProxy(proxyProvider->createWrappedRenderTargetProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
239 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->createInstantiatedProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
256 sk_sp<GrSurfaceProxy> sProxy = proxyProvider->createInstantiatedProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
274 GrProxyProvider* provider = ctxInfo.grContext()->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSpecialImageTest.cpp211 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
240 sk_sp<GrTextureProxy> proxy = proxyProvider->createTextureProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
268 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
273 sk_sp<GrTextureProxy> proxy = proxyProvider->createTextureProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
303 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
313 sk_sp<GrTextureProxy> proxy = proxyProvider->createTextureProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/
DGrBitmapTextureMaker.cpp40 GrProxyProvider* proxyProvider = this->context()->contextPriv().proxyProvider(); in refOriginalTextureProxy() local
44 proxy = proxyProvider->findOrCreateProxyByUniqueKey(fOriginalKey, kTopLeft_GrSurfaceOrigin); in refOriginalTextureProxy()
52 proxy = proxyProvider->createMipMapProxyFromBitmap(fBitmap, dstColorSpace); in refOriginalTextureProxy()
55 proxy = GrUploadBitmapToTextureProxy(proxyProvider, fBitmap, dstColorSpace); in refOriginalTextureProxy()
59 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, proxy.get()); in refOriginalTextureProxy()
86 proxyProvider->removeUniqueKeyFromProxy(fOriginalKey, proxy.get()); in refOriginalTextureProxy()
87 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, mippedProxy.get()); in refOriginalTextureProxy()
DSkGr.cpp70 sk_sp<GrTextureProxy> GrUploadBitmapToTextureProxy(GrProxyProvider* proxyProvider, in GrUploadBitmapToTextureProxy() argument
88 SkCopyPixelsMode cpyMode = proxyProvider->mutableBitmapsNeedCopy() ? kIfMutable_SkCopyPixelsMode in GrUploadBitmapToTextureProxy()
92 return proxyProvider->createTextureProxy(std::move(image), kNone_GrSurfaceFlags, in GrUploadBitmapToTextureProxy()
119 GrProxyProvider* proxyProvider = ctx->contextPriv().proxyProvider(); in GrCopyBaseMipMapToTextureProxy() local
128 sk_sp<GrTextureProxy> proxy = proxyProvider->createMipMapProxy(desc, SkBudgeted::kYes); in GrCopyBaseMipMapToTextureProxy()
155 sk_sp<GrTextureProxy> GrMakeCachedBitmapProxy(GrProxyProvider* proxyProvider, in GrMakeCachedBitmapProxy() argument
165 SkCopyPixelsMode cpyMode = proxyProvider->mutableBitmapsNeedCopy() ? kIfMutable_SkCopyPixelsMode in GrMakeCachedBitmapProxy()
173 return GrMakeCachedImageProxy(proxyProvider, std::move(image), fit); in GrMakeCachedBitmapProxy()
192 sk_sp<GrTextureProxy> GrMakeCachedImageProxy(GrProxyProvider* proxyProvider, in GrMakeCachedImageProxy() argument
201 proxy = proxyProvider->findOrCreateProxyByUniqueKey(originalKey, kTopLeft_GrSurfaceOrigin); in GrMakeCachedImageProxy()
[all …]
DGrClipStackClip.cpp193 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in apply() local
234 if (auto clipFPs = reducedClip.finishAndDetachAnalyticFPs(proxyProvider, opListID, in apply()
329 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in createAlphaClipMask() local
334 sk_sp<GrTextureProxy> proxy(proxyProvider->findOrCreateProxyByUniqueKey( in createAlphaClipMask()
360 proxyProvider->assignUniqueKeyToProxy(key, result.get()); in createAlphaClipMask()
447 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in createSoftwareClipMask() local
449 sk_sp<GrTextureProxy> proxy(proxyProvider->findOrCreateProxyByUniqueKey( in createSoftwareClipMask()
469 proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox, SkBudgeted::kYes, in createSoftwareClipMask()
502 proxyProvider->assignUniqueKeyToProxy(key, proxy.get()); in createSoftwareClipMask()
/external/skqp/src/gpu/
DGrBitmapTextureMaker.cpp40 GrProxyProvider* proxyProvider = this->context()->contextPriv().proxyProvider(); in refOriginalTextureProxy() local
44 proxy = proxyProvider->findOrCreateProxyByUniqueKey(fOriginalKey, kTopLeft_GrSurfaceOrigin); in refOriginalTextureProxy()
52 proxy = GrGenerateMipMapsAndUploadToTextureProxy(proxyProvider, fBitmap, dstColorSpace); in refOriginalTextureProxy()
55 proxy = GrUploadBitmapToTextureProxy(proxyProvider, fBitmap, dstColorSpace); in refOriginalTextureProxy()
59 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, proxy.get()); in refOriginalTextureProxy()
86 proxyProvider->removeUniqueKeyFromProxy(fOriginalKey, proxy.get()); in refOriginalTextureProxy()
87 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, mippedProxy.get()); in refOriginalTextureProxy()
DSkGr.cpp68 sk_sp<GrTextureProxy> GrUploadBitmapToTextureProxy(GrProxyProvider* proxyProvider, in GrUploadBitmapToTextureProxy() argument
78 return GrUploadPixmapToTextureProxy(proxyProvider, pixmap, SkBudgeted::kYes, dstColorSpace); in GrUploadBitmapToTextureProxy()
81 sk_sp<GrTextureProxy> GrUploadPixmapToTextureProxy(GrProxyProvider* proxyProvider, in GrUploadPixmapToTextureProxy() argument
94 GrSurfaceDesc desc = GrImageInfoToSurfaceDesc(pixmap.info(), *proxyProvider->caps()); in GrUploadPixmapToTextureProxy()
96 return proxyProvider->createTextureProxy(desc, budgeted, pixmap.addr(), pixmap.rowBytes()); in GrUploadPixmapToTextureProxy()
114 sk_sp<GrTextureProxy> GrGenerateMipMapsAndUploadToTextureProxy(GrProxyProvider* proxyProvider, in GrGenerateMipMapsAndUploadToTextureProxy() argument
131 GrSurfaceDesc desc = GrImageInfoToSurfaceDesc(pixmap.info(), *proxyProvider->caps()); in GrGenerateMipMapsAndUploadToTextureProxy()
154 return proxyProvider->createMipMapProxy(desc, SkBudgeted::kYes, texels.get(), mipLevelCount, in GrGenerateMipMapsAndUploadToTextureProxy()
165 GrProxyProvider* proxyProvider = ctx->contextPriv().proxyProvider(); in GrCopyBaseMipMapToTextureProxy() local
174 sk_sp<GrTextureProxy> proxy = proxyProvider->createMipMapProxy(desc, SkBudgeted::kYes); in GrCopyBaseMipMapToTextureProxy()
[all …]
DGrClipStackClip.cpp193 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in apply() local
234 if (auto clipFPs = reducedClip.finishAndDetachAnalyticFPs(proxyProvider, opListID, in apply()
329 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in createAlphaClipMask() local
334 sk_sp<GrTextureProxy> proxy(proxyProvider->findOrCreateProxyByUniqueKey( in createAlphaClipMask()
360 proxyProvider->assignUniqueKeyToProxy(key, result.get()); in createAlphaClipMask()
447 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider(); in createSoftwareClipMask() local
449 sk_sp<GrTextureProxy> proxy(proxyProvider->findOrCreateProxyByUniqueKey( in createSoftwareClipMask()
469 proxy = proxyProvider->createProxy(desc, SkBackingFit::kApprox, SkBudgeted::kYes, in createSoftwareClipMask()
502 proxyProvider->assignUniqueKeyToProxy(key, proxy.get()); in createSoftwareClipMask()
/external/skqp/src/core/
DSkDeferredDisplayListRecorder.cpp32 auto proxyProvider = fContext->contextPriv().proxyProvider(); in ~SkDeferredDisplayListRecorder() local
36 proxyProvider->removeAllUniqueKeys(); in ~SkDeferredDisplayListRecorder()
66 auto proxyProvider = fContext->contextPriv().proxyProvider(); in init() local
82 sk_sp<GrSurfaceProxy> proxy = proxyProvider->createLazyProxy( in init()
/external/skqp/src/gpu/effects/
DGrRectBlurEffect.h22 static sk_sp<GrTextureProxy> CreateBlurProfileTexture(GrProxyProvider* proxyProvider, in CreateBlurProfileTexture() argument
33 proxyProvider->findOrCreateProxyByUniqueKey(key, kTopLeft_GrSurfaceOrigin)); in CreateBlurProfileTexture()
44 proxyProvider->createTextureProxy(texDesc, SkBudgeted::kYes, profile.get(), 0); in CreateBlurProfileTexture()
50 proxyProvider->assignUniqueKeyToProxy(key, blurProfile.get()); in CreateBlurProfileTexture()
58 static std::unique_ptr<GrFragmentProcessor> Make(GrProxyProvider* proxyProvider, in Make() argument
68 sk_sp<GrTextureProxy> blurProfile(CreateBlurProfileTexture(proxyProvider, sigma)); in Make()
/external/skia/src/gpu/effects/
DGrRectBlurEffect.h22 static sk_sp<GrTextureProxy> CreateBlurProfileTexture(GrProxyProvider* proxyProvider, in CreateBlurProfileTexture() argument
33 proxyProvider->findOrCreateProxyByUniqueKey(key, kTopLeft_GrSurfaceOrigin)); in CreateBlurProfileTexture()
50 blurProfile = proxyProvider->createTextureProxy(std::move(image), kNone_GrSurfaceFlags, in CreateBlurProfileTexture()
58 proxyProvider->assignUniqueKeyToProxy(key, blurProfile.get()); in CreateBlurProfileTexture()
66 static std::unique_ptr<GrFragmentProcessor> Make(GrProxyProvider* proxyProvider, in Make() argument
76 sk_sp<GrTextureProxy> blurProfile(CreateBlurProfileTexture(proxyProvider, sigma)); in Make()
/external/skia/src/core/
DSkDeferredDisplayListRecorder.cpp32 auto proxyProvider = fContext->contextPriv().proxyProvider(); in ~SkDeferredDisplayListRecorder() local
36 proxyProvider->removeAllUniqueKeys(); in ~SkDeferredDisplayListRecorder()
70 auto proxyProvider = fContext->contextPriv().proxyProvider(); in init() local
86 sk_sp<GrRenderTargetProxy> proxy = proxyProvider->createLazyRenderTargetProxy( in init()

1234567