HomeSort by relevance Sort by last modified time
    Searched refs:proxyProvider (Results 1 - 25 of 156) sorted by null

1 2 3 4 5 6 7

  /external/skia/src/gpu/
GrOnFlushResourceProvider.cpp 45 auto proxyProvider = fDrawingMgr->getContext()->priv().proxyProvider();
46 return proxyProvider->assignUniqueKeyToProxy(key, proxy);
50 auto proxyProvider = fDrawingMgr->getContext()->priv().proxyProvider();
51 proxyProvider->removeUniqueKeyFromProxy(proxy);
55 auto proxyProvider = fDrawingMgr->getContext()->priv().proxyProvider();
56 proxyProvider->processInvalidUniqueKey(key, nullptr,
62 auto proxyProvider = fDrawingMgr->getContext()->priv().proxyProvider()
    [all...]
GrBitmapTextureMaker.cpp 40 GrProxyProvider* proxyProvider = this->context()->priv().proxyProvider();
44 proxy = proxyProvider->findOrCreateProxyByUniqueKey(fOriginalKey, kTopLeft_GrSurfaceOrigin);
52 proxy = proxyProvider->createMipMapProxyFromBitmap(fBitmap);
55 proxy = GrUploadBitmapToTextureProxy(proxyProvider, fBitmap);
59 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, proxy.get());
65 fOriginalKey, proxyProvider->contextID(), fBitmap.pixelRef());
88 proxyProvider->removeUniqueKeyFromProxy(proxy.get());
89 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, mippedProxy.get());
90 GrInstallBitmapUniqueKeyInvalidator(fOriginalKey, proxyProvider->contextID()
    [all...]
GrTextureProxyCacheAccess.h 18 void setUniqueKey(GrProxyProvider* proxyProvider, const GrUniqueKey& key) {
19 fTextureProxy->setUniqueKey(proxyProvider, key);
GrImageContextPriv.h 39 GrProxyProvider* proxyProvider() { return fContext->proxyProvider(); }
40 const GrProxyProvider* proxyProvider() const { return fContext->proxyProvider(); }
GrTextureAdjuster.cpp 41 GrProxyProvider* proxyProvider = this->context()->priv().proxyProvider();
47 cachedCopy = proxyProvider->findOrCreateProxyByUniqueKey(key,
68 proxyProvider->removeUniqueKeyFromProxy(cachedCopy.get());
70 proxyProvider->assignUniqueKeyToProxy(key, copy.get());
71 this->didCacheCopy(key, proxyProvider->contextID());
GrTextureMaker.cpp 50 GrProxyProvider* proxyProvider = this->context()->priv().proxyProvider();
57 cachedProxy = proxyProvider->findOrCreateProxyByUniqueKey(copyKey, origOrigin);
98 proxyProvider->removeUniqueKeyFromProxy(cachedProxy.get());
100 proxyProvider->assignUniqueKeyToProxy(copyKey, result.get());
101 this->didCacheCopy(copyKey, proxyProvider->contextID());
  /external/skqp/src/gpu/
GrOnFlushResourceProvider.cpp 43 auto proxyProvider = fDrawingMgr->getContext()->contextPriv().proxyProvider();
44 return proxyProvider->assignUniqueKeyToProxy(key, proxy);
48 auto proxyProvider = fDrawingMgr->getContext()->contextPriv().proxyProvider();
49 proxyProvider->removeUniqueKeyFromProxy(proxy);
53 auto proxyProvider = fDrawingMgr->getContext()->contextPriv().proxyProvider();
54 proxyProvider->processInvalidUniqueKey(key, nullptr,
60 auto proxyProvider = fDrawingMgr->getContext()->contextPriv().proxyProvider()
    [all...]
GrBitmapTextureMaker.cpp 39 GrProxyProvider* proxyProvider = this->context()->contextPriv().proxyProvider();
43 proxy = proxyProvider->findOrCreateProxyByUniqueKey(fOriginalKey, kTopLeft_GrSurfaceOrigin);
51 proxy = proxyProvider->createMipMapProxyFromBitmap(fBitmap);
54 proxy = GrUploadBitmapToTextureProxy(proxyProvider, fBitmap);
58 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, proxy.get());
64 fOriginalKey, proxyProvider->contextUniqueID(), fBitmap.pixelRef());
87 proxyProvider->removeUniqueKeyFromProxy(proxy.get());
88 proxyProvider->assignUniqueKeyToProxy(fOriginalKey, mippedProxy.get());
89 GrInstallBitmapUniqueKeyInvalidator(fOriginalKey, proxyProvider->contextUniqueID()
    [all...]
GrTextureProxyCacheAccess.h 18 void setUniqueKey(GrProxyProvider* proxyProvider, const GrUniqueKey& key) {
19 fTextureProxy->setUniqueKey(proxyProvider, key);
GrTextureAdjuster.cpp 40 GrProxyProvider* proxyProvider = fContext->contextPriv().proxyProvider();
46 cachedCopy = proxyProvider->findOrCreateProxyByUniqueKey(key,
66 proxyProvider->removeUniqueKeyFromProxy(cachedCopy.get());
68 proxyProvider->assignUniqueKeyToProxy(key, copy.get());
69 this->didCacheCopy(key, proxyProvider->contextUniqueID());
GrTextureMaker.cpp 50 GrProxyProvider* proxyProvider = fContext->contextPriv().proxyProvider();
57 cachedProxy = proxyProvider->findOrCreateProxyByUniqueKey(copyKey, origOrigin);
98 proxyProvider->removeUniqueKeyFromProxy(cachedProxy.get());
100 proxyProvider->assignUniqueKeyToProxy(copyKey, result.get());
101 this->didCacheCopy(copyKey, proxyProvider->contextUniqueID());
  /external/skia/tests/
TextureProxyTest.cpp 42 GrProxyProvider* proxyProvider, SkBackingFit fit) {
48 proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, fit,
56 GrProxyProvider* proxyProvider, SkBackingFit fit) {
62 proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, fit, SkBudgeted::kYes);
69 GrProxyProvider* proxyProvider, SkBackingFit fit) {
72 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy(
80 GrProxyProvider* proxyProvider, SkBackingFit fit) {
93 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy(
95 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get()));
102 GrProxyProvider* proxyProvider = context->priv().proxyProvider()
    [all...]
ResourceAllocatorTest.cpp 34 static GrSurfaceProxy* make_deferred(GrProxyProvider* proxyProvider, const GrCaps* caps,
48 auto tmp = proxyProvider->createProxy(format, desc, p.fOrigin, p.fFit, SkBudgeted::kNo);
62 GrProxyProvider* proxyProvider = context->priv().proxyProvider();
72 auto tmp = proxyProvider->wrapBackendTexture(*backendTex, p.fOrigin, kBorrow_GrWrapOwnership,
142 GrProxyProvider* proxyProvider = ctxInfo.grContext()->priv().proxyProvider();
181 GrSurfaceProxy* p1 = make_deferred(proxyProvider, caps, test.fP1);
182 GrSurfaceProxy* p2 = make_deferred(proxyProvider, caps, test.fP2);
223 GrSurfaceProxy* p1 = make_deferred(proxyProvider, caps, test.fP1)
    [all...]
ProxyConversionTest.cpp 61 GrProxyProvider* proxyProvider = ctxInfo.grContext()->priv().proxyProvider();
73 make_wrapped_rt(proxyProvider, gpu, reporter, desc, kBottomLeft_GrSurfaceOrigin));
87 make_offscreen_rt(proxyProvider, desc, kBottomLeft_GrSurfaceOrigin));
102 make_texture(proxyProvider, desc, kBottomLeft_GrSurfaceOrigin));
118 make_texture(proxyProvider, desc, kBottomLeft_GrSurfaceOrigin));
132 GrProxyProvider* proxyProvider = ctxInfo.grContext()->priv().proxyProvider();
144 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(
157 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy
    [all...]
ProxyRefTest.cpp 64 static sk_sp<GrTextureProxy> make_deferred(GrProxyProvider* proxyProvider, const GrCaps* caps) {
72 return proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin,
77 static sk_sp<GrTextureProxy> make_wrapped(GrProxyProvider* proxyProvider, const GrCaps* caps) {
84 return proxyProvider->testingOnly_createInstantiatedProxy(
89 GrProxyProvider* proxyProvider = ctxInfo.grContext()->priv().proxyProvider();
96 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps));
116 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps));
136 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps));
156 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps))
    [all...]
LazyProxyTest.cpp 61 GrProxyProvider* proxyProvider,
66 return pool->allocate<Op>(context, proxyProvider, test, nullTexture);
81 Op(GrRecordingContext* ctx, GrProxyProvider* proxyProvider,
106 kRGB_565_GrPixelConfig, *proxyProvider->caps());
126 ClipFP(GrRecordingContext* ctx, GrProxyProvider* proxyProvider, LazyProxyTest* test,
130 , fProxyProvider(proxyProvider)
149 kAlpha_half_GrPixelConfig, *proxyProvider->caps());
183 GrProxyProvider* proxyProvider = context->priv().proxyProvider();
184 out->addCoverageFP(skstd::make_unique<ClipFP>(context, proxyProvider, fTest, fAtlas))
    [all...]
  /external/skqp/tests/
TextureProxyTest.cpp 42 GrProxyProvider* proxyProvider, SkBackingFit fit) {
48 proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, fit,
56 GrProxyProvider* proxyProvider, SkBackingFit fit) {
62 proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, fit, SkBudgeted::kYes);
69 GrProxyProvider* proxyProvider, SkBackingFit fit) {
72 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy(
80 GrProxyProvider* proxyProvider, SkBackingFit fit) {
93 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy(
95 SkAssertResult(proxyProvider->assignUniqueKeyToProxy(key, proxy.get()));
102 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider()
    [all...]
ResourceAllocatorTest.cpp 34 static GrSurfaceProxy* make_deferred(GrProxyProvider* proxyProvider, const GrCaps* caps,
48 auto tmp = proxyProvider->createProxy(format, desc, p.fOrigin, p.fFit, SkBudgeted::kNo);
62 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider();
72 auto tmp = proxyProvider->wrapBackendTexture(*backendTex, p.fOrigin, kBorrow_GrWrapOwnership,
142 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider();
181 GrSurfaceProxy* p1 = make_deferred(proxyProvider, caps, test.fP1);
182 GrSurfaceProxy* p2 = make_deferred(proxyProvider, caps, test.fP2);
223 GrSurfaceProxy* p1 = make_deferred(proxyProvider, caps, test.fP1)
    [all...]
ProxyConversionTest.cpp 61 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider();
73 make_wrapped_rt(proxyProvider, gpu, reporter, desc, kBottomLeft_GrSurfaceOrigin));
87 make_offscreen_rt(proxyProvider, desc, kBottomLeft_GrSurfaceOrigin));
102 make_texture(proxyProvider, desc, kBottomLeft_GrSurfaceOrigin));
118 make_texture(proxyProvider, desc, kBottomLeft_GrSurfaceOrigin));
132 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider();
144 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy(
157 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy
    [all...]
ProxyRefTest.cpp 64 static sk_sp<GrTextureProxy> make_deferred(GrProxyProvider* proxyProvider, const GrCaps* caps) {
72 return proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin,
77 static sk_sp<GrTextureProxy> make_wrapped(GrProxyProvider* proxyProvider, const GrCaps* caps) {
84 return proxyProvider->testingOnly_createInstantiatedProxy(
89 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider();
96 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps));
116 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps));
136 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps));
156 sk_sp<GrTextureProxy> proxy((*make)(proxyProvider, caps))
    [all...]
LazyProxyTest.cpp 59 GrProxyProvider* proxyProvider,
64 return pool->allocate<Op>(context, proxyProvider, test, nullTexture);
79 Op(GrContext* ctx, GrProxyProvider* proxyProvider, LazyProxyTest* test, bool nullTexture)
103 kRGB_565_GrPixelConfig, *proxyProvider->caps());
122 ClipFP(GrContext* ctx, GrProxyProvider* proxyProvider, LazyProxyTest* test,
126 , fProxyProvider(proxyProvider)
145 kAlpha_half_GrPixelConfig, *proxyProvider->caps());
179 GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider();
180 out->addCoverageFP(skstd::make_unique<ClipFP>(context, proxyProvider, fTest, fAtlas))
    [all...]
  /external/skia/include/private/
GrImageContext.h 33 GrProxyProvider* proxyProvider() { return fProxyProvider.get(); }
34 const GrProxyProvider* proxyProvider() const { return fProxyProvider.get(); }
  /external/skia/src/gpu/effects/
GrRectBlurEffect.h 23 static sk_sp<GrTextureProxy> CreateBlurProfileTexture(GrProxyProvider* proxyProvider,
34 proxyProvider->findOrCreateProxyByUniqueKey(key, kTopLeft_GrSurfaceOrigin));
52 proxyProvider->createTextureProxy(std::move(image), kNone_GrSurfaceFlags, 1,
59 proxyProvider->assignUniqueKeyToProxy(key, blurProfile.get());
67 static std::unique_ptr<GrFragmentProcessor> Make(GrProxyProvider* proxyProvider,
87 sk_sp<GrTextureProxy> blurProfile(CreateBlurProfileTexture(proxyProvider, sigma));
  /external/skqp/src/gpu/effects/
GrRectBlurEffect.h 22 static sk_sp<GrTextureProxy> CreateBlurProfileTexture(GrProxyProvider* proxyProvider,
33 proxyProvider->findOrCreateProxyByUniqueKey(key, kTopLeft_GrSurfaceOrigin));
51 proxyProvider->createTextureProxy(std::move(image), kNone_GrSurfaceFlags, 1,
58 proxyProvider->assignUniqueKeyToProxy(key, blurProfile.get());
66 static std::unique_ptr<GrFragmentProcessor> Make(GrProxyProvider* proxyProvider,
86 sk_sp<GrTextureProxy> blurProfile(CreateBlurProfileTexture(proxyProvider, sigma));
  /external/skia/tools/gpu/
ProxyUtils.cpp 36 proxy = context->priv().proxyProvider()->wrapRenderableBackendTexture(
40 proxy = context->priv().proxyProvider()->wrapBackendTexture(
67 proxy = context->priv().proxyProvider()->createProxy(

Completed in 907 milliseconds

1 2 3 4 5 6 7