Home
last modified time | relevance | path

Searched refs:GrTexture (Results 1 – 25 of 203) sorted by relevance

123456789

/external/skia/src/gpu/
DGrTexture.cpp21 void GrTexture::markMipMapsDirty() { in markMipMapsDirty()
27 void GrTexture::markMipMapsClean() { in markMipMapsClean()
38 size_t GrTexture::onGpuMemorySize() const { in onGpuMemorySize()
44 GrTexture::GrTexture(GrGpu* gpu, const GrSurfaceDesc& desc, GrSLType samplerType, in GrTexture() function in GrTexture
60 bool GrTexture::StealBackendTexture(sk_sp<GrTexture>&& texture, in StealBackendTexture()
79 void GrTexture::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
DGrResourceProvider.h28 class GrTexture; variable
65 sk_sp<GrTexture> createApproxTexture(const GrSurfaceDesc&, uint32_t flags);
69 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, uint32_t flags = 0);
71 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted,
76 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, SkBackingFit,
90 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture& tex,
98 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture& tex,
272 sk_sp<GrTexture> refScratchTexture(const GrSurfaceDesc&, uint32_t scratchTextureFlags);
278 sk_sp<GrTexture> getExactScratch(const GrSurfaceDesc&, SkBudgeted, uint32_t flags);
DGrTexturePriv.h64 GrTexturePriv(GrTexture* texture) : fTexture(texture) { } in GrTexturePriv()
72 GrTexture* fTexture;
74 friend class GrTexture; // to construct/copy this type. variable
77 inline GrTexturePriv GrTexture::texturePriv() { return GrTexturePriv(this); } in texturePriv()
79 inline const GrTexturePriv GrTexture::texturePriv () const { in texturePriv()
80 return GrTexturePriv(const_cast<GrTexture*>(this)); in texturePriv()
DGrGpu.h42 class GrTexture; variable
106 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted,
112 sk_sp<GrTexture> createTexture(const GrSurfaceDesc& desc, SkBudgeted);
117 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture&, GrWrapOwnership);
122 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture&,
326 bool transferPixels(GrTexture* texture, int left, int top, int width, int height,
363 virtual GrGpuTextureCommandBuffer* createCommandBuffer(GrTexture*, GrSurfaceOrigin) = 0;
387 virtual sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) = 0;
546 virtual sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc&, SkBudgeted,
550 virtual sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership) = 0;
[all …]
DGrBackendTextureImageGenerator.h31 static std::unique_ptr<SkImageGenerator> Make(sk_sp<GrTexture>, GrSurfaceOrigin,
50 GrBackendTextureImageGenerator(const SkImageInfo& info, GrTexture*, GrSurfaceOrigin,
58 RefHelper(GrTexture* texture, uint32_t owningContextID) in RefHelper()
67 GrTexture* fOriginalTexture;
73 GrTexture* fBorrowedTexture;
DGrResourceProvider.cpp64 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture()
80 sk_sp<GrTexture> tex(fGpu->createTexture(desc, budgeted, texels, mipLevelCount)); in createTexture()
88 sk_sp<GrTexture> GrResourceProvider::getExactScratch(const GrSurfaceDesc& desc, in getExactScratch()
90 sk_sp<GrTexture> tex(this->refScratchTexture(desc, flags)); in getExactScratch()
98 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, in createTexture()
152 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture()
163 sk_sp<GrTexture> tex = this->getExactScratch(desc, budgeted, flags); in createTexture()
171 sk_sp<GrTexture> GrResourceProvider::createApproxTexture(const GrSurfaceDesc& desc, in createApproxTexture()
205 sk_sp<GrTexture> GrResourceProvider::refScratchTexture(const GrSurfaceDesc& desc, in refScratchTexture()
231 return sk_sp<GrTexture>(surface->asTexture()); in refScratchTexture()
[all …]
/external/skqp/src/gpu/
DGrTexture.cpp21 void GrTexture::markMipMapsDirty() { in markMipMapsDirty()
27 void GrTexture::markMipMapsClean() { in markMipMapsClean()
38 size_t GrTexture::onGpuMemorySize() const { in onGpuMemorySize()
44 GrTexture::GrTexture(GrGpu* gpu, const GrSurfaceDesc& desc, GrSLType samplerType, in GrTexture() function in GrTexture
60 bool GrTexture::StealBackendTexture(sk_sp<GrTexture>&& texture, in StealBackendTexture()
79 void GrTexture::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
DGrResourceProvider.h27 class GrTexture; variable
63 sk_sp<GrTexture> createApproxTexture(const GrSurfaceDesc&, uint32_t flags);
67 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, uint32_t flags = 0);
69 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted,
74 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, const GrMipLevel&);
87 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture& tex,
95 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture& tex,
265 sk_sp<GrTexture> refScratchTexture(const GrSurfaceDesc&, uint32_t scratchTextureFlags);
271 sk_sp<GrTexture> getExactScratch(const GrSurfaceDesc&, SkBudgeted, uint32_t flags);
DGrTexturePriv.h64 GrTexturePriv(GrTexture* texture) : fTexture(texture) { } in GrTexturePriv()
72 GrTexture* fTexture;
74 friend class GrTexture; // to construct/copy this type. variable
77 inline GrTexturePriv GrTexture::texturePriv() { return GrTexturePriv(this); } in texturePriv()
79 inline const GrTexturePriv GrTexture::texturePriv () const { in texturePriv()
80 return GrTexturePriv(const_cast<GrTexture*>(this)); in texturePriv()
DGrGpu.h42 class GrTexture; variable
106 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted,
112 sk_sp<GrTexture> createTexture(const GrSurfaceDesc& desc, SkBudgeted);
117 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture&, GrWrapOwnership);
122 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture&,
302 bool transferPixels(GrTexture* texture,
369 virtual GrGpuTextureCommandBuffer* createCommandBuffer(GrTexture*, GrSurfaceOrigin) = 0;
393 virtual sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) = 0;
553 virtual sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc&, SkBudgeted,
557 virtual sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership) = 0;
[all …]
DGrBackendTextureImageGenerator.h31 static std::unique_ptr<SkImageGenerator> Make(sk_sp<GrTexture>, GrSurfaceOrigin,
50 GrBackendTextureImageGenerator(const SkImageInfo& info, GrTexture*, GrSurfaceOrigin,
58 RefHelper(GrTexture* texture, uint32_t owningContextID) in RefHelper()
67 GrTexture* fOriginalTexture;
73 GrTexture* fBorrowedTexture;
DGrResourceProvider.cpp75 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture()
90 sk_sp<GrTexture> tex(fGpu->createTexture(desc, budgeted, texels, mipLevelCount)); in createTexture()
98 sk_sp<GrTexture> GrResourceProvider::getExactScratch(const GrSurfaceDesc& desc, in getExactScratch()
100 sk_sp<GrTexture> tex(this->refScratchTexture(desc, flags)); in getExactScratch()
118 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, in createTexture()
160 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture()
171 sk_sp<GrTexture> tex = this->getExactScratch(desc, budgeted, flags); in createTexture()
179 sk_sp<GrTexture> GrResourceProvider::createApproxTexture(const GrSurfaceDesc& desc, in createApproxTexture()
213 sk_sp<GrTexture> GrResourceProvider::refScratchTexture(const GrSurfaceDesc& desc, in refScratchTexture()
239 return sk_sp<GrTexture>(surface->asTexture()); in refScratchTexture()
[all …]
DGrProxyProvider.cpp109 sk_sp<GrTextureProxy> GrProxyProvider::createWrapped(sk_sp<GrTexture> tex, GrSurfaceOrigin origin) { in createWrapped()
145 sk_sp<GrTexture> texture(static_cast<GrSurface*>(resource)->asTexture()); in findOrCreateProxyByUniqueKey()
159 sk_sp<GrTexture> tex; in createInstantiatedProxy()
185 sk_sp<GrTexture> tex = fResourceProvider->createTexture(desc, budgeted, mipLevel); in createTextureProxy()
222 return sk_sp<GrTexture>(); in createTextureProxy()
283 sk_sp<GrTexture> tex(fResourceProvider->createTexture(desc, budgeted, in createMipMapProxy()
354 sk_sp<GrTexture> tex; in createProxy()
408 return sk_sp<GrTexture>(); in createWrappedTextureProxy()
411 sk_sp<GrTexture> tex = resourceProvider->wrapBackendTexture(backendTex, in createWrappedTextureProxy()
414 return sk_sp<GrTexture>(); in createWrappedTextureProxy()
[all …]
DGrBackendTextureImageGenerator.cpp35 GrBackendTextureImageGenerator::Make(sk_sp<GrTexture> texture, GrSurfaceOrigin origin, in Make()
59 GrTexture* texture, in GrBackendTextureImageGenerator()
141 return sk_sp<GrTexture>(); in onGenerateTexture()
148 sk_sp<GrTexture> tex; in onGenerateTexture()
166 return sk_sp<GrTexture>(); in onGenerateTexture()
/external/skia/include/gpu/
DGrTexture.h23 class GrTexture : virtual public GrSurface {
25 GrTexture* asTexture() override { return this; } in asTexture()
26 const GrTexture* asTexture() const override { return this; } in asTexture()
49 static bool StealBackendTexture(sk_sp<GrTexture>&&,
75 GrTexture(GrGpu*, const GrSurfaceDesc&, GrSLType samplerType,
/external/skqp/include/gpu/
DGrTexture.h22 class GrTexture : virtual public GrSurface {
24 GrTexture* asTexture() override { return this; } in asTexture()
25 const GrTexture* asTexture() const override { return this; } in asTexture()
48 static bool StealBackendTexture(sk_sp<GrTexture>&&,
74 GrTexture(GrGpu*, const GrSurfaceDesc&, GrSLType samplerType,
/external/skia/src/gpu/mock/
DGrMockGpu.h33 GrGpuTextureCommandBuffer* createCommandBuffer(GrTexture*, GrSurfaceOrigin) override;
47 sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override { return nullptr; } in prepareTextureForCrossContextUsage() argument
58 sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc&, SkBudgeted,
61 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership) override { in onWrapBackendTexture()
65 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, in onWrapRenderableBackendTexture()
104 bool onTransferPixels(GrTexture* texture, int left, int top, int width, int height, GrColorType, in onTransferPixels()
DGrMockTexture.h16 class GrMockTexture : public GrTexture {
55 typedef GrTexture INHERITED;
76 GrTexture* asTexture() override { return this; } in asTexture()
78 const GrTexture* asTexture() const override { return this; } in asTexture()
/external/skqp/src/gpu/ddl/
DGrDDLGpu.h58 GrGpuTextureCommandBuffer* createCommandBuffer(GrTexture*, GrSurfaceOrigin) override;
88 sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override { in prepareTextureForCrossContextUsage() argument
102 sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc&, SkBudgeted,
105 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership) override { in onWrapBackendTexture()
110 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, in onWrapRenderableBackendTexture()
148 bool onTransferPixels(GrTexture* texture, in onTransferPixels()
/external/skia/src/gpu/mtl/
DGrMtlGpu.h58 GrGpuTextureCommandBuffer* createCommandBuffer(GrTexture*, GrSurfaceOrigin) override { in createCommandBuffer() argument
74 sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override { return nullptr; } in prepareTextureForCrossContextUsage() argument
84 sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted,
87 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership) override { in onWrapBackendTexture()
91 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, in onWrapRenderableBackendTexture()
121 bool onTransferPixels(GrTexture*, in onTransferPixels() argument
/external/skqp/src/gpu/mock/
DGrMockGpu.h48 GrGpuTextureCommandBuffer* createCommandBuffer(GrTexture*, GrSurfaceOrigin) override;
62 sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override { return nullptr; } in prepareTextureForCrossContextUsage() argument
73 sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc&, SkBudgeted,
76 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership) override { in onWrapBackendTexture()
80 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, in onWrapRenderableBackendTexture()
113 bool onTransferPixels(GrTexture* texture, in onTransferPixels()
DGrMockTexture.h16 class GrMockTexture : public GrTexture {
55 typedef GrTexture INHERITED;
76 GrTexture* asTexture() override { return this; } in asTexture()
78 const GrTexture* asTexture() const override { return this; } in asTexture()
/external/skqp/src/gpu/mtl/
DGrMtlGpu.h60 GrGpuTextureCommandBuffer* createCommandBuffer(GrTexture*, GrSurfaceOrigin) override { in createCommandBuffer() argument
76 sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override { return nullptr; } in prepareTextureForCrossContextUsage() argument
86 sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted,
89 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership) override { in onWrapBackendTexture()
93 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, in onWrapRenderableBackendTexture()
127 bool onTransferPixels(GrTexture* texture, in onTransferPixels()
/external/skqp/tests/
DLazyProxyTest.cpp63 return sk_sp<GrTexture>(); in Op()
69 return sk_sp<GrTexture>(); in Op()
76 sk_sp<GrTexture> texture = rp->createTexture(desc, SkBudgeted::kYes); in Op()
118 return sk_sp<GrTexture>(); in ClipFP()
222 return sk_sp<GrTexture>(); in __anon8f867ff40302()
225 return sk_sp<GrTexture>(); in __anon8f867ff40302()
259 return sk_sp<GrTexture>(); in LazyFailedInstantiationTestOp()
263 return sk_sp<GrTexture>(); in LazyFailedInstantiationTestOp()
/external/skia/tests/
DLazyProxyTest.cpp63 return sk_sp<GrTexture>(); in Op()
68 return sk_sp<GrTexture>(); in Op()
75 sk_sp<GrTexture> texture = rp->createTexture(desc, SkBudgeted::kYes); in Op()
117 return sk_sp<GrTexture>(); in ClipFP()
227 return sk_sp<GrTexture>(); in __anon010409dd0302()
230 return sk_sp<GrTexture>(); in __anon010409dd0302()
272 return sk_sp<GrTexture>(); in LazyFailedInstantiationTestOp()
276 return sk_sp<GrTexture>(); in LazyFailedInstantiationTestOp()

123456789