/external/skia/src/gpu/graphite/ |
D | BackendTexture.cpp | 15 BackendTexture::BackendTexture() = default; 17 BackendTexture::~BackendTexture() = default; 19 BackendTexture::BackendTexture(const BackendTexture& that) { in BackendTexture() function in skgpu::graphite::BackendTexture 29 BackendTexture& BackendTexture::operator=(const BackendTexture& that) { in operator =() 46 bool BackendTexture::operator==(const BackendTexture& that) const { in operator ==()
|
D | BackendTexturePriv.h | 29 using AnyBackendTextureData = BackendTexture::AnyBackendTextureData; 32 friend class BackendTexture; 41 static BackendTexture Make(SkISize dimensions, in Make() 44 return BackendTexture(dimensions, info, textureData); in Make() 47 static const BackendTextureData* GetData(const BackendTexture& info) { in GetData() 51 static BackendTextureData* GetData(BackendTexture* info) { in GetData()
|
D | ResourceProvider.h | 34 class BackendTexture; variable 73 sk_sp<Texture> createWrappedTexture(const BackendTexture&, std::string_view label); 88 BackendTexture createBackendTexture(SkISize dimensions, const TextureInfo&); 89 void deleteBackendTexture(const BackendTexture&); 116 virtual BackendTexture createBackendTexture(AHardwareBuffer*, 154 virtual sk_sp<Texture> onCreateWrappedTexture(const BackendTexture&) = 0; 156 virtual BackendTexture onCreateBackendTexture(SkISize dimensions, const TextureInfo&) = 0; 158 virtual BackendTexture onCreateBackendTexture(AHardwareBuffer*, 164 virtual void onDeleteBackendTexture(const BackendTexture&) = 0;
|
D | ResourceProvider.cpp | 210 sk_sp<Texture> ResourceProvider::createWrappedTexture(const BackendTexture& backendTexture, in createWrappedTexture() 314 BackendTexture ResourceProvider::createBackendTexture(SkISize dimensions, const TextureInfo& info) { in createBackendTexture() 322 BackendTexture ResourceProvider::createBackendTexture(AHardwareBuffer* hardwareBuffer, in createBackendTexture() 337 BackendTexture ResourceProvider::onCreateBackendTexture(AHardwareBuffer*, in onCreateBackendTexture() 346 void ResourceProvider::deleteBackendTexture(const BackendTexture& texture) { in deleteBackendTexture()
|
/external/skia/include/gpu/graphite/ |
D | BackendTexture.h | 21 class SK_API BackendTexture { 23 BackendTexture(); 24 BackendTexture(const BackendTexture&); 26 ~BackendTexture(); 28 BackendTexture& operator=(const BackendTexture&); 30 bool operator==(const BackendTexture&) const; 31 bool operator!=(const BackendTexture& that) const { return !(*this == that); } 50 BackendTexture(SkISize dimensions, TextureInfo info, const SomeBackendTextureData& textureData) in BackendTexture() function
|
D | YUVABackendTextures.h | 104 SkSpan<const BackendTexture>); 108 SkSpan<const BackendTexture> textures) in YUVABackendTextures() 111 SkSpan<const BackendTexture> planeTextures() const { in planeTextures() 112 return SkSpan<const BackendTexture>(fPlaneTextures); in planeTextures() 116 BackendTexture planeTexture(int i) const { in planeTexture() 142 std::array<BackendTexture, kMaxPlanes> fPlaneTextures;
|
D | Recorder.h | 39 class BackendTexture; variable 107 BackendTexture createBackendTexture(SkISize dimensions, const TextureInfo&); 110 BackendTexture createBackendTexture(AHardwareBuffer*, 134 bool updateBackendTexture(const BackendTexture&, 152 bool updateCompressedBackendTexture(const BackendTexture&, 167 void deleteBackendTexture(const BackendTexture&);
|
D | Image.h | 25 class BackendTexture; variable 47 std::tuple<skgpu::graphite::BackendTexture, GraphitePromiseTextureReleaseContext> (*)( 78 const skgpu::graphite::BackendTexture&, 89 const skgpu::graphite::BackendTexture&, 99 const skgpu::graphite::BackendTexture&,
|
D | Surface.h | 21 class BackendTexture; variable 81 const skgpu::graphite::BackendTexture&,
|
/external/skia/src/gpu/graphite/vk/ |
D | VulkanBackendTexture.cpp | 52 static const VulkanBackendTextureData* get_and_cast_data(const BackendTexture& tex) { in get_and_cast_data() 58 static VulkanBackendTextureData* get_and_cast_data(BackendTexture* tex) { in get_and_cast_data() 65 BackendTexture MakeVulkan(SkISize dimensions, in MakeVulkan() 81 VkImage GetVkImage(const BackendTexture& tex) { in GetVkImage() 90 VkImageLayout GetVkImageLayout(const BackendTexture& tex) { in GetVkImageLayout() 99 uint32_t GetVkQueueFamilyIndex(const BackendTexture& tex) { in GetVkQueueFamilyIndex() 108 VulkanAlloc GetMemoryAlloc(const BackendTexture& tex) { in GetMemoryAlloc() 117 sk_sp<skgpu::MutableTextureState> GetMutableState(const BackendTexture& tex) { in GetMutableState() 126 void SetMutableState(BackendTexture* tex, const skgpu::MutableTextureState& newState) { in SetMutableState()
|
D | VulkanGraphiteUtils.h | 76 VkImage GetVkImage(const BackendTexture&); 77 VkImageLayout GetVkImageLayout(const BackendTexture&); 78 uint32_t GetVkQueueFamilyIndex(const BackendTexture&); 79 VulkanAlloc GetMemoryAlloc(const BackendTexture&); 81 void SetMutableState(BackendTexture*, const skgpu::MutableTextureState&); 82 sk_sp<skgpu::MutableTextureState> GetMutableState(const BackendTexture&);
|
D | VulkanResourceProvider.h | 73 sk_sp<Texture> onCreateWrappedTexture(const BackendTexture&) override; 87 BackendTexture onCreateBackendTexture(SkISize dimensions, const TextureInfo&) override; 89 BackendTexture onCreateBackendTexture(AHardwareBuffer*, 95 void onDeleteBackendTexture(const BackendTexture&) override;
|
/external/skia/src/gpu/graphite/dawn/ |
D | DawnBackendTexture.cpp | 48 static const DawnBackendTextureData* get_and_cast_data(const BackendTexture& tex) { in get_and_cast_data() 63 BackendTexture MakeDawn(WGPUTexture texture) { in MakeDawn() 73 BackendTexture MakeDawn(SkISize planeDimensions, const DawnTextureInfo& info, WGPUTexture texture) { in MakeDawn() 87 BackendTexture MakeDawn(SkISize dimensions, in MakeDawn() 95 WGPUTexture GetDawnTexturePtr(const BackendTexture& tex) { in GetDawnTexturePtr() 104 WGPUTextureView GetDawnTextureViewPtr(const BackendTexture& tex) { in GetDawnTextureViewPtr()
|
D | DawnResourceProvider.h | 82 sk_sp<Texture> onCreateWrappedTexture(const BackendTexture&) override; 86 BackendTexture onCreateBackendTexture(SkISize dimensions, const TextureInfo&) override; 87 void onDeleteBackendTexture(const BackendTexture&) override;
|
D | DawnGraphiteUtils.h | 85 WGPUTexture GetDawnTexturePtr(const BackendTexture&); 86 WGPUTextureView GetDawnTextureViewPtr(const BackendTexture&);
|
/external/skia/src/gpu/graphite/mtl/ |
D | MtlResourceProvider.h | 48 sk_sp<Texture> onCreateWrappedTexture(const BackendTexture&) override; 52 BackendTexture onCreateBackendTexture(SkISize dimensions, const TextureInfo&) override; 53 void onDeleteBackendTexture(const BackendTexture&) override;
|
D | MtlBackendTexture.mm | 48 static const MtlBackendTextureData* get_and_cast_data(const BackendTexture& tex) { 55 BackendTexture MakeMetal(SkISize dimensions, CFTypeRef mtlTexture) { 60 CFTypeRef GetMtlTexture(const BackendTexture& tex) {
|
D | MtlResourceProvider.mm | 11 #include "include/gpu/graphite/BackendTexture.h" 82 sk_sp<Texture> MtlResourceProvider::onCreateWrappedTexture(const BackendTexture& texture) { 185 BackendTexture MtlResourceProvider::onCreateBackendTexture(SkISize dimensions, 196 void MtlResourceProvider::onDeleteBackendTexture(const BackendTexture& texture) {
|
/external/skia/include/gpu/graphite/dawn/ |
D | DawnGraphiteTypes.h | 22 class BackendTexture; variable 134 SK_API BackendTexture MakeDawn(WGPUTexture); 144 SK_API BackendTexture MakeDawn(SkISize planeDimensions, const DawnTextureInfo&, WGPUTexture); 159 SK_API BackendTexture MakeDawn(SkISize dimensions,
|
/external/skia/tests/graphite/ |
D | UpdateBackendTextureTest.cpp | 71 const BackendTexture& backendTex, in update_backend_texture() 89 BackendTexture create_backend_texture(skiatest::Reporter* reporter, in create_backend_texture() 105 BackendTexture backendTex = recorder->createBackendTexture(kSize, info); in create_backend_texture() 115 const skgpu::graphite::BackendTexture& backendTex, in wrap_backend_texture() 199 BackendTexture backendTex = create_backend_texture(reporter, caps, recorder.get(), in DEF_GRAPHITE_TEST_FOR_RENDERING_CONTEXTS() 259 BackendTexture backendTex = create_backend_texture(reporter, in DEF_CONDITIONAL_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
|
D | TextureProxyTest.cpp | 41 BackendTexture backendTexture = recorder->createBackendTexture(kValidSize, textureInfo); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 175 BackendTexture largerBackendTexture = in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 227 FulfillContext(BackendTexture backendTexture) : fBackendTexture(backendTexture) {} in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 229 static std::tuple<BackendTexture, void*> Fulfill(void* ctx) { in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 234 BackendTexture fBackendTexture; in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() 252 BackendTexture backendTexture = in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
|
D | DawnBackendTextureTest.cpp | 60 BackendTexture beTexture = in DEF_GRAPHITE_TEST_FOR_DAWN_CONTEXT() 64 BackendTexture beTexture2; in DEF_GRAPHITE_TEST_FOR_DAWN_CONTEXT()
|
D | VulkanBackendTextureTest.cpp | 66 BackendTexture beTexture = in DEF_GRAPHITE_TEST_FOR_VULKAN_CONTEXT() 70 BackendTexture beTexture2; in DEF_GRAPHITE_TEST_FOR_VULKAN_CONTEXT()
|
/external/skia/include/gpu/graphite/mtl/ |
D | MtlGraphiteTypes_cpp.h | 35 SK_API BackendTexture MakeMetal(SkISize dimensions, CFTypeRef mtlTexture); 37 SK_API CFTypeRef GetMtlTexture(const BackendTexture&);
|
/external/skia/tools/gpu/vk/ |
D | VkYcbcrSamplerHelper.h | 44 const skgpu::graphite::BackendTexture& backendTexture() const { return fTexture; } in backendTexture() 64 skgpu::graphite::BackendTexture fTexture;
|