/external/skia/src/gpu/ |
D | GrResourceProvider.h | 28 class GrTexture; variable 63 sk_sp<GrTexture> createApproxTexture(SkISize dimensions, 70 sk_sp<GrTexture> createTexture(SkISize dimensions, 83 sk_sp<GrTexture> createTexture(SkISize dimensions, 98 sk_sp<GrTexture> createTexture(SkISize dimensions, 112 sk_sp<GrTexture> findAndRefScratchTexture(const GrScratchKey&); 113 sk_sp<GrTexture> findAndRefScratchTexture(SkISize dimensions, 124 sk_sp<GrTexture> createCompressedTexture(SkISize dimensions, 145 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture& tex, 150 sk_sp<GrTexture> wrapCompressedBackendTexture(const GrBackendTexture& tex, [all …]
|
D | GrTexture.cpp | 23 void GrTexture::markMipmapsDirty() { in markMipmapsDirty() 29 void GrTexture::markMipmapsClean() { in markMipmapsClean() 34 size_t GrTexture::onGpuMemorySize() const { in onGpuMemorySize() 40 GrTexture::GrTexture(GrGpu* gpu, in GrTexture() function in GrTexture 58 bool GrTexture::StealBackendTexture(sk_sp<GrTexture> texture, in StealBackendTexture() 88 void GrTexture::computeScratchKey(GrScratchKey* key) const { in computeScratchKey() 102 void GrTexture::ComputeScratchKey(const GrCaps& caps, in ComputeScratchKey()
|
D | GrTexture.h | 19 class GrTexture : virtual public GrSurface { 21 GrTexture* asTexture() override { return this; } in asTexture() 22 const GrTexture* asTexture() const override { return this; } in asTexture() 39 static bool StealBackendTexture(sk_sp<GrTexture>, 67 GrTexture(GrGpu*, const SkISize&, GrProtected, GrTextureType, GrMipmapStatus);
|
D | GrGpu.h | 42 class GrTexture; variable 131 sk_sp<GrTexture> createTexture(SkISize dimensions, 145 sk_sp<GrTexture> createTexture(SkISize dimensions, 153 sk_sp<GrTexture> createCompressedTexture(SkISize dimensions, 163 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture&, 168 sk_sp<GrTexture> wrapCompressedBackendTexture(const GrBackendTexture&, 175 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture&, 212 bool regenerateMipMapLevels(GrTexture*); 302 bool transferPixelsTo(GrTexture* texture, int left, int top, int width, int height, 397 virtual std::unique_ptr<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) = 0; [all …]
|
D | GrBackendTextureImageGenerator.h | 33 static std::unique_ptr<SkImageGenerator> Make(sk_sp<GrTexture>, GrSurfaceOrigin, 52 GrTexture*, 62 RefHelper(GrTexture*, 68 GrTexture* fOriginalTexture;
|
D | GrResourceProvider.cpp | 43 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() 92 sk_sp<GrTexture> GrResourceProvider::getExactScratch(SkISize dimensions, in getExactScratch() 99 sk_sp<GrTexture> tex(this->findAndRefScratchTexture(dimensions, format, renderable, in getExactScratch() 109 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() 145 sk_sp<GrTexture> GrResourceProvider::createCompressedTexture(SkISize dimensions, in createCompressedTexture() 159 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() 181 sk_sp<GrTexture> tex = in createTexture() 221 sk_sp<GrTexture> GrResourceProvider::createApproxTexture(SkISize dimensions, in createApproxTexture() 253 sk_sp<GrTexture> GrResourceProvider::findAndRefScratchTexture(const GrScratchKey& key) { in findAndRefScratchTexture() 261 return sk_sp<GrTexture>(surface->asTexture()); in findAndRefScratchTexture() [all …]
|
/external/skqp/src/gpu/ |
D | GrTexture.cpp | 22 void GrTexture::markMipMapsDirty() { in markMipMapsDirty() 28 void GrTexture::markMipMapsClean() { in markMipMapsClean() 33 size_t GrTexture::onGpuMemorySize() const { in onGpuMemorySize() 39 GrTexture::GrTexture(GrGpu* gpu, const GrSurfaceDesc& desc, GrTextureType textureType, in GrTexture() function in GrTexture 49 bool GrTexture::StealBackendTexture(sk_sp<GrTexture> texture, in StealBackendTexture() 79 void GrTexture::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
|
D | GrTexturePriv.h | 60 GrTexturePriv(GrTexture* texture) : fTexture(texture) { } in GrTexturePriv() 68 GrTexture* fTexture; 70 friend class GrTexture; // to construct/copy this type. variable 73 inline GrTexturePriv GrTexture::texturePriv() { return GrTexturePriv(this); } in texturePriv() 75 inline const GrTexturePriv GrTexture::texturePriv () const { in texturePriv() 76 return GrTexturePriv(const_cast<GrTexture*>(this)); in texturePriv()
|
D | GrResourceProvider.h | 27 class GrTexture; variable 82 sk_sp<GrTexture> createApproxTexture(const GrSurfaceDesc&, Flags); 86 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, Flags = Flags::kNone); 88 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, const GrMipLevel texels[], 92 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, SkBackingFit, 109 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture& tex, GrWrapOwnership, 117 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture& tex, 267 sk_sp<GrTexture> refScratchTexture(const GrSurfaceDesc&, Flags); 273 sk_sp<GrTexture> getExactScratch(const GrSurfaceDesc&, SkBudgeted, Flags);
|
D | GrGpu.h | 41 class GrTexture; variable 96 sk_sp<GrTexture> createTexture(const GrSurfaceDesc&, SkBudgeted, const GrMipLevel texels[], 102 sk_sp<GrTexture> createTexture(const GrSurfaceDesc& desc, SkBudgeted); 107 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable, 113 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture&, int sampleCnt, 154 bool regenerateMipMapLevels(GrTexture*); 219 bool transferPixels(GrTexture* texture, int left, int top, int width, int height, 258 virtual GrGpuTextureCommandBuffer* getCommandBuffer(GrTexture*, GrSurfaceOrigin) = 0; 284 virtual sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) = 0; 457 virtual sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc&, SkBudgeted, [all …]
|
D | GrBackendTextureImageGenerator.h | 31 static std::unique_ptr<SkImageGenerator> Make(sk_sp<GrTexture>, GrSurfaceOrigin, 47 GrBackendTextureImageGenerator(const SkImageInfo& info, GrTexture*, GrSurfaceOrigin, 55 RefHelper(GrTexture* texture, uint32_t owningContextID) in RefHelper() 64 GrTexture* fOriginalTexture; 70 GrTexture* fBorrowedTexture;
|
D | GrResourceProvider.cpp | 64 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture() 82 sk_sp<GrTexture> GrResourceProvider::getExactScratch(const GrSurfaceDesc& desc, in getExactScratch() 84 sk_sp<GrTexture> tex(this->refScratchTexture(desc, flags)); in getExactScratch() 92 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, in createTexture() 116 sk_sp<GrTexture> tex = (SkBackingFit::kApprox == fit) in createTexture() 142 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture() 155 sk_sp<GrTexture> tex = this->getExactScratch(desc, budgeted, flags); in createTexture() 164 sk_sp<GrTexture> GrResourceProvider::createApproxTexture(const GrSurfaceDesc& desc, in createApproxTexture() 203 sk_sp<GrTexture> GrResourceProvider::refScratchTexture(const GrSurfaceDesc& desc, Flags flags) { in refScratchTexture() 229 return sk_sp<GrTexture>(surface->asTexture()); in refScratchTexture() [all …]
|
D | GrGpu.cpp | 105 sk_sp<GrTexture> GrGpu::createTexture(const GrSurfaceDesc& origDesc, SkBudgeted budgeted, in createTexture() 131 sk_sp<GrTexture> tex = this->onCreateTexture(desc, budgeted, texels, mipLevelCount); in createTexture() 146 sk_sp<GrTexture> GrGpu::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted) { in createTexture() 150 sk_sp<GrTexture> GrGpu::wrapBackendTexture(const GrBackendTexture& backendTex, in wrapBackendTexture() 166 sk_sp<GrTexture> GrGpu::wrapRenderableBackendTexture(const GrBackendTexture& backendTex, in wrapRenderableBackendTexture() 182 sk_sp<GrTexture> tex = in wrapRenderableBackendTexture() 305 bool GrGpu::transferPixels(GrTexture* texture, int left, int top, int width, int height, in transferPixels() 334 bool GrGpu::regenerateMipMapLevels(GrTexture* texture) { in regenerateMipMapLevels() 371 GrTexture* texture = surface->asTexture(); in didWriteToSurface()
|
/external/skqp/include/gpu/ |
D | GrTexture.h | 22 class SK_API GrTexture : virtual public GrSurface { 24 GrTexture* asTexture() override { return this; } in asTexture() 25 const GrTexture* asTexture() const override { return this; } in asTexture() 42 static bool StealBackendTexture(sk_sp<GrTexture>, 80 GrTexture(GrGpu*, const GrSurfaceDesc&, GrTextureType, GrMipMapsStatus);
|
/external/skqp/src/gpu/mock/ |
D | GrMockGpu.h | 32 GrGpuTextureCommandBuffer* getCommandBuffer(GrTexture*, GrSurfaceOrigin) override; 46 sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override { return nullptr; } in prepareTextureForCrossContextUsage() argument 59 sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc&, SkBudgeted, const GrMipLevel[], 62 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable, 65 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 88 bool onTransferPixels(GrTexture* texture, int left, int top, int width, int height, GrColorType, in onTransferPixels() 99 bool onRegenerateMipMapLevels(GrTexture*) override { return true; } in onRegenerateMipMapLevels() argument
|
D | GrMockGpu.cpp | 62 GrGpuTextureCommandBuffer* GrMockGpu::getCommandBuffer(GrTexture* texture, GrSurfaceOrigin origin) { in getCommandBuffer() 88 sk_sp<GrTexture> GrMockGpu::onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in onCreateTexture() 103 return sk_sp<GrTexture>(new GrMockTextureRenderTarget(this, budgeted, desc, mipMapsStatus, in onCreateTexture() 106 return sk_sp<GrTexture>(new GrMockTexture(this, budgeted, desc, mipMapsStatus, texInfo)); in onCreateTexture() 109 sk_sp<GrTexture> GrMockGpu::onWrapBackendTexture(const GrBackendTexture& tex, in onWrapBackendTexture() 123 return sk_sp<GrTexture>(new GrMockTexture(this, desc, mipMapsStatus, info, wrapType, ioType)); in onWrapBackendTexture() 126 sk_sp<GrTexture> GrMockGpu::onWrapRenderableBackendTexture(const GrBackendTexture& tex, in onWrapRenderableBackendTexture() 147 return sk_sp<GrTexture>( in onWrapRenderableBackendTexture()
|
/external/skia/src/gpu/mock/ |
D | GrMockGpu.h | 45 std::unique_ptr<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override { in prepareTextureForCrossContextUsage() argument 59 sk_sp<GrTexture> onCreateTexture(SkISize, 68 sk_sp<GrTexture> onCreateCompressedTexture(SkISize dimensions, 75 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 79 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 83 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 106 bool onTransferPixelsTo(GrTexture* texture, int left, int top, int width, int height, in onTransferPixelsTo() 122 bool onRegenerateMipMapLevels(GrTexture*) override { return true; } in onRegenerateMipMapLevels() argument
|
D | GrMockGpu.cpp | 94 sk_sp<GrTexture> GrMockGpu::onCreateTexture(SkISize dimensions, in onCreateTexture() 117 return sk_sp<GrTexture>(new GrMockTextureRenderTarget(this, budgeted, dimensions, in onCreateTexture() 121 return sk_sp<GrTexture>( in onCreateTexture() 126 sk_sp<GrTexture> GrMockGpu::onCreateCompressedTexture(SkISize dimensions, in onCreateCompressedTexture() 149 return sk_sp<GrTexture>( in onCreateCompressedTexture() 153 sk_sp<GrTexture> GrMockGpu::onWrapBackendTexture(const GrBackendTexture& tex, in onWrapBackendTexture() 168 return sk_sp<GrTexture>(new GrMockTexture(this, tex.dimensions(), isProtected, mipmapStatus, in onWrapBackendTexture() 172 sk_sp<GrTexture> GrMockGpu::onWrapCompressedBackendTexture(const GrBackendTexture& tex, in onWrapCompressedBackendTexture() 178 sk_sp<GrTexture> GrMockGpu::onWrapRenderableBackendTexture(const GrBackendTexture& tex, in onWrapRenderableBackendTexture() 193 return sk_sp<GrTexture>(new GrMockTextureRenderTarget(this, tex.dimensions(), sampleCnt, in onWrapRenderableBackendTexture()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpu.h | 95 GrGpuTextureCommandBuffer* getCommandBuffer(GrTexture*, GrSurfaceOrigin) override; 113 sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override { return nullptr; } in prepareTextureForCrossContextUsage() argument 132 sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, 135 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable, 138 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, int sampleCnt, 154 bool onTransferPixels(GrTexture*, in onTransferPixels() argument 161 bool onRegenerateMipMapLevels(GrTexture*) override { return false; } in onRegenerateMipMapLevels() argument
|
/external/skia/src/gpu/dawn/ |
D | GrDawnGpu.h | 92 std::unique_ptr<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override; 111 sk_sp<GrTexture> onCreateTexture(SkISize, 120 sk_sp<GrTexture> onCreateCompressedTexture(SkISize dimensions, 127 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 131 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 134 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 172 bool onTransferPixelsTo(GrTexture*, int left, int top, int width, int height, 183 bool onRegenerateMipMapLevels(GrTexture*) override;
|
/external/skia/src/gpu/mtl/ |
D | GrMtlGpu.h | 106 std::unique_ptr<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override; 148 sk_sp<GrTexture> onCreateTexture(SkISize, 156 sk_sp<GrTexture> onCreateCompressedTexture(SkISize dimensions, 163 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 168 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 172 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 191 bool onTransferPixelsTo(GrTexture*, int left, int top, int width, int height, 198 bool onRegenerateMipMapLevels(GrTexture*) override;
|
/external/skia/src/gpu/d3d/ |
D | GrD3DGpu.h | 112 std::unique_ptr<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override { in prepareTextureForCrossContextUsage() argument 134 sk_sp<GrTexture> onCreateTexture(SkISize, 143 sk_sp<GrTexture> onCreateCompressedTexture(SkISize dimensions, 150 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 154 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 158 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 177 bool onTransferPixelsTo(GrTexture* texture, int left, int top, int width, int height, in onTransferPixelsTo() 191 bool onRegenerateMipMapLevels(GrTexture*) override;
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.h | 100 GrGpuTextureCommandBuffer* getCommandBuffer(GrTexture*, GrSurfaceOrigin) override; 120 bool onRegenerateMipMapLevels(GrTexture* tex) override; 160 sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override; 184 sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc&, SkBudgeted, const GrMipLevel[], 187 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable, 189 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 210 bool onTransferPixels(GrTexture*, int left, int top, int width, int height, GrColorType,
|
D | GrVkTexture.h | 19 class GrVkTexture : public GrTexture, public virtual GrVkImage { 75 GrTexture::IdleProc* fIdleProc = nullptr; 78 typedef GrTexture INHERITED;
|
/external/skqp/tests/ |
D | LazyProxyTest.cpp | 86 return sk_sp<GrTexture>(); in Op() 91 return sk_sp<GrTexture>(); in Op() 97 sk_sp<GrTexture> texture = rp->createTexture(desc, SkBudgeted::kYes); in Op() 135 return sk_sp<GrTexture>(); in ClipFP() 257 return sk_sp<GrTexture>(); in __anon828e393b0302() 260 return sk_sp<GrTexture>(); in __anon828e393b0302() 323 return sk_sp<GrTexture>(); in LazyFailedInstantiationTestOp() 327 return sk_sp<GrTexture>(); in LazyFailedInstantiationTestOp() 466 return sk_sp<GrTexture>(); in __anon828e393b0502() 469 sk_sp<GrTexture> texture = in __anon828e393b0502() [all …]
|