Home
last modified time | relevance | path

Searched refs:BackendTexture (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/src/gpu/graphite/
DBackendTexture.cpp14 BackendTexture::BackendTexture() {} in BackendTexture() function in skgpu::graphite::BackendTexture
16 BackendTexture::~BackendTexture() { in ~BackendTexture()
31 BackendTexture::BackendTexture(const BackendTexture& that) { in BackendTexture() function in skgpu::graphite::BackendTexture
35 BackendTexture& BackendTexture::operator=(const BackendTexture& that) { in operator =()
68 bool BackendTexture::operator==(const BackendTexture& that) const { in operator ==()
103 void BackendTexture::setMutableState(const skgpu::MutableTextureState& newState) { in setMutableState()
108 BackendTexture::BackendTexture(wgpu::Texture texture) in BackendTexture() function in skgpu::graphite::BackendTexture
114 BackendTexture::BackendTexture(SkISize dimensions, in BackendTexture() function in skgpu::graphite::BackendTexture
121 wgpu::Texture BackendTexture::getDawnTexture() const { in getDawnTexture()
128 wgpu::TextureView BackendTexture::getDawnTextureView() const { in getDawnTextureView()
[all …]
DResourceProvider.h30 class BackendTexture; variable
60 virtual sk_sp<Texture> createWrappedTexture(const BackendTexture&) = 0;
76 BackendTexture createBackendTexture(SkISize dimensions, const TextureInfo&);
77 void deleteBackendTexture(BackendTexture&);
107 virtual BackendTexture onCreateBackendTexture(SkISize dimensions, const TextureInfo&) = 0;
108 virtual void onDeleteBackendTexture(BackendTexture&) = 0;
DResourceProvider.cpp255 BackendTexture ResourceProvider::createBackendTexture(SkISize dimensions, const TextureInfo& info) { in createBackendTexture()
269 void ResourceProvider::deleteBackendTexture(BackendTexture& texture) { in deleteBackendTexture()
272 texture = BackendTexture(); in deleteBackendTexture()
DRecorder.cpp239 BackendTexture Recorder::createBackendTexture(SkISize dimensions, const TextureInfo& info) { in createBackendTexture()
248 bool Recorder::updateBackendTexture(const BackendTexture& backendTex, in updateBackendTexture()
315 void Recorder::deleteBackendTexture(BackendTexture& texture) { in deleteBackendTexture()
DSurface_Graphite.cpp152 const BackendTexture& texture, in validate_backend_texture()
183 const BackendTexture& backendTex, in MakeGraphiteFromBackendTexture()
DSharedContext.h25 class BackendTexture; variable
DImage_Graphite.cpp118 const BackendTexture& texture, in validate_backend_texture()
263 const BackendTexture& backendTex, in MakeGraphiteFromBackendTexture()
/external/skia/include/gpu/graphite/
DBackendTexture.h35 class BackendTexture {
37 BackendTexture();
46 BackendTexture(wgpu::Texture texture);
51 BackendTexture(SkISize dimensions,
58 BackendTexture(SkISize dimensions, MtlHandle mtlTexture);
62 BackendTexture(SkISize dimensions,
69 BackendTexture(const BackendTexture&);
71 ~BackendTexture();
73 BackendTexture& operator=(const BackendTexture&);
75 bool operator==(const BackendTexture&) const;
[all …]
DRecorder.h35 class BackendTexture; variable
90 BackendTexture createBackendTexture(SkISize dimensions, const TextureInfo&);
107 bool updateBackendTexture(const BackendTexture&,
120 void deleteBackendTexture(BackendTexture&);
DContext.h25 class BackendTexture; variable
81 void deleteBackendTexture(BackendTexture&);
/external/skia/src/gpu/graphite/vk/
DVulkanResourceProvider.h25 sk_sp<Texture> createWrappedTexture(const BackendTexture&) override;
42 BackendTexture onCreateBackendTexture(SkISize dimensions, const TextureInfo&) override;
43 void onDeleteBackendTexture(BackendTexture&) override {} in onDeleteBackendTexture() argument
DVulkanResourceProvider.cpp32 sk_sp<Texture> VulkanResourceProvider::createWrappedTexture(const BackendTexture&) { in createWrappedTexture() argument
63 BackendTexture VulkanResourceProvider::onCreateBackendTexture(SkISize dimensions, in onCreateBackendTexture()
/external/skia/src/gpu/graphite/dawn/
DDawnResourceProvider.h24 sk_sp<Texture> createWrappedTexture(const BackendTexture&) override;
44 BackendTexture onCreateBackendTexture(SkISize dimensions, const TextureInfo&) override;
45 void onDeleteBackendTexture(BackendTexture&) override;
DDawnResourceProvider.cpp140 sk_sp<Texture> DawnResourceProvider::createWrappedTexture(const BackendTexture& texture) { in createWrappedTexture()
210 BackendTexture DawnResourceProvider::onCreateBackendTexture(SkISize dimensions, in onCreateBackendTexture()
219 return BackendTexture(std::move(texture)); in onCreateBackendTexture()
222 void DawnResourceProvider::onDeleteBackendTexture(BackendTexture& texture) { in onDeleteBackendTexture()
/external/skia/src/gpu/graphite/mtl/
DMtlResourceProvider.h28 sk_sp<Texture> createWrappedTexture(const BackendTexture&) override;
47 BackendTexture onCreateBackendTexture(SkISize dimensions, const TextureInfo&) override;
48 void onDeleteBackendTexture(BackendTexture&) override;
DMtlResourceProvider.mm11 #include "include/gpu/graphite/BackendTexture.h"
204 sk_sp<Texture> MtlResourceProvider::createWrappedTexture(const BackendTexture& texture) {
308 BackendTexture MtlResourceProvider::onCreateBackendTexture(SkISize dimensions,
316 return BackendTexture(dimensions, (Handle)texture.release());
319 void MtlResourceProvider::onDeleteBackendTexture(BackendTexture& texture) {
/external/skia/tests/graphite/
DUpdateBackendTextureTest.cpp50 const BackendTexture& backendTex, in update_backend_texture()
66 BackendTexture create_backend_texture(skiatest::Reporter* reporter, in create_backend_texture()
79 BackendTexture backendTex = recorder->createBackendTexture(kSize, info); in create_backend_texture()
89 const skgpu::graphite::BackendTexture& backendTex, in wrap_backend_texture()
194 BackendTexture backendTex = create_backend_texture(reporter, caps, recorder.get(), in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS()
DBackendTextureTest.cpp62 BackendTexture invalidTexture; in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
168 BackendTexture texture = recorder->createBackendTexture(kSize, info); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
206 BackendTexture texture({16, 16}, in DEF_GRAPHITE_TEST_FOR_VULKAN_CONTEXT()
DGraphitePromiseImageTest.cpp28 explicit PromiseTextureChecker(const BackendTexture& backendTex, in PromiseTextureChecker()
34 explicit PromiseTextureChecker(const BackendTexture& backendTex0, in PromiseTextureChecker()
35 const BackendTexture& backendTex1, in PromiseTextureChecker()
51 BackendTexture fBackendTextures[2];
56 static std::tuple<BackendTexture, void*> Fulfill(void* self) { in Fulfill()
170 BackendTexture fBackendTextures[2];
DMutableImagesTest.cpp176 const BackendTexture& backendTex, in update_backend_texture()
245 BackendTexture fBETexture;
276 static std::tuple<BackendTexture, void*> fulfill(void* ctx) { in fulfill()
403 BackendTexture fBETextures[kNumMutations+1];
DTextureProxyTest.cpp33 const BackendTexture backendTexture = recorder->createBackendTexture(kValidSize, textureInfo); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
148 const BackendTexture largerBackendTexture = in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
DMtlBackendTextureTest.mm10 #include "include/gpu/graphite/BackendTexture.h"
/external/skia/tools/sk_app/
DGraphiteMetalWindowContext.mm12 #include "include/gpu/graphite/BackendTexture.h"
90 skgpu::graphite::BackendTexture backendTex(this->dimensions(),
/external/skia/include/core/
DSkImage.h66 class BackendTexture; variable
1169 std::tuple<skgpu::graphite::BackendTexture, GraphitePromiseTextureReleaseContext>
1247 const skgpu::graphite::BackendTexture&,
DSkSurface.h34 class BackendTexture; variable
457 const skgpu::graphite::BackendTexture&,

12