MythTV
master
|
#include <libmythui/vulkan/mythtexturevulkan.h>
Public Member Functions | |
~MythTextureVulkan () | |
void | StagingFinished (void) |
VkDescriptorImageInfo | GetDescriptorImage (void) const |
VkDescriptorSet | TakeDescriptor (void) |
void | AddDescriptor (VkDescriptorSet Descriptor) |
Public Member Functions inherited from MythComboBufferVulkan | |
MythComboBufferVulkan (float Width, float Height) | |
const void * | Data (void) const |
void | PushData (const QMatrix4x4 &Transform, QRect Source, QRect Destination, int Alpha) |
void | PopData (void) |
Static Public Member Functions | |
static MythTextureVulkan * | Create (MythVulkanObject *Vulkan, QImage *Image, VkSampler Sampler, VkCommandBuffer CommandBuffer=nullptr) |
Public Attributes | |
VkDescriptorSet | m_descriptor { MYTH_NULL_DISPATCH } |
uint64_t | m_dataSize { 0 } |
Public Attributes inherited from MythComboBufferVulkan | |
std::vector< VulkanComboBuffer > | m_data |
float | m_width { 0.0F } |
float | m_height { 0.0F } |
Protected Member Functions | |
MythTextureVulkan (MythVulkanObject *Vulkan, QImage *Image, VkSampler Sampler, VkCommandBuffer CommandBuffer=nullptr) | |
Protected Member Functions inherited from MythVulkanObject | |
void | CheckValid () |
MythVulkanObject (MythRenderVulkan *Render) | |
MythVulkanObject (MythVulkanObject *Other) | |
bool | IsValidVulkan () const |
MythRenderVulkan * | Render () |
VkDevice | Device () |
QVulkanDeviceFunctions * | Funcs () |
MythWindowVulkan * | Window () |
Protected Member Functions inherited from MythComboBufferVulkan | |
MythComboBufferVulkan (float Width, float Height) | |
const void * | Data (void) const |
void | PushData (const QMatrix4x4 &Transform, QRect Source, QRect Destination, int Alpha) |
void | PopData (void) |
Private Attributes | |
VkBuffer | m_stagingBuffer { MYTH_NULL_DISPATCH } |
VkDeviceMemory | m_stagingMemory { MYTH_NULL_DISPATCH } |
VkImage | m_image { MYTH_NULL_DISPATCH } |
VkDeviceMemory | m_deviceMemory { MYTH_NULL_DISPATCH } |
bool | m_createdSampler { false } |
VkSampler | m_sampler { MYTH_NULL_DISPATCH } |
VkImageView | m_view { MYTH_NULL_DISPATCH } |
Additional Inherited Members | |
Static Protected Member Functions inherited from MythVulkanObject | |
static MythVulkanObject * | Create (MythRenderVulkan *Render) |
Protected Attributes inherited from MythVulkanObject | |
bool | m_vulkanValid { true } |
MythRenderVulkan * | m_vulkanRender { nullptr } |
VkDevice | m_vulkanDevice { nullptr } |
QVulkanDeviceFunctions * | m_vulkanFuncs { nullptr } |
MythWindowVulkan * | m_vulkanWindow { nullptr } |
Protected Attributes inherited from MythComboBufferVulkan | |
std::vector< VulkanComboBuffer > | m_data |
float | m_width { 0.0F } |
float | m_height { 0.0F } |
Definition at line 14 of file mythtexturevulkan.h.
MythTextureVulkan::~MythTextureVulkan | ( | ) |
Definition at line 111 of file mythtexturevulkan.cpp.
|
protected |
Definition at line 22 of file mythtexturevulkan.cpp.
Referenced by Create().
|
static |
Definition at line 7 of file mythtexturevulkan.cpp.
Referenced by MythPainterVulkan::GetTextureFromCache().
void MythTextureVulkan::StagingFinished | ( | void | ) |
Definition at line 127 of file mythtexturevulkan.cpp.
Referenced by MythTextureVulkan(), and ~MythTextureVulkan().
VkDescriptorImageInfo MythTextureVulkan::GetDescriptorImage | ( | void | ) | const |
Definition at line 135 of file mythtexturevulkan.cpp.
Referenced by MythPainterVulkan::GetTextureFromCache().
VkDescriptorSet MythTextureVulkan::TakeDescriptor | ( | void | ) |
Definition at line 145 of file mythtexturevulkan.cpp.
Referenced by MythPainterVulkan::DeleteTextures().
void MythTextureVulkan::AddDescriptor | ( | VkDescriptorSet | Descriptor | ) |
Definition at line 140 of file mythtexturevulkan.cpp.
Referenced by MythPainterVulkan::GetTextureFromCache().
VkDescriptorSet MythTextureVulkan::m_descriptor { MYTH_NULL_DISPATCH } |
Definition at line 26 of file mythtexturevulkan.h.
Referenced by AddDescriptor(), TakeDescriptor(), and ~MythTextureVulkan().
uint64_t MythTextureVulkan::m_dataSize { 0 } |
Definition at line 27 of file mythtexturevulkan.h.
Referenced by MythPainterVulkan::DeleteTextures(), MythPainterVulkan::GetTextureFromCache(), and MythTextureVulkan().
|
private |
Definition at line 36 of file mythtexturevulkan.h.
Referenced by MythTextureVulkan(), and StagingFinished().
|
private |
Definition at line 37 of file mythtexturevulkan.h.
Referenced by MythTextureVulkan(), and StagingFinished().
|
private |
Definition at line 38 of file mythtexturevulkan.h.
Referenced by MythTextureVulkan(), and ~MythTextureVulkan().
|
private |
Definition at line 39 of file mythtexturevulkan.h.
Referenced by MythTextureVulkan(), and ~MythTextureVulkan().
Definition at line 40 of file mythtexturevulkan.h.
Referenced by MythTextureVulkan(), and ~MythTextureVulkan().
|
private |
Definition at line 41 of file mythtexturevulkan.h.
Referenced by GetDescriptorImage(), MythTextureVulkan(), and ~MythTextureVulkan().
|
private |
Definition at line 42 of file mythtexturevulkan.h.
Referenced by GetDescriptorImage(), MythTextureVulkan(), and ~MythTextureVulkan().