/third_party/skia/src/gpu/ |
D | GrResourceProvider.h | 27 class GrTexture; variable 64 sk_sp<GrTexture> createApproxTexture(SkISize dimensions, 72 sk_sp<GrTexture> createTexture(SkISize dimensions, 86 sk_sp<GrTexture> createTexture(SkISize dimensions, 102 sk_sp<GrTexture> createTexture(SkISize dimensions, 117 sk_sp<GrTexture> findAndRefScratchTexture(const GrScratchKey&); 118 sk_sp<GrTexture> findAndRefScratchTexture(SkISize dimensions, 130 sk_sp<GrTexture> createCompressedTexture(SkISize dimensions, 151 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture& tex, 156 sk_sp<GrTexture> wrapCompressedBackendTexture(const GrBackendTexture& tex, [all …]
|
D | GrTexture.cpp | 24 void GrTexture::markMipmapsDirty() { in markMipmapsDirty() 30 void GrTexture::markMipmapsClean() { in markMipmapsClean() 35 size_t GrTexture::onGpuMemorySize() const { in onGpuMemorySize() 41 GrTexture::GrTexture(GrGpu* gpu, in GrTexture() function in GrTexture 59 bool GrTexture::StealBackendTexture(sk_sp<GrTexture> texture, in StealBackendTexture() 89 void GrTexture::computeScratchKey(GrScratchKey* key) const { in computeScratchKey() 103 void GrTexture::ComputeScratchKey(const GrCaps& caps, in ComputeScratchKey()
|
D | GrGpu.h | 42 class GrTexture; variable 132 sk_sp<GrTexture> createTexture(SkISize dimensions, 147 sk_sp<GrTexture> createTexture(SkISize dimensions, 156 sk_sp<GrTexture> createCompressedTexture(SkISize dimensions, 166 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture&, 171 sk_sp<GrTexture> wrapCompressedBackendTexture(const GrBackendTexture&, 178 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture&, 215 bool regenerateMipMapLevels(GrTexture*); 312 bool transferPixelsTo(GrTexture* texture, 412 virtual std::unique_ptr<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) = 0; [all …]
|
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 | GrBackendTextureImageGenerator.h | 33 static std::unique_ptr<SkImageGenerator> Make(sk_sp<GrTexture>, GrSurfaceOrigin, 52 GrTexture*, 62 RefHelper(GrTexture*, 68 GrTexture* fOriginalTexture;
|
D | GrResourceProvider.cpp | 44 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() 112 sk_sp<GrTexture> GrResourceProvider::getExactScratch(SkISize dimensions, in getExactScratch() 120 sk_sp<GrTexture> tex(this->findAndRefScratchTexture(dimensions, in getExactScratch() 134 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() 179 sk_sp<GrTexture> GrResourceProvider::createCompressedTexture(SkISize dimensions, in createCompressedTexture() 193 sk_sp<GrTexture> GrResourceProvider::createTexture(SkISize dimensions, in createTexture() 216 sk_sp<GrTexture> tex = in createTexture() 268 sk_sp<GrTexture> GrResourceProvider::createApproxTexture(SkISize dimensions, in createApproxTexture() 307 sk_sp<GrTexture> GrResourceProvider::findAndRefScratchTexture(const GrScratchKey& key) { in findAndRefScratchTexture() 315 return sk_sp<GrTexture>(surface->asTexture()); in findAndRefScratchTexture() [all …]
|
/third_party/flutter/skia/src/gpu/ |
D | GrTexturePriv.h | 61 GrTexturePriv(GrTexture* texture) : fTexture(texture) { } in GrTexturePriv() 69 GrTexture* fTexture; 71 friend class GrTexture; // to construct/copy this type. variable 74 inline GrTexturePriv GrTexture::texturePriv() { return GrTexturePriv(this); } in texturePriv() 76 inline const GrTexturePriv GrTexture::texturePriv () const { in texturePriv() 77 return GrTexturePriv(const_cast<GrTexture*>(this)); in texturePriv()
|
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 SkISize& size, GrPixelConfig config, GrProtected isProtected, in GrTexture() function in GrTexture 51 bool GrTexture::StealBackendTexture(sk_sp<GrTexture> texture, in StealBackendTexture() 81 void GrTexture::computeScratchKey(GrScratchKey* key) const { in computeScratchKey()
|
D | GrGpu.h | 43 class GrTexture; variable 111 sk_sp<GrTexture> createTexture(const GrSurfaceDesc& desc, const GrBackendFormat& format, 119 sk_sp<GrTexture> createTexture(const GrSurfaceDesc& desc, const GrBackendFormat& format, 123 sk_sp<GrTexture> createCompressedTexture(int width, int height, const GrBackendFormat&, 130 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture&, GrColorType, 136 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture&, int sampleCnt, 179 bool regenerateMipMapLevels(GrTexture*); 262 bool transferPixelsTo(GrTexture* texture, int left, int top, int width, int height, 322 virtual GrGpuTextureCommandBuffer* getCommandBuffer(GrTexture*, GrSurfaceOrigin) = 0; 352 virtual sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) = 0; [all …]
|
D | GrResourceProvider.h | 27 class GrTexture; variable 78 sk_sp<GrTexture> createApproxTexture(const GrSurfaceDesc& desc, 86 sk_sp<GrTexture> createTexture(const GrSurfaceDesc& desc, 94 sk_sp<GrTexture> createTexture(const GrSurfaceDesc& desc, 104 sk_sp<GrTexture> createTexture(const GrSurfaceDesc& desc, 119 sk_sp<GrTexture> createCompressedTexture(int width, int height, const GrBackendFormat&, 136 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture& tex, GrColorType, GrWrapOwnership, 144 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture& tex, 295 sk_sp<GrTexture> refScratchTexture(const GrSurfaceDesc& desc, 306 sk_sp<GrTexture> getExactScratch(const GrSurfaceDesc& desc,
|
D | GrBackendTextureImageGenerator.h | 31 static std::unique_ptr<SkImageGenerator> Make(sk_sp<GrTexture>, GrSurfaceOrigin, 47 GrBackendTextureImageGenerator(const SkImageInfo& info, GrTexture*, GrSurfaceOrigin, 55 RefHelper(GrTexture*, uint32_t owningContextID); 59 GrTexture* fOriginalTexture;
|
D | GrResourceProvider.cpp | 79 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, in createTexture() 123 sk_sp<GrTexture> GrResourceProvider::getExactScratch(const GrSurfaceDesc& desc, in getExactScratch() 130 sk_sp<GrTexture> tex(this->refScratchTexture(desc, format, renderable, renderTargetSampleCnt, in getExactScratch() 139 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, in createTexture() 178 sk_sp<GrTexture> tex = in createTexture() 207 sk_sp<GrTexture> GrResourceProvider::createCompressedTexture(int width, int height, in createCompressedTexture() 219 sk_sp<GrTexture> GrResourceProvider::createTexture(const GrSurfaceDesc& desc, in createTexture() 238 sk_sp<GrTexture> tex = this->getExactScratch( in createTexture() 286 sk_sp<GrTexture> GrResourceProvider::createApproxTexture(const GrSurfaceDesc& desc, in createApproxTexture() 342 sk_sp<GrTexture> GrResourceProvider::refScratchTexture(const GrSurfaceDesc& desc, in refScratchTexture() [all …]
|
/third_party/flutter/skia/include/gpu/ |
D | GrTexture.h | 21 class SK_API GrTexture : virtual public GrSurface { 23 GrTexture* asTexture() override { return this; } in asTexture() 24 const GrTexture* asTexture() const override { return this; } in asTexture() 41 static bool StealBackendTexture(sk_sp<GrTexture>, 83 GrTexture(GrGpu*, const SkISize&, GrPixelConfig, GrProtected, GrTextureType, GrMipMapsStatus);
|
/third_party/skia/src/gpu/mock/ |
D | GrMockGpu.h | 44 std::unique_ptr<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override { in prepareTextureForCrossContextUsage() argument 58 sk_sp<GrTexture> onCreateTexture(SkISize, 67 sk_sp<GrTexture> onCreateCompressedTexture(SkISize dimensions, 74 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 78 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 82 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 111 bool onTransferPixelsTo(GrTexture*, in onTransferPixelsTo() argument 135 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()
|
/third_party/flutter/skia/src/gpu/mock/ |
D | GrMockGpu.h | 32 GrGpuTextureCommandBuffer* getCommandBuffer(GrTexture*, GrSurfaceOrigin) override; 46 sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override { return nullptr; } in prepareTextureForCrossContextUsage() argument 63 sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc&, 72 sk_sp<GrTexture> onCreateCompressedTexture(int width, int height, const GrBackendFormat&, 76 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrColorType, GrWrapOwnership, 79 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 106 bool onTransferPixelsTo(GrTexture* texture, int left, int top, int width, int height, in onTransferPixelsTo() 121 bool onRegenerateMipMapLevels(GrTexture*) override { return true; } in onRegenerateMipMapLevels() argument
|
D | GrMockGpu.cpp | 62 GrGpuTextureCommandBuffer* GrMockGpu::getCommandBuffer(GrTexture* texture, GrSurfaceOrigin origin) { in getCommandBuffer() 145 sk_sp<GrTexture> GrMockGpu::onCreateTexture(const GrSurfaceDesc& desc, in onCreateTexture() 165 return sk_sp<GrTexture>(new GrMockTextureRenderTarget(this, budgeted, desc, in onCreateTexture() 169 return sk_sp<GrTexture>( in onCreateTexture() 173 sk_sp<GrTexture> GrMockGpu::onCreateCompressedTexture(int width, int height, const GrBackendFormat&, in onCreateCompressedTexture() 179 sk_sp<GrTexture> GrMockGpu::onWrapBackendTexture(const GrBackendTexture& tex, GrColorType colorType, in onWrapBackendTexture() 194 return sk_sp<GrTexture>( in onWrapBackendTexture() 198 sk_sp<GrTexture> GrMockGpu::onWrapRenderableBackendTexture(const GrBackendTexture& tex, in onWrapRenderableBackendTexture() 219 return sk_sp<GrTexture>(new GrMockTextureRenderTarget( in onWrapRenderableBackendTexture()
|
/third_party/flutter/skia/src/gpu/dawn/ |
D | GrDawnGpu.h | 64 GrGpuTextureCommandBuffer* getCommandBuffer(GrTexture*, GrSurfaceOrigin) override; 83 sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override; 90 sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc& desc, 99 sk_sp<GrTexture> onCreateCompressedTexture(int width, int height, const GrBackendFormat&, 103 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrColorType, GrWrapOwnership, 105 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, int sampleCnt, 125 bool onTransferPixelsTo(GrTexture*, int left, int top, int width, int height, 136 bool onRegenerateMipMapLevels(GrTexture*) override;
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnGpu.h | 92 std::unique_ptr<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override; 113 sk_sp<GrTexture> onCreateTexture(SkISize, 122 sk_sp<GrTexture> onCreateCompressedTexture(SkISize dimensions, 129 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 133 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 136 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 180 bool onTransferPixelsTo(GrTexture*, 197 bool onRegenerateMipMapLevels(GrTexture*) override;
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlGpu.h | 88 GrGpuTextureCommandBuffer* getCommandBuffer(GrTexture*, GrSurfaceOrigin) override; 108 sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override { return nullptr; } in prepareTextureForCrossContextUsage() argument 138 sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc& desc, 146 sk_sp<GrTexture> onCreateCompressedTexture(int width, int height, const GrBackendFormat&, in onCreateCompressedTexture() 152 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrColorType, 155 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, int sampleCnt, 177 bool onTransferPixelsTo(GrTexture*, int left, int top, int width, int height, in onTransferPixelsTo() argument 190 bool onRegenerateMipMapLevels(GrTexture*) override;
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlGpu.h | 110 std::unique_ptr<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override; 158 sk_sp<GrTexture> onCreateTexture(SkISize, 166 sk_sp<GrTexture> onCreateCompressedTexture(SkISize dimensions, 173 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 178 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 182 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 207 bool onTransferPixelsTo(GrTexture*, 222 bool onRegenerateMipMapLevels(GrTexture*) override;
|
/third_party/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&, 183 bool onTransferPixelsTo(GrTexture*, 201 bool onRegenerateMipMapLevels(GrTexture*) override;
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkGpu.h | 110 GrGpuTextureCommandBuffer* getCommandBuffer(GrTexture*, GrSurfaceOrigin) override; 128 bool onRegenerateMipMapLevels(GrTexture* tex) override; 170 sk_sp<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override; 194 sk_sp<GrTexture> onCreateTexture(const GrSurfaceDesc&, 202 sk_sp<GrTexture> onCreateCompressedTexture(int width, int height, const GrBackendFormat&, 206 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrColorType, GrWrapOwnership, 208 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 233 bool onTransferPixelsTo(GrTexture*, int left, int top, int width, int height,
|
/third_party/flutter/skia/tests/ |
D | GrSurfaceTest.cpp | 50 sk_sp<GrTexture> tex1 = resourceProvider->createTexture( in DEF_GPUTEST_FOR_MOCK_CONTEXT() 88 GrResourceProvider* rp) -> sk_sp<GrTexture> { in DEF_GPUTEST_FOR_ALL_CONTEXTS() 459 static sk_sp<GrTexture> make_wrapped_texture(GrContext* context, GrRenderable renderable) { in make_wrapped_texture() 463 sk_sp<GrTexture> texture; in make_wrapped_texture() 488 static sk_sp<GrTexture> make_normal_texture(GrContext* context, GrRenderable renderable) { in make_normal_texture() 514 std::function<sk_sp<GrTexture>(GrContext*)> makers[] = {makeWrapped, makeWrappedRenderable, in DEF_GPUTEST() 518 auto addKey = [](GrTexture* texture) { in DEF_GPUTEST() 527 auto dontAddKey = [](GrTexture* texture) {}; in DEF_GPUTEST() 528 std::function<void(GrTexture*)> keyAdders[] = {addKey, dontAddKey}; in DEF_GPUTEST() 554 sk_sp<GrTexture> texture = m(context); in DEF_GPUTEST() [all …]
|
/third_party/skia/src/gpu/vk/ |
D | GrVkGpu.h | 145 bool onRegenerateMipMapLevels(GrTexture* tex) override; 175 std::unique_ptr<GrSemaphore> prepareTextureForCrossContextUsage(GrTexture*) override; 240 sk_sp<GrTexture> onCreateTexture(SkISize, 248 sk_sp<GrTexture> onCreateCompressedTexture(SkISize dimensions, 255 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 259 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 262 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 289 bool onTransferPixelsTo(GrTexture*,
|