Home
last modified time | relevance | path

Searched refs:GrBackendTexture (Results 1 - 25 of 104) sorted by relevance

12345

/third_party/skia/include/gpu/
H A DGrBackendSurface.h59 class SK_API GrBackendTexture { class
61 GrBackendTexture() {} in GrBackendTexture() function in GrBackendTexture
258 class SK_API GrBackendTexture { class
261 GrBackendTexture();
265 GrBackendTexture(int width,
272 GrBackendTexture(int width,
278 GrBackendTexture(int width,
285 GrBackendTexture(int width,
291 GrBackendTexture(int width,
296 GrBackendTexture(in
[all...]
H A DGrDirectContext.h463 GrBackendTexture createBackendTexture(int width, int height,
477 GrBackendTexture createBackendTexture(int width, int height,
488 * finishedProc will always get called even if we failed to create the GrBackendTexture.
492 GrBackendTexture createBackendTexture(int width, int height,
506 * finishedProc will always get called even if we failed to create the GrBackendTexture.
512 GrBackendTexture createBackendTexture(int width, int height,
526 * The finishedProc will always get called even if we failed to create the GrBackendTexture.
540 GrBackendTexture createBackendTexture(const SkPixmap srcData[],
551 GrBackendTexture createBackendTexture(const SkPixmap& srcData, in createBackendTexture()
562 GrBackendTexture createBackendTextur
[all...]
H A DGrYUVABackendTextures.h92 const GrBackendTexture[SkYUVAInfo::kMaxPlanes],
95 const std::array<GrBackendTexture, SkYUVAInfo::kMaxPlanes>& textures() const { in textures()
99 GrBackendTexture texture(int i) const { in texture()
120 std::array<GrBackendTexture, SkYUVAInfo::kMaxPlanes> fTextures;
/third_party/skia/tests/
H A DVkWrapTests.cpp44 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(k in wrap_trt_test()
[all...]
H A DVkBackendSurfaceTest.cpp57 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()
137 // Verify that modifying the layout via the GrVkTexture is reflected in the GrBackendTexture 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 in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
[all...]
H A DGLBackendSurfaceTest.cpp58 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/skia/src/gpu/
H A DGrBackendSurface.cpp450 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 function in GrBackendTexture
535 GrBackendTexture::GrBackendTexture(int width, GrBackendTexture() function in GrBackendTexture
549 GrBackendTexture::GrBackendTexture(int width, int height, const GrD3DTextureResourceInfo& d3dInfo) GrBackendTexture() function in GrBackendTexture
555 GrBackendTexture::GrBackendTexture(int width, GrBackendTexture() function in GrBackendTexture
569 GrBackendTexture::GrBackendTexture(int width, GrBackendTexture() function in GrBackendTexture
579 GrBackendTexture::GrBackendTexture(int width, GrBackendTexture() function in GrBackendTexture
613 GrBackendTexture::GrBackendTexture(const GrBackendTexture& that) : fIsValid(false) { GrBackendTexture() function in GrBackendTexture
[all...]
H A DGrAHardwareBufferUtils.cpp207 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...]
H A DGrGpu.h188 sk_sp<GrTexture> wrapBackendTexture(const GrBackendTexture&,
193 sk_sp<GrTexture> wrapCompressedBackendTexture(const GrBackendTexture&,
200 sk_sp<GrTexture> wrapRenderableBackendTexture(const GrBackendTexture&,
557 GrBackendTexture createBackendTexture(SkISize dimensions,
563 bool clearBackendTexture(const GrBackendTexture&,
571 GrBackendTexture createCompressedBackendTexture(SkISize dimensions,
576 bool updateCompressedBackendTexture(const GrBackendTexture&,
581 virtual bool setBackendTextureState(const GrBackendTexture&, in setBackendTextureState() argument
599 virtual void deleteBackendTexture(const GrBackendTexture&) = 0;
610 virtual bool isTestingOnlyBackendTexture(const GrBackendTexture
[all...]
H A DGrDirectContext.cpp675 GrBackendTexture GrDirectContext::createBackendTexture(int width, int height, in createBackendTexture()
682 return GrBackendTexture(); in createBackendTexture()
689 GrBackendTexture GrDirectContext::createBackendTexture(int width, int height, in createBackendTexture()
695 return GrBackendTexture(); in createBackendTexture()
703 static GrBackendTexture create_and_clear_backend_texture(GrDirectContext* dContext, in create_and_clear_backend_texture()
712 GrBackendTexture beTex = gpu->createBackendTexture(dimensions, backendFormat, renderable, in create_and_clear_backend_texture()
730 const GrBackendTexture& backendTexture, in update_texture_with_pixmaps()
769 GrBackendTexture GrDirectContext::createBackendTexture(int width, int height, in createBackendTexture()
794 GrBackendTexture GrDirectContext::createBackendTexture(int width, int height, in createBackendTexture()
826 GrBackendTexture GrDirectContex
[all...]
H A DGrTexture.h24 virtual GrBackendTexture getBackendTexture() const = 0;
40 GrBackendTexture*,
69 virtual bool onStealBackendTexture(GrBackendTexture*, SkImage::BackendTextureReleaseProc*) = 0;
/third_party/skia/src/gpu/mock/
H A DGrMockGpu.h82 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&,
86 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&,
90 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&,
183 GrBackendTexture onCreateBackendTexture(SkISize dimensions,
189 bool onClearBackendTexture(const GrBackendTexture&,
195 GrBackendTexture onCreateCompressedBackendTexture(SkISize dimensions,
200 bool onUpdateCompressedBackendTexture(const GrBackendTexture&,
207 void deleteBackendTexture(const GrBackendTexture&) override;
212 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override;
H A DGrMockGpu.cpp164 sk_sp<GrTexture> GrMockGpu::onWrapBackendTexture(const GrBackendTexture& tex, in onWrapBackendTexture()
183 sk_sp<GrTexture> GrMockGpu::onWrapCompressedBackendTexture(const GrBackendTexture& tex, in onWrapCompressedBackendTexture()
189 sk_sp<GrTexture> GrMockGpu::onWrapRenderableBackendTexture(const GrBackendTexture& tex, in onWrapRenderableBackendTexture()
232 GrBackendTexture GrMockGpu::onCreateBackendTexture(SkISize dimensions, in onCreateBackendTexture()
244 return GrBackendTexture(); // invalid in onCreateBackendTexture()
250 return GrBackendTexture(dimensions.width(), dimensions.height(), mipMapped, info); in onCreateBackendTexture()
253 GrBackendTexture GrMockGpu::onCreateCompressedBackendTexture( in onCreateCompressedBackendTexture()
268 return GrBackendTexture(dimensions.width(), dimensions.height(), mipMapped, info); in onCreateCompressedBackendTexture()
271 void GrMockGpu::deleteBackendTexture(const GrBackendTexture& tex) { in deleteBackendTexture()
281 bool GrMockGpu::isTestingOnlyBackendTexture(const GrBackendTexture
[all...]
/third_party/skia/include/core/
H A DSkPromiseImageTexture.h19 * PromiseImageTextureFulfillProc the GrBackendTexture it wraps must remain valid until the
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;
H A DSkImage.h40 class GrBackendTexture;
309 const GrBackendTexture& backendTexture,
345 const GrBackendTexture& backendTexture,
361 GrBackendTexture created from pixmap is uploaded to match SkSurface created with
397 const GrBackendTexture& backendTexture,
461 GrBackendTexture the client supplies a description of the texture consisting of
466 be called to receive a GrBackendTexture. The properties of the GrBackendTexture must match
751 object is returned. Call GrBackendTexture::isValid to determine if the result
761 GrBackendTexture getBackendTextur
[all...]
/third_party/skia/src/gpu/mtl/
H A DGrMtlGpu.h61 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/
H A DGrD3DGpu.h58 void deleteBackendTexture(const GrBackendTexture&) override;
63 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override;
158 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&,
162 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&,
166 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&,
234 GrBackendTexture onCreateBackendTexture(SkISize dimensions,
240 bool onClearBackendTexture(const GrBackendTexture&,
244 GrBackendTexture onCreateCompressedBackendTexture(SkISize dimensions,
249 bool onUpdateCompressedBackendTexture(const GrBackendTexture&,
/third_party/skia/src/gpu/dawn/
H A DGrDawnGpu.h48 void deleteBackendTexture(const GrBackendTexture&) override;
53 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override;
137 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&,
141 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&,
144 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&,
150 GrBackendTexture onCreateBackendTexture(SkISize dimensions,
156 bool onClearBackendTexture(const GrBackendTexture&,
160 GrBackendTexture onCreateCompressedBackendTexture(SkISize dimensions,
165 bool onUpdateCompressedBackendTexture(const GrBackendTexture&,
H A DGrDawnTexture.h28 GrBackendTexture getBackendTexture() const override;
43 bool onStealBackendTexture(GrBackendTexture*, SkImage::BackendTextureReleaseProc*) override {
/third_party/skia/src/gpu/vk/
H A DGrVkGpu.h85 bool setBackendTextureState(const GrBackendTexture&,
95 void deleteBackendTexture(const GrBackendTexture&) override;
102 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override;
235 GrBackendTexture onCreateBackendTexture(SkISize dimensions,
240 GrBackendTexture onCreateCompressedBackendTexture(SkISize dimensions,
245 bool onClearBackendTexture(const GrBackendTexture&,
249 bool onUpdateCompressedBackendTexture(const GrBackendTexture&,
283 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&,
287 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&,
290 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture
[all...]
/third_party/skia/src/gpu/gl/
H A DGrGLTexture.cpp113 GrBackendTexture GrGLTexture::getBackendTexture() const { in getBackendTexture()
118 return GrBackendTexture(this->width(), this->height(), this->mipmapped(), info, fParameters); in getBackendTexture()
136 bool GrGLTexture::onStealBackendTexture(GrBackendTexture* backendTexture, in onStealBackendTexture()
140 *releaseProc = [](GrBackendTexture){}; in onStealBackendTexture()
H A DGrGLGpu.h158 void deleteBackendTexture(const GrBackendTexture&) override;
167 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override;
219 GrBackendTexture onCreateBackendTexture(SkISize dimensions,
225 GrBackendTexture onCreateCompressedBackendTexture(SkISize dimensions,
230 bool onClearBackendTexture(const GrBackendTexture&,
234 bool onUpdateCompressedBackendTexture(const GrBackendTexture&,
270 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&,
274 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&,
277 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&,
/third_party/skia/tools/gpu/vk/
H A DVkYcbcrSamplerHelper.h31 const GrBackendTexture& backendTexture() const { return fTexture; } in backendTexture()
43 GrBackendTexture fTexture;
/third_party/skia/tools/gpu/
H A DManagedBackendTexture.h75 * Call if the underlying GrBackendTexture was adopted by a GrContext. This clears this out the
88 const GrBackendTexture& texture() { return fTexture; } in texture()
96 GrBackendTexture fTexture;
117 GrBackendTexture texture = in MakeWithoutData()
/third_party/skia/src/image/
H A DSkImage_GpuBase.h39 static bool ValidateBackendTexture(const GrCaps*, const GrBackendTexture& tex,
42 static bool ValidateCompressedBackendTexture(const GrCaps*, const GrBackendTexture& tex,

Completed in 16 milliseconds

12345