/external/skia/include/gpu/ |
D | GrBackendSurface.h | 54 class SK_API GrBackendTexture { 56 GrBackendTexture() {} in GrBackendTexture() function 233 class SK_API GrBackendTexture { 236 GrBackendTexture(); 239 GrBackendTexture(int width, 245 GrBackendTexture(int width, 251 GrBackendTexture(int width, 258 GrBackendTexture(int width, 264 GrBackendTexture(int width, 269 GrBackendTexture(int width, [all …]
|
D | GrDirectContext.h | 443 GrBackendTexture createBackendTexture(int width, int height, 457 GrBackendTexture createBackendTexture(int width, int height, 472 GrBackendTexture createBackendTexture(int width, int height, 492 GrBackendTexture createBackendTexture(int width, int height, 520 GrBackendTexture createBackendTexture(const SkPixmap srcData[], 531 GrBackendTexture createBackendTexture(const SkPixmap& srcData, 542 GrBackendTexture createBackendTexture(const SkPixmap srcData[], 556 GrBackendTexture createBackendTexture(const SkPixmap& srcData, 578 bool updateBackendTexture(const GrBackendTexture&, 594 bool updateBackendTexture(const GrBackendTexture&, [all …]
|
/external/skqp/src/gpu/ |
D | GrBackendSurface.cpp | 170 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 174 : GrBackendTexture(width, height, vkInfo, in GrBackendTexture() 181 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 196 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 209 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 221 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 233 GrBackendTexture::~GrBackendTexture() { in ~GrBackendTexture() 237 void GrBackendTexture::cleanup() { in cleanup() 245 GrBackendTexture::GrBackendTexture(const GrBackendTexture& that) : fIsValid(false) { in GrBackendTexture() function in GrBackendTexture 249 GrBackendTexture& GrBackendTexture::operator=(const GrBackendTexture& that) { in operator =() [all …]
|
D | GrAHardwareBufferImageGenerator.cpp | 154 static GrBackendTexture make_vk_backend_texture( in make_vk_backend_texture() 170 return GrBackendTexture(); in make_vk_backend_texture() 188 return GrBackendTexture(); in make_vk_backend_texture() 198 return GrBackendTexture(); in make_vk_backend_texture() 255 return GrBackendTexture(); in make_vk_backend_texture() 281 return GrBackendTexture(); in make_vk_backend_texture() 307 return GrBackendTexture(); in make_vk_backend_texture() 321 return GrBackendTexture(); in make_vk_backend_texture() 341 return GrBackendTexture(width, height, imageInfo); in make_vk_backend_texture() 367 static GrBackendTexture make_gl_backend_texture( in make_gl_backend_texture() [all …]
|
D | GrGpu.h | 107 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable, 113 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture&, int sampleCnt, 124 sk_sp<GrRenderTarget> wrapBackendTextureAsRenderTarget(const GrBackendTexture&, 354 GrBackendTexture createTestingOnlyBackendTexture(const void* pixels, int w, int h, 361 virtual GrBackendTexture createTestingOnlyBackendTexture(const void* pixels, int w, int h, 366 virtual bool isTestingOnlyBackendTexture(const GrBackendTexture&) const = 0; 371 virtual void deleteTestingOnlyBackendTexture(const GrBackendTexture&) = 0; 460 virtual sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, 462 virtual sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, int sampleCnt, 465 virtual sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
|
/external/skia/src/gpu/ |
D | GrBackendSurface.cpp | 413 GrBackendTexture::GrBackendTexture() : fIsValid(false) {} in GrBackendTexture() function in GrBackendTexture 416 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 428 GrBackendTexture::GrBackendTexture(int width, int height, const GrVkImageInfo& vkInfo) in GrBackendTexture() function in GrBackendTexture 429 : GrBackendTexture(width, height, vkInfo, in GrBackendTexture() 452 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 466 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 478 sk_sp<GrGLTextureParameters> GrBackendTexture::getGLTextureParams() const { in getGLTextureParams() 487 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 500 GrBackendTexture::GrBackendTexture(int width, int height, const GrD3DTextureResourceInfo& d3dInfo) in GrBackendTexture() function in GrBackendTexture 501 : GrBackendTexture( in GrBackendTexture() [all …]
|
D | GrAHardwareBufferUtils.cpp | 207 static GrBackendTexture make_gl_backend_texture( in make_gl_backend_texture() 229 return GrBackendTexture(); in make_gl_backend_texture() 236 return GrBackendTexture(); in make_gl_backend_texture() 247 return GrBackendTexture(); in make_gl_backend_texture() 254 return GrBackendTexture(); in make_gl_backend_texture() 268 return GrBackendTexture(width, height, GrMipmapped::kNo, textureInfo); in make_gl_backend_texture() 301 static GrBackendTexture make_vk_backend_texture( in make_vk_backend_texture() 321 return GrBackendTexture(); in make_vk_backend_texture() 339 return GrBackendTexture(); in make_vk_backend_texture() 349 return GrBackendTexture(); in make_vk_backend_texture() [all …]
|
D | GrGpu.h | 163 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture&, 168 sk_sp<GrTexture> wrapCompressedBackendTexture(const GrBackendTexture&, 175 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture&, 515 GrBackendTexture createBackendTexture(SkISize dimensions, 521 bool clearBackendTexture(const GrBackendTexture&, 529 GrBackendTexture createCompressedBackendTexture(SkISize dimensions, 534 bool updateCompressedBackendTexture(const GrBackendTexture&, 539 virtual bool setBackendTextureState(const GrBackendTexture&, in setBackendTextureState() argument 557 virtual void deleteBackendTexture(const GrBackendTexture&) = 0; 568 virtual bool isTestingOnlyBackendTexture(const GrBackendTexture&) const = 0; [all …]
|
D | GrDirectContext.cpp | 455 GrBackendTexture GrDirectContext::createBackendTexture(int width, int height, in createBackendTexture() 462 return GrBackendTexture(); in createBackendTexture() 469 GrBackendTexture GrDirectContext::createBackendTexture(int width, int height, in createBackendTexture() 475 return GrBackendTexture(); in createBackendTexture() 483 static GrBackendTexture create_and_clear_backend_texture(GrDirectContext* dContext, in create_and_clear_backend_texture() 492 GrBackendTexture beTex = gpu->createBackendTexture(dimensions, backendFormat, renderable, in create_and_clear_backend_texture() 510 const GrBackendTexture& backendTexture, in update_texture_with_pixmaps() 549 GrBackendTexture GrDirectContext::createBackendTexture(int width, int height, in createBackendTexture() 574 GrBackendTexture GrDirectContext::createBackendTexture(int width, int height, in createBackendTexture() 606 GrBackendTexture GrDirectContext::createBackendTexture(const SkPixmap srcData[], in createBackendTexture() [all …]
|
/external/skqp/include/gpu/ |
D | GrBackendSurface.h | 26 class SK_API GrBackendTexture { 28 GrBackendTexture() {} in GrBackendTexture() function 130 class SK_API GrBackendTexture { 133 GrBackendTexture() : fIsValid(false) {} in GrBackendTexture() function 136 GrBackendTexture(int width, 141 GrBackendTexture(int width, 146 GrBackendTexture(int width, 152 GrBackendTexture(int width, 157 GrBackendTexture(const GrBackendTexture& that); 159 ~GrBackendTexture(); [all …]
|
/external/skqp/tests/ |
D | VkWrapTests.cpp | 39 GrBackendTexture origBackendTex = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, in wrap_tex_test() 53 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 67 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 80 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 92 GrBackendTexture origBackendTex = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, in wrap_rt_test() 134 GrBackendTexture origBackendTex = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, in wrap_trt_test() 148 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_trt_test() 162 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_trt_test() 175 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_trt_test()
|
D | VkBackendSurfaceTest.cpp | 33 GrBackendTexture backendTex = gpu->createTestingOnlyBackendTexture(nullptr, 1, 1, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 45 GrBackendTexture backendTexCopy = backendTex; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 80 GrBackendTexture backendTexImage = wrappedImage->getBackendTexture(false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 102 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(backendTex, backendTexCopy)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 104 GrBackendTexture invalidTexture; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 106 … REPORTER_ASSERT(reporter, !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTexCopy)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 110 … REPORTER_ASSERT(reporter, !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTexCopy)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 114 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 118 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, invalidTexture)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
|
/external/skqp/include/core/ |
D | SkImage.h | 41 class GrBackendTexture; variable 224 const GrBackendTexture& backendTexture, in MakeFromTexture() 259 const GrBackendTexture& backendTexture, 348 const GrBackendTexture& backendTexture, 373 const GrBackendTexture yuvaTextures[], 400 const GrBackendTexture yuvaTextures[], 404 const GrBackendTexture& backendTexture, 426 const GrBackendTexture yuvaTextures[], 467 const GrBackendTexture yuvTextures[3], 475 const GrBackendTexture yuvTextures[3], GrSurfaceOrigin imageOrigin, [all …]
|
D | SkPromiseImageTexture.h | 33 static sk_sp<SkPromiseImageTexture> Make(const GrBackendTexture& backendTexture) { in Make() 40 const GrBackendTexture& backendTexture() const { return fBackendTexture; } in backendTexture() 50 explicit SkPromiseImageTexture(const GrBackendTexture& backendTexture); 53 GrBackendTexture fBackendTexture;
|
/external/skia/tests/ |
D | VkWrapTests.cpp | 44 GrBackendTexture origBackendTex = mbet->texture(); in wrap_tex_test() 59 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 72 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 84 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 149 GrBackendTexture origBackendTex = mbet->texture(); in wrap_trt_test() 162 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_trt_test() 175 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_trt_test() 197 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_trt_test()
|
D | VkBackendSurfaceTest.cpp | 49 GrBackendTexture backendTex1 = mbet->texture(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 50 GrBackendTexture backendTex2 = backendTex1; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 90 GrBackendTexture backendTexImage = wrappedImage->getBackendTexture(false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 112 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(backendTex1, backendTex2)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 114 GrBackendTexture invalidTexture; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 116 REPORTER_ASSERT(reporter, !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex2)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 120 REPORTER_ASSERT(reporter, !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex2)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 124 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex1)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 128 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, invalidTexture)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 144 GrBackendTexture backendTex = dContext->createBackendTexture( [all …]
|
D | GLBackendSurfaceTest.cpp | 58 GrBackendTexture backendTex = dContext->createBackendTexture( in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 65 GrBackendTexture backendTexCopy = backendTex; in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 106 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(backendTex, backendTexCopy)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 108 GrBackendTexture invalidTexture; in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 111 !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTexCopy)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 116 !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTexCopy)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 120 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 124 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, invalidTexture)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
|
/external/skia/src/gpu/mock/ |
D | GrMockGpu.h | 75 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 79 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 83 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 161 GrBackendTexture onCreateBackendTexture(SkISize dimensions, 167 bool onClearBackendTexture(const GrBackendTexture&, in onClearBackendTexture() argument 173 GrBackendTexture onCreateCompressedBackendTexture(SkISize dimensions, 178 bool onUpdateCompressedBackendTexture(const GrBackendTexture&, in onUpdateCompressedBackendTexture() argument 185 void deleteBackendTexture(const GrBackendTexture&) override; 190 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override;
|
D | GrMockGpu.cpp | 153 sk_sp<GrTexture> GrMockGpu::onWrapBackendTexture(const GrBackendTexture& tex, in onWrapBackendTexture() 172 sk_sp<GrTexture> GrMockGpu::onWrapCompressedBackendTexture(const GrBackendTexture& tex, in onWrapCompressedBackendTexture() 178 sk_sp<GrTexture> GrMockGpu::onWrapRenderableBackendTexture(const GrBackendTexture& tex, in onWrapRenderableBackendTexture() 221 GrBackendTexture GrMockGpu::onCreateBackendTexture(SkISize dimensions, in onCreateBackendTexture() 233 return GrBackendTexture(); // invalid in onCreateBackendTexture() 239 return GrBackendTexture(dimensions.width(), dimensions.height(), mipMapped, info); in onCreateBackendTexture() 242 GrBackendTexture GrMockGpu::onCreateCompressedBackendTexture( in onCreateCompressedBackendTexture() 257 return GrBackendTexture(dimensions.width(), dimensions.height(), mipMapped, info); in onCreateCompressedBackendTexture() 260 void GrMockGpu::deleteBackendTexture(const GrBackendTexture& tex) { in deleteBackendTexture() 270 bool GrMockGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const { in isTestingOnlyBackendTexture()
|
/external/skqp/src/image/ |
D | SkImage.cpp | 155 GrBackendTexture SkImage::getBackendTexture(bool flushPendingGrContextIO, in getBackendTexture() 173 GrBackendTexture SkImage::getBackendTexture(bool flushPendingGrContextIO, in getBackendTexture() 175 return GrBackendTexture(); // invalid in getBackendTexture() 200 GrBackendTexture SkImage_Base::onGetBackendTexture(bool flushPendingGrContextIO, in onGetBackendTexture() 202 return GrBackendTexture(); // invalid in onGetBackendTexture() 376 const GrBackendTexture& tex, GrSurfaceOrigin origin, in MakeFromTexture() 384 GrBackendTexture*, in MakeBackendTextureFromSkImage() argument 390 const GrBackendTexture& tex, GrSurfaceOrigin origin, in MakeFromAdoptedTexture() 398 const GrBackendTexture yuvaTextures[], in MakeFromYUVATexturesCopy() 409 const GrBackendTexture yuvaTextures[], in MakeFromYUVATexturesCopyWithExternalBackend() [all …]
|
/external/skia/include/core/ |
D | SkPromiseImageTexture.h | 36 static sk_sp<SkPromiseImageTexture> Make(const GrBackendTexture& backendTexture) { in Make() 43 GrBackendTexture backendTexture() const { return fBackendTexture; } in backendTexture() 53 explicit SkPromiseImageTexture(const GrBackendTexture& backendTexture); 56 GrBackendTexture fBackendTexture;
|
/external/skia/src/gpu/dawn/ |
D | GrDawnGpu.h | 48 void deleteBackendTexture(const GrBackendTexture&) override; 53 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override; 127 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 131 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 134 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 140 GrBackendTexture onCreateBackendTexture(SkISize dimensions, 146 bool onClearBackendTexture(const GrBackendTexture&, 150 GrBackendTexture onCreateCompressedBackendTexture(SkISize dimensions, 155 bool onUpdateCompressedBackendTexture(const GrBackendTexture&,
|
/external/skqp/src/gpu/mock/ |
D | GrMockGpu.h | 62 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable, 65 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 72 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&, 109 GrBackendTexture createTestingOnlyBackendTexture(const void* pixels, int w, int h, 112 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override; 113 void deleteTestingOnlyBackendTexture(const GrBackendTexture&) override;
|
/external/skia/src/gpu/mtl/ |
D | GrMtlGpu.h | 57 void deleteBackendTexture(const GrBackendTexture&) override; 64 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override; 128 GrBackendTexture onCreateBackendTexture(SkISize dimensions, 134 bool onClearBackendTexture(const GrBackendTexture&, 138 GrBackendTexture onCreateCompressedBackendTexture(SkISize dimensions, 143 bool onUpdateCompressedBackendTexture(const GrBackendTexture&, 163 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 168 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 172 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&,
|
/external/skia/src/gpu/d3d/ |
D | GrD3DGpu.h | 58 void deleteBackendTexture(const GrBackendTexture&) override; 63 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override; 150 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 154 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 158 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 216 GrBackendTexture onCreateBackendTexture(SkISize dimensions, 222 bool onClearBackendTexture(const GrBackendTexture&, 226 GrBackendTexture onCreateCompressedBackendTexture(SkISize dimensions, 231 bool onUpdateCompressedBackendTexture(const GrBackendTexture&,
|