Home
last modified time | relevance | path

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

1234

/third_party/skia/src/gpu/
DGrProxyProvider.h37 bool assignUniqueKeyToProxy(const GrUniqueKey&, GrTextureProxy*);
43 void adoptUniqueKeyFromSurface(GrTextureProxy* proxy, const GrSurface*);
49 void removeUniqueKeyFromProxy(GrTextureProxy*);
54 sk_sp<GrTextureProxy> findProxyByUniqueKey(const GrUniqueKey&);
60 sk_sp<GrTextureProxy> findOrCreateProxyByUniqueKey(const GrUniqueKey&,
78 sk_sp<GrTextureProxy> createProxyFromBitmap(const SkBitmap&,
86 sk_sp<GrTextureProxy> createProxy(const GrBackendFormat&,
100 sk_sp<GrTextureProxy> createCompressedTextureProxy(SkISize dimensions,
115 sk_sp<GrTextureProxy> wrapBackendTexture(const GrBackendTexture&,
121 sk_sp<GrTextureProxy> wrapCompressedBackendTexture(const GrBackendTexture&,
[all …]
DGrTextureProxyCacheAccess.h16 class GrTextureProxy::CacheAccess {
26 explicit CacheAccess(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in CacheAccess()
35 GrTextureProxy* fTextureProxy;
37 friend class GrTextureProxy; // to construct/copy this type. variable
41 inline GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() { return CacheAccess(this); } in cacheAccess()
43 inline const GrTextureProxy::CacheAccess GrTextureProxy::cacheAccess() const { // NOLINT(readabili… in cacheAccess()
44 return CacheAccess(const_cast<GrTextureProxy*>(this)); in cacheAccess()
DGrTextureProxy.cpp20 GrTextureProxy::GrTextureProxy(const GrBackendFormat& format, in GrTextureProxy() function in GrTextureProxy
44 GrTextureProxy::GrTextureProxy(LazyInstantiateCallback&& callback, in GrTextureProxy() function in GrTextureProxy
70 GrTextureProxy::GrTextureProxy(sk_sp<GrSurface> surf, in GrTextureProxy() function in GrTextureProxy
89 GrTextureProxy::~GrTextureProxy() { in ~GrTextureProxy()
105 bool GrTextureProxy::instantiate(GrResourceProvider* resourceProvider) { in instantiate()
119 sk_sp<GrSurface> GrTextureProxy::createSurface(GrResourceProvider* resourceProvider) const { in createSurface()
154 GrMipmapped GrTextureProxy::mipmapped() const { in mipmapped()
161 size_t GrTextureProxy::onUninstantiatedGpuMemorySize() const { in onUninstantiatedGpuMemorySize()
167 bool GrTextureProxy::ProxiesAreCompatibleAsDynamicState(const GrSurfaceProxy* first, in ProxiesAreCompatibleAsDynamicState()
175 void GrTextureProxy::setUniqueKey(GrProxyProvider* proxyProvider, const GrUniqueKey& key) { in setUniqueKey()
[all …]
DGrProxyProvider.cpp53 bool GrProxyProvider::assignUniqueKeyToProxy(const GrUniqueKey& key, GrTextureProxy* proxy) { in assignUniqueKeyToProxy()
96 void GrProxyProvider::adoptUniqueKeyFromSurface(GrTextureProxy* proxy, const GrSurface* surf) { in adoptUniqueKeyFromSurface()
105 void GrProxyProvider::removeUniqueKeyFromProxy(GrTextureProxy* proxy) { in removeUniqueKeyFromProxy()
117 sk_sp<GrTextureProxy> GrProxyProvider::findProxyByUniqueKey(const GrUniqueKey& key) { in findProxyByUniqueKey()
124 GrTextureProxy* proxy = fUniquelyKeyedProxies.find(key); in findProxyByUniqueKey()
134 sk_sp<GrTextureProxy> GrProxyProvider::testingOnly_createInstantiatedProxy( in testingOnly_createInstantiatedProxy()
184 sk_sp<GrTextureProxy> GrProxyProvider::testingOnly_createInstantiatedProxy( in testingOnly_createInstantiatedProxy()
206 sk_sp<GrTextureProxy> GrProxyProvider::testingOnly_createWrapped(sk_sp<GrTexture> tex) { in testingOnly_createWrapped()
211 sk_sp<GrTextureProxy> GrProxyProvider::createWrapped(sk_sp<GrTexture> tex, in createWrapped()
221 …sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(std::move(tex), useAllocator, this->isDDLProv… in createWrapped()
[all …]
DGrTextureProxyPriv.h32 explicit GrTextureProxyPriv(GrTextureProxy* textureProxy) : fTextureProxy(textureProxy) {} in GrTextureProxyPriv()
41 GrTextureProxy* fTextureProxy;
43 friend class GrTextureProxy; // to construct/copy this type. variable
46 inline GrTextureProxyPriv GrTextureProxy::texPriv() { return GrTextureProxyPriv(this); } in texPriv()
48 inline const GrTextureProxyPriv GrTextureProxy::texPriv() const { // NOLINT(readability-const-retu… in texPriv()
49 return GrTextureProxyPriv(const_cast<GrTextureProxy*>(this)); in texPriv()
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()
115 GrTextureProxy(const GrBackendFormat&,
136 GrTextureProxy(LazyInstantiateCallback&&,
149 GrTextureProxy(sk_sp<GrSurface>, UseAllocator, GrDDLProvider creatingProvider);
151 ~GrTextureProxy() override;
DGrSurfaceProxyView.h49 if (const GrTextureProxy* proxy = this->asTextureProxy()) { in mipmapped()
58 GrTextureProxy* asTextureProxy() const { in asTextureProxy()
64 sk_sp<GrTextureProxy> asTextureProxyRef() const { in asTextureProxyRef()
65 return sk_ref_sp<GrTextureProxy>(this->asTextureProxy()); in asTextureProxyRef()
DGrDynamicAtlas.h39 static sk_sp<GrTextureProxy> MakeLazyAtlasProxy(LazyInstantiateAtlasCallback&&,
59 GrTextureProxy* textureProxy() const { return fTextureProxy.get(); } in textureProxy()
94 sk_sp<GrTextureProxy> fTextureProxy;
DSurfaceContext.h30 class GrTextureProxy; variable
138 GrTextureProxy* asTextureProxy() { return fReadView.asTextureProxy(); } in asTextureProxy()
139 const GrTextureProxy* asTextureProxy() const { return fReadView.asTextureProxy(); } in asTextureProxy()
140 sk_sp<GrTextureProxy> asTextureProxyRef() { return fReadView.asTextureProxyRef(); } in asTextureProxyRef()
DGrTextureRenderTargetProxy.cpp41 , GrTextureProxy(format, dimensions, mipMapped, mipmapStatus, fit, budgeted, isProtected, in GrTextureRenderTargetProxy()
67 , GrTextureProxy(LazyInstantiateCallback(), format, dimensions, mipMapped, mipmapStatus, in GrTextureRenderTargetProxy()
81 , GrTextureProxy(surf, useAllocator, creatingProvider) { in GrTextureRenderTargetProxy()
DGrDeferredUpload.h15 class GrTextureProxy; variable
118 using GrDeferredTextureUploadWritePixelsFn = std::function<bool(GrTextureProxy*,
DGrRecordingContextPriv.cpp130 sk_sp<GrTextureProxy> proxy = this->proxyProvider()->createProxy(format, in makeSC()
176 sk_sp<GrTextureProxy> proxy = this->proxyProvider()->createProxy(format, in makeSFC()
238 sk_sp<GrTextureProxy> proxy = this->proxyProvider()->createProxy(format, in makeSFC()
338 sk_sp<GrTextureProxy> proxy(this->proxyProvider()->wrapRenderableBackendTexture( in makeSFCFromBackendTexture()
DGrSurfaceProxy.h26 class GrTextureProxy; variable
224 virtual GrTextureProxy* asTextureProxy() { return nullptr; } in asTextureProxy()
225 virtual const GrTextureProxy* asTextureProxy() const { return nullptr; } in asTextureProxy()
/third_party/skia/tests/
DProxyRefTest.cpp25 static sk_sp<GrTextureProxy> make_deferred(GrRecordingContext* rContext) { in make_deferred()
36 static sk_sp<GrTextureProxy> make_wrapped(GrRecordingContext* rContext) { in make_wrapped()
51 sk_sp<GrTextureProxy> proxy((*make)(dContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
53 … sk_sp<GrTextureProxy> extraRef(proxy); // NOLINT(performance-unnecessary-copy-initialization) in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
68 sk_sp<GrTextureProxy> proxy((*make)(dContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
89 sk_sp<GrTextureProxy> proxy((*make)(dContext)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
91 …sk_sp<GrTextureProxy> firstExtraRef(proxy); // NOLINT(performance-unnecessary-copy-initialization) in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
101 …sk_sp<GrTextureProxy> secondExtraRef(proxy); // NOLINT(performance-unnecessary-copy-initializatio… in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyConversionTest.cpp87 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
115 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
135 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
142 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
149 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
154 GrTextureProxy* tProxy = proxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
163 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
167 GrTextureProxy* tProxy = proxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTextureProxyTest.cpp40 static sk_sp<GrTextureProxy> deferred_tex(skiatest::Reporter* reporter, in deferred_tex()
48 sk_sp<GrTextureProxy> proxy = in deferred_tex()
56 static sk_sp<GrTextureProxy> deferred_texRT(skiatest::Reporter* reporter, in deferred_texRT()
64 sk_sp<GrTextureProxy> proxy = in deferred_texRT()
72 static sk_sp<GrTextureProxy> wrapped(skiatest::Reporter* reporter, GrRecordingContext*, in wrapped()
74 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy( in wrapped()
81 static sk_sp<GrTextureProxy> wrapped_with_key(skiatest::Reporter* reporter, GrRecordingContext*, in wrapped_with_key()
93 sk_sp<GrTextureProxy> proxy = proxyProvider->testingOnly_createInstantiatedProxy( in wrapped_with_key()
100 static sk_sp<GrTextureProxy> create_wrapped_backend(GrDirectContext* dContext) { in create_wrapped_backend()
124 sk_sp<GrTextureProxy> proxy, in basic_test()
[all …]
DLazyProxyTest.cpp130 sk_sp<GrTextureProxy> fProxy;
136 GrTextureProxy* atlas) in ClipFP()
176 GrTextureProxy* const fAtlas;
177 sk_sp<GrTextureProxy> fLazyProxy;
183 Clip(LazyProxyTest* test, GrTextureProxy* atlas) in Clip()
203 GrTextureProxy* fAtlas;
294 sk_sp<GrTextureProxy> proxy = proxyProvider->createLazyProxy(
396 sk_sp<GrTextureProxy> fLazyProxy;
DSurfaceDrawContextTest.cpp31 GrTextureProxy* tProxy = sdc->asTextureProxy(); in check_instantiation_status()
47 GrTextureProxy* tProxy = sdc->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DProxyTest.cpp80 GrTextureProxy* texProxy, in check_texture()
147 sk_sp<GrTextureProxy> proxy = proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
183 sk_sp<GrTextureProxy> proxy(proxyProvider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
341 sk_sp<GrTextureProxy> proxy = provider->createProxy( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrTextureMipMapInvalidationTest.cpp27 GrTextureProxy* proxy = sk_gpu_test::GetTextureImageProxy(image.get(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
36 GrTextureProxy* proxy = sk_gpu_test::GetTextureImageProxy(image.get(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrMipMappedTest.cpp67 sk_sp<GrTextureProxy> proxy; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
138 GrTextureProxy* proxy = sk_gpu_test::GetTextureImageProxy(image.get(), dContext); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
316 GrTextureProxy* texProxy = device->readSurfaceView().asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
442 sk_sp<GrTextureProxy> mipmapProxy = proxyProvider->createProxy(
/third_party/skia/tools/gpu/
DProxyUtils.cpp31 GrTextureProxy* GetTextureImageProxy(SkImage* image, GrRecordingContext* rContext) { in GetTextureImageProxy()
71 sk_sp<GrTextureProxy> proxy; in MakeTextureProxyViewFromData()
DProxyUtils.h23 GrTextureProxy* GetTextureImageProxy(SkImage*, GrRecordingContext*);
/third_party/skia/src/gpu/ops/
DLatticeOp.h20 class GrTextureProxy; variable
DTextureOp.h21 class GrTextureProxy; variable

1234