/third_party/flutter/skia/src/gpu/ |
D | GrContext.cpp | 326 GrBackendTexture GrContext::createBackendTexture(int width, int height, in createBackendTexture() 333 return GrBackendTexture(); in createBackendTexture() 337 return GrBackendTexture(); in createBackendTexture() 341 return GrBackendTexture(); in createBackendTexture() 349 GrBackendTexture GrContext::createBackendTexture(int width, int height, in createBackendTexture() 355 return GrBackendTexture(); in createBackendTexture() 359 return GrBackendTexture(); in createBackendTexture() 364 return GrBackendTexture(); in createBackendTexture() 370 GrBackendTexture GrContext::createBackendTexture(const SkSurfaceCharacterization& c) { in createBackendTexture() 374 return GrBackendTexture(); in createBackendTexture() [all …]
|
D | GrBackendSurface.cpp | 284 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 295 GrBackendTexture::GrBackendTexture(int width, int height, const GrVkImageInfo& vkInfo) in GrBackendTexture() function in GrBackendTexture 297 : GrBackendTexture(width, height, vkInfo, in GrBackendTexture() 304 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 316 sk_sp<GrGLTextureParameters> GrBackendTexture::getGLTextureParams() const { in getGLTextureParams() 325 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 338 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 350 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 354 : GrBackendTexture(width, height, mipMapped, glInfo, sk_make_sp<GrGLTextureParameters>()) { in GrBackendTexture() 359 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function 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() 319 return GrBackendTexture(); in make_vk_backend_texture() 337 return GrBackendTexture(); in make_vk_backend_texture() 347 return GrBackendTexture(); in make_vk_backend_texture() [all …]
|
/third_party/flutter/skia/include/gpu/ |
D | GrBackendSurface.h | 40 class SK_API GrBackendTexture { 42 GrBackendTexture() {} in GrBackendTexture() function 180 class SK_API GrBackendTexture { 183 GrBackendTexture() : fIsValid(false) {} in GrBackendTexture() function 186 GrBackendTexture(int width, 191 GrBackendTexture(int width, 196 GrBackendTexture(int width, 203 GrBackendTexture(int width, 208 GrBackendTexture(int width, 213 GrBackendTexture(const GrBackendTexture& that); [all …]
|
/third_party/skia/include/gpu/ |
D | GrBackendSurface.h | 59 class SK_API GrBackendTexture { 61 GrBackendTexture() {} in GrBackendTexture() function 258 class SK_API GrBackendTexture { 261 GrBackendTexture(); 265 GrBackendTexture(int width, 272 GrBackendTexture(int width, 278 GrBackendTexture(int width, 285 GrBackendTexture(int width, 291 GrBackendTexture(int width, 296 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 …]
|
/third_party/flutter/skia/tests/ |
D | VkWrapTests.cpp | 39 GrBackendTexture origBackendTex = context->createBackendTexture(kW, kH, in wrap_tex_test() 57 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 70 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 82 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_tex_test() 93 GrBackendTexture origBackendTex = context->createBackendTexture(kW, kH, in wrap_rt_test() 135 GrBackendTexture origBackendTex = context->createBackendTexture(kW, kH, in wrap_trt_test() 152 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_trt_test() 165 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_trt_test() 177 GrBackendTexture backendTex = GrBackendTexture(kW, kH, backendCopy); in wrap_trt_test()
|
D | VkBackendSurfaceTest.cpp | 35 GrBackendTexture backendTex = context->createBackendTexture(1, 1, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 49 GrBackendTexture backendTexCopy = backendTex; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 84 GrBackendTexture backendTexImage = wrappedImage->getBackendTexture(false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 106 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(backendTex, backendTexCopy)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 108 GrBackendTexture invalidTexture; 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, backendTexCopy)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 118 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 122 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, invalidTexture)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 143 GrBackendTexture backendTex = context->createBackendTexture(1, 1, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() [all …]
|
D | GLBackendSurfaceTest.cpp | 51 GrBackendTexture backendTex = context->createBackendTexture( in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 58 GrBackendTexture backendTexCopy = backendTex; in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 108 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(backendTex, backendTexCopy)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 110 GrBackendTexture invalidTexture; in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 113 !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTexCopy)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 118 !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTexCopy)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 122 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 126 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, invalidTexture)); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
|
/third_party/skia/src/gpu/ |
D | GrBackendSurface.cpp | 450 GrBackendTexture::GrBackendTexture() : fIsValid(false) {} in GrBackendTexture() function in GrBackendTexture 453 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 466 GrBackendTexture::GrBackendTexture(int width, int height, const GrVkImageInfo& vkInfo) in GrBackendTexture() function in GrBackendTexture 467 : GrBackendTexture(width, height, vkInfo, in GrBackendTexture() 498 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 513 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 526 sk_sp<GrGLTextureParameters> GrBackendTexture::getGLTextureParams() const { in getGLTextureParams() 535 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 549 GrBackendTexture::GrBackendTexture(int width, int height, const GrD3DTextureResourceInfo& d3dInfo) in GrBackendTexture() function in GrBackendTexture 550 : 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 | 166 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture&, 171 sk_sp<GrTexture> wrapCompressedBackendTexture(const GrBackendTexture&, 178 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture&, 530 GrBackendTexture createBackendTexture(SkISize dimensions, 536 bool clearBackendTexture(const GrBackendTexture&, 544 GrBackendTexture createCompressedBackendTexture(SkISize dimensions, 549 bool updateCompressedBackendTexture(const GrBackendTexture&, 554 virtual bool setBackendTextureState(const GrBackendTexture&, in setBackendTextureState() argument 572 virtual void deleteBackendTexture(const GrBackendTexture&) = 0; 583 virtual bool isTestingOnlyBackendTexture(const GrBackendTexture&) const = 0; [all …]
|
D | GrDirectContext.cpp | 469 GrBackendTexture GrDirectContext::createBackendTexture(int width, int height, in createBackendTexture() 476 return GrBackendTexture(); in createBackendTexture() 483 GrBackendTexture GrDirectContext::createBackendTexture(int width, int height, in createBackendTexture() 489 return GrBackendTexture(); in createBackendTexture() 497 static GrBackendTexture create_and_clear_backend_texture(GrDirectContext* dContext, in create_and_clear_backend_texture() 506 GrBackendTexture beTex = gpu->createBackendTexture(dimensions, backendFormat, renderable, in create_and_clear_backend_texture() 524 const GrBackendTexture& backendTexture, in update_texture_with_pixmaps() 563 GrBackendTexture GrDirectContext::createBackendTexture(int width, int height, in createBackendTexture() 588 GrBackendTexture GrDirectContext::createBackendTexture(int width, int height, in createBackendTexture() 620 GrBackendTexture GrDirectContext::createBackendTexture(const SkPixmap srcData[], in createBackendTexture() [all …]
|
/third_party/skia/tests/ |
D | VkBackendSurfaceTest.cpp | 57 GrBackendTexture drmBETex = GrBackendTexture(1, 1, info); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 72 GrBackendTexture::TestingOnly_Equals(drmImage->getBackendTexture(false), drmBETex)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 104 GrBackendTexture backendTex1 = mbet->texture(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 105 GrBackendTexture backendTex2 = backendTex1; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 145 GrBackendTexture backendTexImage = wrappedImage->getBackendTexture(false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 167 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(backendTex1, backendTex2)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 169 GrBackendTexture invalidTexture; in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 171 REPORTER_ASSERT(reporter, !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex2)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 175 REPORTER_ASSERT(reporter, !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex2)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 179 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex1)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() [all …]
|
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 | 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()
|
/third_party/flutter/skia/include/core/ |
D | SkImage.h | 32 class GrBackendTexture; variable 276 const GrBackendTexture& backendTexture, in MakeFromTexture() 311 const GrBackendTexture& backendTexture, 377 const GrBackendTexture& backendTexture, 402 const GrBackendTexture yuvaTextures[], 429 const GrBackendTexture yuvaTextures[], 433 const GrBackendTexture& backendTexture, 455 const GrBackendTexture yuvaTextures[], 496 const GrBackendTexture yuvTextures[3], 504 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;
|
/third_party/skia/src/gpu/mock/ |
D | GrMockGpu.h | 74 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 78 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 82 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 175 GrBackendTexture onCreateBackendTexture(SkISize dimensions, 181 bool onClearBackendTexture(const GrBackendTexture&, in onClearBackendTexture() argument 187 GrBackendTexture onCreateCompressedBackendTexture(SkISize dimensions, 192 bool onUpdateCompressedBackendTexture(const GrBackendTexture&, in onUpdateCompressedBackendTexture() argument 199 void deleteBackendTexture(const GrBackendTexture&) override; 204 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()
|
/third_party/flutter/skia/src/image/ |
D | SkImage.cpp | 152 GrBackendTexture SkImage::getBackendTexture(bool flushPendingGrContextIO, in getBackendTexture() 176 GrBackendTexture SkImage::getBackendTexture(bool flushPendingGrContextIO, in getBackendTexture() 178 return GrBackendTexture(); // invalid in getBackendTexture() 207 GrBackendTexture SkImage_Base::onGetBackendTexture(bool flushPendingGrContextIO, in onGetBackendTexture() 209 return GrBackendTexture(); // invalid in onGetBackendTexture() 436 const GrBackendTexture& tex, GrSurfaceOrigin origin, in MakeFromTexture() 444 GrBackendTexture*, in MakeBackendTextureFromSkImage() argument 450 const GrBackendTexture& tex, GrSurfaceOrigin origin, in MakeFromAdoptedTexture() 458 const GrBackendTexture yuvaTextures[], in MakeFromYUVATexturesCopy() 469 const GrBackendTexture yuvaTextures[], in MakeFromYUVATexturesCopyWithExternalBackend() [all …]
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnGpu.h | 48 void deleteBackendTexture(const GrBackendTexture&) override; 53 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override; 129 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 133 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 136 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 142 GrBackendTexture onCreateBackendTexture(SkISize dimensions, 148 bool onClearBackendTexture(const GrBackendTexture&, 152 GrBackendTexture onCreateCompressedBackendTexture(SkISize dimensions, 157 bool onUpdateCompressedBackendTexture(const GrBackendTexture&,
|
/third_party/skia/include/core/ |
D | SkPromiseImageTexture.h | 37 static sk_sp<SkPromiseImageTexture> Make(const GrBackendTexture& backendTexture) { in Make() 44 GrBackendTexture backendTexture() const { return fBackendTexture; } in backendTexture() 54 explicit SkPromiseImageTexture(const GrBackendTexture& backendTexture); 57 GrBackendTexture fBackendTexture;
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlGpu.h | 61 void deleteBackendTexture(const GrBackendTexture&) override; 68 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override; 138 GrBackendTexture onCreateBackendTexture(SkISize dimensions, 144 bool onClearBackendTexture(const GrBackendTexture&, 148 GrBackendTexture onCreateCompressedBackendTexture(SkISize dimensions, 153 bool onUpdateCompressedBackendTexture(const GrBackendTexture&, 173 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, 178 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&, 182 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&,
|
/third_party/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&, 226 GrBackendTexture onCreateBackendTexture(SkISize dimensions, 232 bool onClearBackendTexture(const GrBackendTexture&, 236 GrBackendTexture onCreateCompressedBackendTexture(SkISize dimensions, 241 bool onUpdateCompressedBackendTexture(const GrBackendTexture&,
|