/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 | 180 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 184 : GrBackendTexture(width, height, vkInfo, in GrBackendTexture() 191 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 206 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 219 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 231 GrBackendTexture::GrBackendTexture(int width, in GrBackendTexture() function in GrBackendTexture 243 GrBackendTexture::~GrBackendTexture() { in ~GrBackendTexture() 247 void GrBackendTexture::cleanup() { in cleanup() 255 GrBackendTexture::GrBackendTexture(const GrBackendTexture& that) : fIsValid(false) { in GrBackendTexture() function in GrBackendTexture 259 GrBackendTexture& GrBackendTexture::operator=(const GrBackendTexture& that) { in operator =() [all …]
|
D | GrAHardwareBufferUtils.cpp | 182 static GrBackendTexture make_gl_backend_texture( in make_gl_backend_texture() 203 return GrBackendTexture(); in make_gl_backend_texture() 210 return GrBackendTexture(); in make_gl_backend_texture() 221 return GrBackendTexture(); in make_gl_backend_texture() 228 return GrBackendTexture(); in make_gl_backend_texture() 241 return GrBackendTexture(width, height, GrMipMapped::kNo, textureInfo); in make_gl_backend_texture() 270 static GrBackendTexture make_vk_backend_texture( in make_vk_backend_texture() 287 return GrBackendTexture(); in make_vk_backend_texture() 305 return GrBackendTexture(); in make_vk_backend_texture() 315 return GrBackendTexture(); in make_vk_backend_texture() [all …]
|
D | GrGpu.h | 109 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable, 115 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture&, int sampleCnt, 126 sk_sp<GrRenderTarget> wrapBackendTextureAsRenderTarget(const GrBackendTexture&, 386 GrBackendTexture createTestingOnlyBackendTexture(const void* pixels, int w, int h, 393 virtual GrBackendTexture createTestingOnlyBackendTexture(const void* pixels, int w, int h, 398 virtual bool isTestingOnlyBackendTexture(const GrBackendTexture&) const = 0; 403 virtual void deleteTestingOnlyBackendTexture(const GrBackendTexture&) = 0; 498 virtual sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, 500 virtual sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, int sampleCnt, 503 virtual sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&,
|
/external/skia/include/gpu/ |
D | GrBackendSurface.h | 26 class SK_API GrBackendTexture { 28 GrBackendTexture() {} in GrBackendTexture() function 132 class SK_API GrBackendTexture { 135 GrBackendTexture() : fIsValid(false) {} in GrBackendTexture() function 138 GrBackendTexture(int width, 143 GrBackendTexture(int width, 148 GrBackendTexture(int width, 154 GrBackendTexture(int width, 159 GrBackendTexture(const GrBackendTexture& that); 161 ~GrBackendTexture(); [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/skia/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() 138 GrBackendTexture backendTex = gpu->createTestingOnlyBackendTexture(nullptr, 1, 1, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() [all …]
|
/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/include/core/ |
D | SkImage.h | 41 class GrBackendTexture; variable 226 const GrBackendTexture& backendTexture, in MakeFromTexture() 261 const GrBackendTexture& backendTexture, 350 const GrBackendTexture& backendTexture, 375 const GrBackendTexture yuvaTextures[], 402 const GrBackendTexture yuvaTextures[], 406 const GrBackendTexture& backendTexture, 428 const GrBackendTexture yuvaTextures[], 469 const GrBackendTexture yuvTextures[3], 477 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/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 …]
|
D | SkImage_Gpu.cpp | 105 const GrBackendTexture& backendTex, in new_wrapped_texture_common() 127 const GrBackendTexture& tex, GrSurfaceOrigin origin, in MakeFromTexture() 133 GrBackendTexture texCopy = tex; in MakeFromTexture() 142 const GrBackendTexture& tex, GrSurfaceOrigin origin, in MakeFromAdoptedTexture() 149 GrBackendTexture texCopy = tex; in MakeFromAdoptedTexture() 186 const GrBackendTexture yuvaTextures[], in ConvertYUVATexturesToRGB() 218 const GrBackendTexture yuvaTextures[], in MakeFromYUVATexturesCopy() 245 const GrBackendTexture yuvaTextures[], in MakeFromYUVATexturesCopyWithExternalBackend() 249 const GrBackendTexture& backendTexture, in MakeFromYUVATexturesCopyWithExternalBackend() 251 GrBackendTexture backendTextureCopy = backendTexture; in MakeFromYUVATexturesCopyWithExternalBackend() [all …]
|
/external/skia/src/image/ |
D | SkImage.cpp | 161 GrBackendTexture SkImage::getBackendTexture(bool flushPendingGrContextIO, in getBackendTexture() 179 GrBackendTexture SkImage::getBackendTexture(bool flushPendingGrContextIO, in getBackendTexture() 181 return GrBackendTexture(); // invalid in getBackendTexture() 206 GrBackendTexture SkImage_Base::onGetBackendTexture(bool flushPendingGrContextIO, in onGetBackendTexture() 208 return GrBackendTexture(); // invalid in onGetBackendTexture() 398 const GrBackendTexture& tex, GrSurfaceOrigin origin, in MakeFromTexture() 406 GrBackendTexture*, in MakeBackendTextureFromSkImage() argument 412 const GrBackendTexture& tex, GrSurfaceOrigin origin, in MakeFromAdoptedTexture() 420 const GrBackendTexture yuvaTextures[], in MakeFromYUVATexturesCopy() 431 const GrBackendTexture yuvaTextures[], in MakeFromYUVATexturesCopyWithExternalBackend() [all …]
|
/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;
|
D | GrMockGpu.cpp | 109 sk_sp<GrTexture> GrMockGpu::onWrapBackendTexture(const GrBackendTexture& tex, in onWrapBackendTexture() 126 sk_sp<GrTexture> GrMockGpu::onWrapRenderableBackendTexture(const GrBackendTexture& tex, in onWrapRenderableBackendTexture() 165 sk_sp<GrRenderTarget> GrMockGpu::onWrapBackendTextureAsRenderTarget(const GrBackendTexture& tex, in onWrapBackendTextureAsRenderTarget() 200 GrBackendTexture GrMockGpu::createTestingOnlyBackendTexture(const void* pixels, int w, int h, in createTestingOnlyBackendTexture() 207 return GrBackendTexture(); // invalid in createTestingOnlyBackendTexture() 214 return GrBackendTexture(w, h, mipMapped, info); in createTestingOnlyBackendTexture() 217 bool GrMockGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const { in isTestingOnlyBackendTexture() 228 void GrMockGpu::deleteTestingOnlyBackendTexture(const GrBackendTexture& tex) { in deleteTestingOnlyBackendTexture()
|
/external/skia/src/gpu/mock/ |
D | GrMockGpu.h | 68 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&, GrWrapOwnership, GrWrapCacheable, 71 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&, 78 sk_sp<GrRenderTarget> onWrapBackendTextureAsRenderTarget(const GrBackendTexture&, 122 GrBackendTexture createTestingOnlyBackendTexture(const void* pixels, int w, int h, 125 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override; 126 void deleteTestingOnlyBackendTexture(const GrBackendTexture&) override;
|
D | GrMockGpu.cpp | 109 sk_sp<GrTexture> GrMockGpu::onWrapBackendTexture(const GrBackendTexture& tex, in onWrapBackendTexture() 126 sk_sp<GrTexture> GrMockGpu::onWrapRenderableBackendTexture(const GrBackendTexture& tex, in onWrapRenderableBackendTexture() 165 sk_sp<GrRenderTarget> GrMockGpu::onWrapBackendTextureAsRenderTarget(const GrBackendTexture& tex, in onWrapBackendTextureAsRenderTarget() 200 GrBackendTexture GrMockGpu::createTestingOnlyBackendTexture(const void* pixels, int w, int h, in createTestingOnlyBackendTexture() 207 return GrBackendTexture(); // invalid in createTestingOnlyBackendTexture() 214 return GrBackendTexture(w, h, mipMapped, info); in createTestingOnlyBackendTexture() 217 bool GrMockGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const { in isTestingOnlyBackendTexture() 228 void GrMockGpu::deleteTestingOnlyBackendTexture(const GrBackendTexture& tex) { in deleteTestingOnlyBackendTexture()
|
/external/skia/gm/ |
D | imagefromyuvtextures.cpp | 107 void createYUVTextures(GrContext* context, GrBackendTexture yuvTextures[3]) { in createYUVTextures() 125 GrBackendTexture* resultTexture) { in createResultTexture() 137 void deleteBackendTextures(GrContext* context, GrBackendTexture textures[], int n) { in deleteBackendTextures() 165 GrBackendTexture yuvTextures[3]; in onDraw() 184 GrBackendTexture yuvTextures[3]; in onDraw() 185 GrBackendTexture resultTexture; in onDraw() 204 GrBackendTexture texturesToDelete[4]{ in onDraw()
|
/external/skqp/gm/ |
D | imagefromyuvtextures.cpp | 96 void createYUVTextures(GrContext* context, GrBackendTexture yuvTextures[3]) { in createYUVTextures() 118 GrBackendTexture* resultTexture) { in createResultTexture() 134 void deleteBackendTextures(GrContext* context, GrBackendTexture textures[], int n) { in deleteBackendTextures() 168 GrBackendTexture yuvTextures[3]; in onDraw() 186 GrBackendTexture yuvTextures[3]; in onDraw() 187 GrBackendTexture resultTexture; in onDraw() 202 GrBackendTexture texturesToDelete[4]{ in onDraw()
|