Home
last modified time | relevance | path

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

12345678910>>...18

/external/skia/src/gpu/
DGrProxyProvider.h34 bool assignUniqueKeyToProxy(const GrUniqueKey&, GrTextureProxy*);
40 void adoptUniqueKeyFromSurface(GrTextureProxy* proxy, const GrSurface*);
46 void removeUniqueKeyFromProxy(GrTextureProxy*);
51 sk_sp<GrTextureProxy> findProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin);
57 sk_sp<GrTextureProxy> findOrCreateProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin);
64 sk_sp<GrTextureProxy> createTextureProxy(
75 sk_sp<GrTextureProxy> createMipMapProxy(const GrBackendFormat&, const GrSurfaceDesc&,
81 sk_sp<GrTextureProxy> createMipMapProxyFromBitmap(const SkBitmap& bitmap);
86 sk_sp<GrTextureProxy> createProxy(const GrBackendFormat&, const GrSurfaceDesc&, GrSurfaceOrigin,
90 sk_sp<GrTextureProxy> createProxy(
[all …]
DGrTextureProxy.cpp19 GrTextureProxy::GrTextureProxy(const GrBackendFormat& format, const GrSurfaceDesc& srcDesc, in GrTextureProxy() function in GrTextureProxy
31 GrTextureProxy::GrTextureProxy(const GrBackendFormat& format, const GrSurfaceDesc& srcDesc, in GrTextureProxy() function in GrTextureProxy
41 GrTextureProxy::GrTextureProxy(LazyInstantiateCallback&& callback, LazyInstantiationType lazyType, in GrTextureProxy() function in GrTextureProxy
52 GrTextureProxy::GrTextureProxy(sk_sp<GrSurface> surf, GrSurfaceOrigin origin) in GrTextureProxy() function in GrTextureProxy
63 GrTextureProxy::~GrTextureProxy() { in ~GrTextureProxy()
79 bool GrTextureProxy::instantiate(GrResourceProvider* resourceProvider) { in instantiate()
94 sk_sp<GrSurface> GrTextureProxy::createSurface(GrResourceProvider* resourceProvider) const { in createSurface()
125 GrSamplerState::Filter GrTextureProxy::highestFilterMode() const { in highestFilterMode()
130 GrMipMapped GrTextureProxy::mipMapped() const { in mipMapped()
137 size_t GrTextureProxy::onUninstantiatedGpuMemorySize() const { in onUninstantiatedGpuMemorySize()
[all …]
DGrTextureProxyCacheAccess.h16 class GrTextureProxy::CacheAccess {
26 explicit CacheAccess(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in CacheAccess()
34 GrTextureProxy* fTextureProxy;
36 friend class GrTextureProxy; // to construct/copy this type. variable
40 inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { return CacheAccess(this); } in cacheAccess()
42 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { in cacheAccess()
43 return CacheAccess(const_cast<GrTextureProxy*>(this)); in cacheAccess()
DGrProxyProvider.cpp48 bool GrProxyProvider::assignUniqueKeyToProxy(const GrUniqueKey& key, GrTextureProxy* proxy) { in assignUniqueKeyToProxy()
76 void GrProxyProvider::adoptUniqueKeyFromSurface(GrTextureProxy* proxy, const GrSurface* surf) { in adoptUniqueKeyFromSurface()
85 void GrProxyProvider::removeUniqueKeyFromProxy(GrTextureProxy* proxy) { in removeUniqueKeyFromProxy()
97 sk_sp<GrTextureProxy> GrProxyProvider::findProxyByUniqueKey(const GrUniqueKey& key, in findProxyByUniqueKey()
105 sk_sp<GrTextureProxy> result = sk_ref_sp(fUniquelyKeyedProxies.find(key)); in findProxyByUniqueKey()
115 sk_sp<GrTextureProxy> GrProxyProvider::testingOnly_createInstantiatedProxy( in testingOnly_createInstantiatedProxy()
137 sk_sp<GrTextureProxy> GrProxyProvider::testingOnly_createWrapped(sk_sp<GrTexture> tex, in testingOnly_createWrapped()
143 sk_sp<GrTextureProxy> GrProxyProvider::createWrapped(sk_sp<GrTexture> tex, GrSurfaceOrigin origin) { in createWrapped()
151 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(std::move(tex), origin)); in createWrapped()
153 return sk_sp<GrTextureProxy>(new GrTextureProxy(std::move(tex), origin)); in createWrapped()
[all …]
DGrTextureProducer.h19 class GrTextureProxy; variable
85 sk_sp<GrTextureProxy> refTextureProxyForParams(const GrSamplerState&,
88 sk_sp<GrTextureProxy> refTextureProxyForParams(
100 sk_sp<GrTextureProxy> refTextureProxy(GrMipMapped willNeedMips);
160 static sk_sp<GrTextureProxy> CopyOnGpu(GrRecordingContext*, sk_sp<GrTextureProxy> inputProxy,
167 GrTextureProxy*,
172 sk_sp<GrTextureProxy> proxy,
181 virtual sk_sp<GrTextureProxy> onRefTextureProxyForParams(const GrSamplerState&,
DGrTextureProxyPriv.h32 explicit GrTextureProxyPriv(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in GrTextureProxyPriv()
40 GrTextureProxy* fTextureProxy;
42 friend class GrTextureProxy; // to construct/copy this type. variable
45 inline GrTextureProxyPriv GrTextureProxy::texPriv() { return GrTextureProxyPriv(this); } in texPriv()
47 inline const GrTextureProxyPriv GrTextureProxy::texPriv() const { in texPriv()
48 return GrTextureProxyPriv(const_cast<GrTextureProxy*>(this)); in texPriv()
DGrTextureAdjuster.h34 GrTextureAdjuster(GrRecordingContext*, sk_sp<GrTextureProxy>, SkAlphaType,
43 GrTextureProxy* originalProxy() const { return fOriginal.get(); } in originalProxy()
44 sk_sp<GrTextureProxy> originalProxyRef() const { return fOriginal; } in originalProxyRef()
47 sk_sp<GrTextureProxy> onRefTextureProxyForParams(const GrSamplerState&,
51 sk_sp<GrTextureProxy> refTextureProxyCopy(const CopyParams& copyParams, bool willBeMipped);
53 sk_sp<GrTextureProxy> fOriginal;
DGrTextureContext.h18 class GrTextureProxy; variable
34 GrTextureProxy* asTextureProxy() override { return fTextureProxy.get(); } in asTextureProxy()
35 const GrTextureProxy* asTextureProxy() const override { return fTextureProxy.get(); } in asTextureProxy()
36 sk_sp<GrTextureProxy> asTextureProxyRef() override { return fTextureProxy; } in asTextureProxyRef()
42 GrTextureContext(GrRecordingContext*, sk_sp<GrTextureProxy>, sk_sp<SkColorSpace>);
51 sk_sp<GrTextureProxy> fTextureProxy;
DGrTextureAdjuster.cpp16 GrTextureAdjuster::GrTextureAdjuster(GrRecordingContext* context, sk_sp<GrTextureProxy> original, in GrTextureAdjuster()
39 sk_sp<GrTextureProxy> GrTextureAdjuster::refTextureProxyCopy(const CopyParams& copyParams, in refTextureProxyCopy()
45 sk_sp<GrTextureProxy> cachedCopy; in refTextureProxyCopy()
54 sk_sp<GrTextureProxy> proxy = this->originalProxyRef(); in refTextureProxyCopy()
56 sk_sp<GrTextureProxy> copy = CopyOnGpu(this->context(), std::move(proxy), in refTextureProxyCopy()
77 sk_sp<GrTextureProxy> GrTextureAdjuster::onRefTextureProxyForParams( in onRefTextureProxyForParams()
81 sk_sp<GrTextureProxy> proxy = this->originalProxyRef(); in onRefTextureProxyForParams()
105 sk_sp<GrTextureProxy> result = this->refTextureProxyCopy(copyParams, willBeMipped); in onRefTextureProxyForParams()
124 sk_sp<GrTextureProxy> proxy( in createFragmentProcessor()
/external/skqp/src/gpu/
DGrProxyProvider.h38 bool assignUniqueKeyToProxy(const GrUniqueKey&, GrTextureProxy*);
44 void adoptUniqueKeyFromSurface(GrTextureProxy* proxy, const GrSurface*);
50 void removeUniqueKeyFromProxy(GrTextureProxy*);
55 sk_sp<GrTextureProxy> findProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin);
61 sk_sp<GrTextureProxy> findOrCreateProxyByUniqueKey(const GrUniqueKey&, GrSurfaceOrigin);
68 sk_sp<GrTextureProxy> createTextureProxy(
79 sk_sp<GrTextureProxy> createMipMapProxy(const GrBackendFormat&, const GrSurfaceDesc&,
85 sk_sp<GrTextureProxy> createMipMapProxyFromBitmap(const SkBitmap& bitmap);
90 sk_sp<GrTextureProxy> createProxy(const GrBackendFormat&, const GrSurfaceDesc&, GrSurfaceOrigin,
94 sk_sp<GrTextureProxy> createProxy(
[all …]
DGrTextureProxy.cpp19 GrTextureProxy::GrTextureProxy(const GrBackendFormat& format, const GrSurfaceDesc& srcDesc, in GrTextureProxy() function in GrTextureProxy
31 GrTextureProxy::GrTextureProxy(const GrBackendFormat& format, const GrSurfaceDesc& srcDesc, in GrTextureProxy() function in GrTextureProxy
41 GrTextureProxy::GrTextureProxy(LazyInstantiateCallback&& callback, LazyInstantiationType lazyType, in GrTextureProxy() function in GrTextureProxy
52 GrTextureProxy::GrTextureProxy(sk_sp<GrSurface> surf, GrSurfaceOrigin origin) in GrTextureProxy() function in GrTextureProxy
63 GrTextureProxy::~GrTextureProxy() { in ~GrTextureProxy()
79 bool GrTextureProxy::instantiate(GrResourceProvider* resourceProvider) { in instantiate()
94 sk_sp<GrSurface> GrTextureProxy::createSurface(GrResourceProvider* resourceProvider) const { in createSurface()
125 GrSamplerState::Filter GrTextureProxy::highestFilterMode() const { in highestFilterMode()
130 GrMipMapped GrTextureProxy::mipMapped() const { in mipMapped()
137 size_t GrTextureProxy::onUninstantiatedGpuMemorySize() const { in onUninstantiatedGpuMemorySize()
[all …]
DGrTextureProxyCacheAccess.h16 class GrTextureProxy::CacheAccess {
26 explicit CacheAccess(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in CacheAccess()
34 GrTextureProxy* fTextureProxy;
36 friend class GrTextureProxy; // to construct/copy this type. variable
40 inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { return CacheAccess(this); } in cacheAccess()
42 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { in cacheAccess()
43 return CacheAccess(const_cast<GrTextureProxy*>(this)); in cacheAccess()
DGrProxyProvider.cpp78 bool GrProxyProvider::assignUniqueKeyToProxy(const GrUniqueKey& key, GrTextureProxy* proxy) { in assignUniqueKeyToProxy()
98 void GrProxyProvider::adoptUniqueKeyFromSurface(GrTextureProxy* proxy, const GrSurface* surf) { in adoptUniqueKeyFromSurface()
107 void GrProxyProvider::removeUniqueKeyFromProxy(GrTextureProxy* proxy) { in removeUniqueKeyFromProxy()
119 sk_sp<GrTextureProxy> GrProxyProvider::findProxyByUniqueKey(const GrUniqueKey& key, in findProxyByUniqueKey()
127 sk_sp<GrTextureProxy> result = sk_ref_sp(fUniquelyKeyedProxies.find(key)); in findProxyByUniqueKey()
134 sk_sp<GrTextureProxy> GrProxyProvider::createWrapped(sk_sp<GrTexture> tex, GrSurfaceOrigin origin) { in createWrapped()
142 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(std::move(tex), origin)); in createWrapped()
144 return sk_sp<GrTextureProxy>(new GrTextureProxy(std::move(tex), origin)); in createWrapped()
148 sk_sp<GrTextureProxy> GrProxyProvider::findOrCreateProxyByUniqueKey(const GrUniqueKey& key, in findOrCreateProxyByUniqueKey()
156 sk_sp<GrTextureProxy> result = this->findProxyByUniqueKey(key, origin); in findOrCreateProxyByUniqueKey()
[all …]
DGrTextureProducer.h19 class GrTextureProxy; variable
85 sk_sp<GrTextureProxy> refTextureProxyForParams(const GrSamplerState&,
88 sk_sp<GrTextureProxy> refTextureProxyForParams(GrSamplerState::Filter filter, in refTextureProxyForParams()
103 sk_sp<GrTextureProxy> refTextureProxy(GrMipMapped willNeedMips);
160 static sk_sp<GrTextureProxy> CopyOnGpu(GrContext*, sk_sp<GrTextureProxy> inputProxy,
167 GrTextureProxy*,
172 sk_sp<GrTextureProxy> proxy,
181 virtual sk_sp<GrTextureProxy> onRefTextureProxyForParams(const GrSamplerState&,
DGrTextureProxyPriv.h32 explicit GrTextureProxyPriv(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in GrTextureProxyPriv()
40 GrTextureProxy* fTextureProxy;
42 friend class GrTextureProxy; // to construct/copy this type. variable
45 inline GrTextureProxyPriv GrTextureProxy::texPriv() { return GrTextureProxyPriv(this); } in texPriv()
47 inline const GrTextureProxyPriv GrTextureProxy::texPriv() const { in texPriv()
48 return GrTextureProxyPriv(const_cast<GrTextureProxy*>(this)); in texPriv()
DGrTextureAdjuster.h32 GrTextureAdjuster(GrContext*, sk_sp<GrTextureProxy>, SkAlphaType, uint32_t uniqueID,
41 GrTextureProxy* originalProxy() const { return fOriginal.get(); } in originalProxy()
42 sk_sp<GrTextureProxy> originalProxyRef() const { return fOriginal; } in originalProxyRef()
45 sk_sp<GrTextureProxy> onRefTextureProxyForParams(const GrSamplerState&,
49 sk_sp<GrTextureProxy> refTextureProxyCopy(const CopyParams& copyParams, bool willBeMipped);
51 sk_sp<GrTextureProxy> fOriginal;
DGrTextureContext.h18 class GrTextureProxy; variable
34 GrTextureProxy* asTextureProxy() override { return fTextureProxy.get(); } in asTextureProxy()
35 const GrTextureProxy* asTextureProxy() const override { return fTextureProxy.get(); } in asTextureProxy()
36 sk_sp<GrTextureProxy> asTextureProxyRef() override { return fTextureProxy; } in asTextureProxyRef()
42 GrTextureContext(GrContext*, GrDrawingManager*, sk_sp<GrTextureProxy>,
52 sk_sp<GrTextureProxy> fTextureProxy;
DGrTextureAdjuster.cpp16 GrTextureAdjuster::GrTextureAdjuster(GrContext* context, sk_sp<GrTextureProxy> original, in GrTextureAdjuster()
38 sk_sp<GrTextureProxy> GrTextureAdjuster::refTextureProxyCopy(const CopyParams& copyParams, in refTextureProxyCopy()
44 sk_sp<GrTextureProxy> cachedCopy; in refTextureProxyCopy()
53 sk_sp<GrTextureProxy> proxy = this->originalProxyRef(); in refTextureProxyCopy()
55 sk_sp<GrTextureProxy> copy = CopyOnGpu(fContext, std::move(proxy), copyParams, willBeMipped); in refTextureProxyCopy()
75 sk_sp<GrTextureProxy> GrTextureAdjuster::onRefTextureProxyForParams( in onRefTextureProxyForParams()
79 sk_sp<GrTextureProxy> proxy = this->originalProxyRef(); in onRefTextureProxyForParams()
103 sk_sp<GrTextureProxy> result = this->refTextureProxyCopy(copyParams, willBeMipped); in onRefTextureProxyForParams()
127 sk_sp<GrTextureProxy> proxy( in createFragmentProcessor()
/external/skia/include/private/
DGrTextureProxy.h22 class GrTextureProxy : virtual public GrSurfaceProxy {
24 GrTextureProxy* asTextureProxy() override { return this; } in asTextureProxy()
25 const GrTextureProxy* asTextureProxy() const override { return this; } in asTextureProxy()
52 static bool ProxiesAreCompatibleAsDynamicState(const GrTextureProxy* first,
53 const GrTextureProxy* second);
91 GrTextureProxy(const GrBackendFormat&, const GrSurfaceDesc& srcDesc, GrMipMapped, SkBackingFit,
95 GrTextureProxy(const GrBackendFormat&, const GrSurfaceDesc& srcDesc, GrSurfaceOrigin,
108 GrTextureProxy(LazyInstantiateCallback&&, LazyInstantiationType, const GrBackendFormat&,
113 GrTextureProxy(sk_sp<GrSurface>, GrSurfaceOrigin);
115 ~GrTextureProxy() override;
/external/skqp/include/private/
DGrTextureProxy.h22 class GrTextureProxy : virtual public GrSurfaceProxy {
24 GrTextureProxy* asTextureProxy() override { return this; } in asTextureProxy()
25 const GrTextureProxy* asTextureProxy() const override { return this; } in asTextureProxy()
52 static bool ProxiesAreCompatibleAsDynamicState(const GrTextureProxy* first,
53 const GrTextureProxy* second);
91 GrTextureProxy(const GrBackendFormat&, const GrSurfaceDesc& srcDesc, GrMipMapped, SkBackingFit,
95 GrTextureProxy(const GrBackendFormat&, const GrSurfaceDesc& srcDesc, GrSurfaceOrigin,
108 GrTextureProxy(LazyInstantiateCallback&&, LazyInstantiationType, const GrBackendFormat&,
113 GrTextureProxy(sk_sp<GrSurface>, GrSurfaceOrigin);
115 ~GrTextureProxy() override;
/external/skia/src/image/
DSkImage_GpuYUVA.h28 sk_sp<GrTextureProxy> proxies[], int numProxies, const SkYUVAIndex[4],
36 GrTextureProxy* peekProxy() const override;
37 sk_sp<GrTextureProxy> asTextureProxyRef(GrRecordingContext*) const override;
45 virtual bool asYUVATextureProxiesRef(sk_sp<GrTextureProxy> proxies[4], in asYUVATextureProxiesRef()
59 sk_sp<GrTextureProxy> asMippedTextureProxyRef(GrRecordingContext*) const;
83 mutable sk_sp<GrTextureProxy> fProxies[4];
98 mutable sk_sp<GrTextureProxy> fRGBProxy;
/external/skqp/src/image/
DSkImage_GpuYUVA.h28 sk_sp<GrTextureProxy> proxies[], int numProxies, const SkYUVAIndex[4],
34 GrTextureProxy* peekProxy() const override { return this->asTextureProxyRef().get(); } in peekProxy()
35 sk_sp<GrTextureProxy> asTextureProxyRef() const override;
42 virtual bool asYUVATextureProxiesRef(sk_sp<GrTextureProxy> proxies[4], in asYUVATextureProxiesRef()
56 sk_sp<GrTextureProxy> asMippedTextureProxyRef() const;
83 mutable sk_sp<GrTextureProxy> fProxies[4];
98 mutable sk_sp<GrTextureProxy> fRGBProxy;
/external/skqp/src/gpu/effects/
DGrDistanceFieldGeoProc.h61 const sk_sp<GrTextureProxy>* proxies, in Make()
70 const sk_sp<GrTextureProxy>* proxies, in Make()
93 void addNewProxies(const sk_sp<GrTextureProxy>* proxies, int numProxies, const GrSamplerState&);
101 const sk_sp<GrTextureProxy>* proxies,
141 const sk_sp<GrTextureProxy>* proxies, in Make()
160 void addNewProxies(const sk_sp<GrTextureProxy>*, int numActiveProxies, const GrSamplerState&);
170 const sk_sp<GrTextureProxy>* proxies,
215 const sk_sp<GrTextureProxy>* proxies, in Make()
238 void addNewProxies(const sk_sp<GrTextureProxy>*, int numActiveProxies, const GrSamplerState&);
245 GrDistanceFieldLCDTextGeoProc(const GrShaderCaps& caps, const sk_sp<GrTextureProxy>* proxies,
/external/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.h61 const sk_sp<GrTextureProxy>* proxies, in Make()
70 const sk_sp<GrTextureProxy>* proxies, in Make()
93 void addNewProxies(const sk_sp<GrTextureProxy>* proxies, int numProxies, const GrSamplerState&);
101 const sk_sp<GrTextureProxy>* proxies,
141 const sk_sp<GrTextureProxy>* proxies, in Make()
160 void addNewProxies(const sk_sp<GrTextureProxy>*, int numActiveProxies, const GrSamplerState&);
170 const sk_sp<GrTextureProxy>* proxies,
215 const sk_sp<GrTextureProxy>* proxies, in Make()
238 void addNewProxies(const sk_sp<GrTextureProxy>*, int numActiveProxies, const GrSamplerState&);
245 GrDistanceFieldLCDTextGeoProc(const GrShaderCaps& caps, const sk_sp<GrTextureProxy>* proxies,
/external/skia/tests/
DProxyConversionTest.cpp92 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
105 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
121 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
144 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
150 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
157 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
161 GrTextureProxy* tProxy = proxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
172 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
175 GrTextureProxy* tProxy = proxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()

12345678910>>...18