/external/skqp/src/gpu/ |
D | GrTexture.cpp | 21 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()
|
D | GrResourceProvider.h | 27 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);
|
D | GrTexturePriv.h | 64 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()
|
D | GrBackendTextureImageGenerator.h | 31 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;
|
D | GrGpu.h | 42 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 …]
|
D | GrResourceProvider.cpp | 75 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 …]
|
D | GrProxyProvider.cpp | 109 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 …]
|
/external/skia/src/gpu/ |
D | GrTexture.cpp | 21 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()
|
D | GrResourceProvider.h | 28 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);
|
D | GrTexturePriv.h | 64 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()
|
D | GrBackendTextureImageGenerator.h | 31 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;
|
D | GrGpu.h | 42 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 …]
|
D | GrResourceProvider.cpp | 64 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/include/gpu/ |
D | GrTexture.h | 22 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/include/gpu/ |
D | GrTexture.h | 23 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/skia/src/gpu/mock/ |
D | GrMockGpu.h | 33 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()
|
D | GrMockTexture.h | 16 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/ |
D | GrMtlGpu.h | 60 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/skia/src/gpu/mtl/ |
D | GrMtlGpu.h | 58 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/ |
D | GrMockGpu.h | 48 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()
|
D | GrMockTexture.h | 16 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()
|
D | GrMockGpu.cpp | 49 GrGpuTextureCommandBuffer* GrMockGpu::createCommandBuffer(GrTexture* texture, in createCommandBuffer() 67 sk_sp<GrTexture> GrMockGpu::onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in onCreateTexture() 74 return sk_sp<GrTexture>( in onCreateTexture() 77 return sk_sp<GrTexture>(new GrMockTexture(this, budgeted, desc, mipMapsStatus, info)); in onCreateTexture()
|
/external/skqp/src/gpu/ddl/ |
D | GrDDLGpu.h | 58 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/skqp/tests/ |
D | LazyProxyTest.cpp | 63 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 __anon3769f5d10302() 225 return sk_sp<GrTexture>(); in __anon3769f5d10302() 259 return sk_sp<GrTexture>(); in LazyFailedInstantiationTestOp() 263 return sk_sp<GrTexture>(); in LazyFailedInstantiationTestOp()
|
/external/skia/tests/ |
D | LazyProxyTest.cpp | 63 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 __anona8e77fba0302() 230 return sk_sp<GrTexture>(); in __anona8e77fba0302() 272 return sk_sp<GrTexture>(); in LazyFailedInstantiationTestOp() 276 return sk_sp<GrTexture>(); in LazyFailedInstantiationTestOp()
|