Definition at line 91 of file NvVulkanRenderer.h.
◆ ~NvVulkanRenderer()
| NvVulkanRenderer::~NvVulkanRenderer |
( |
| ) |
|
◆ createCommandBuffer()
| void NvVulkanRenderer::createCommandBuffer |
( |
| ) |
|
◆ createCommandPool()
| void NvVulkanRenderer::createCommandPool |
( |
| ) |
|
◆ createDevice()
| void NvVulkanRenderer::createDevice |
( |
| ) |
|
◆ createInstance()
| void NvVulkanRenderer::createInstance |
( |
| ) |
|
◆ createSurface()
| void NvVulkanRenderer::createSurface |
( |
| ) |
|
◆ createSwapChain()
| void NvVulkanRenderer::createSwapChain |
( |
| ) |
|
◆ createSyncObjects()
| void NvVulkanRenderer::createSyncObjects |
( |
| ) |
|
◆ createVkImageFromFd()
| void NvVulkanRenderer::createVkImageFromFd |
( |
int |
fd | ) |
|
◆ createVulkanRenderer()
| static NvVulkanRenderer* NvVulkanRenderer::createVulkanRenderer |
( |
const char * |
name, |
|
|
uint32_t |
width, |
|
|
uint32_t |
height, |
|
|
uint32_t |
x_offset, |
|
|
uint32_t |
y_offset |
|
) |
| |
|
static |
Creates a new Vulkan-based renderer named name.
This method creates a new X window for rendering, of size width and height, that is offset by x_offset and y_offset. If width or height is zero, a full screen window is created with x_offset and y_offset set to zero.
- Parameters
-
| [in] | name | Specifies a pointer to a unique name to identity the element instance. |
| [in] | width | Specifies the width of the window in pixels. |
| [in] | height | Specifies the height of the window in pixels. |
| [in] | x_offset | Specifies the horizontal offset of the window in pixels. |
| [in] | y_offset | Specifies the vertical offset of the window in pixels. |
- Returns
- A reference to the newly created renderer object, otherwise
NULL in case of failure during initialization.
◆ displayFrame()
| void NvVulkanRenderer::displayFrame |
( |
VkImage |
image | ) |
|
◆ enableProfiling()
| virtual void NvElement::enableProfiling |
( |
| ) |
|
|
virtualinherited |
Enables profiling for the element.
Reimplemented in NvV4l2Element.
◆ getInstanceFunction()
| PFN_vkVoidFunction NvVulkanRenderer::getInstanceFunction |
( |
VkInstance |
instance, |
|
|
const char * |
name |
|
) |
| |
◆ getPhysicalDevice()
| void NvVulkanRenderer::getPhysicalDevice |
( |
| ) |
|
◆ getProfilingData()
Gets profiling data for the element.
- Returns
- A constant reference to the element's profiling data.
◆ getQueueFamilies()
| void NvVulkanRenderer::getQueueFamilies |
( |
| ) |
|
◆ initVulkan()
| void NvVulkanRenderer::initVulkan |
( |
| ) |
|
◆ isInError()
| virtual int NvElement::isInError |
( |
| ) |
|
|
inlinevirtualinherited |
Indicates whether the element encountered an error during its operation.
- Returns
- 0 if no error was encountered, a non-zero value if an error was encountered.
Reimplemented in NvV4l2Element.
Definition at line 72 of file NvElement.h.
References NvElement::is_in_error.
◆ isProfilingEnabled()
| bool NvElement::isProfilingEnabled |
( |
| ) |
|
|
inherited |
Checks whether profiling is enabled for the element.
- Returns
- Boolean value indicating if profiling is enabled.
◆ printProfilingStats()
| void NvElement::printProfilingStats |
( |
std::ostream & |
out_stream = std::cout | ) |
|
|
inherited |
Prints profiling data for the element to an output stream.
- Parameters
-
| [in] | out_stream | Output stream of type std::ostream to print the data to. It takes the default value std::cout if not specified. |
◆ recordCommandBuffer()
| void NvVulkanRenderer::recordCommandBuffer |
( |
VkImage |
image, |
|
|
uint32_t |
imageIndex |
|
) |
| |
◆ render()
| void NvVulkanRenderer::render |
( |
int |
fd | ) |
|
◆ setSize()
| void NvVulkanRenderer::setSize |
( |
uint32_t |
width, |
|
|
uint32_t |
height |
|
) |
| |
◆ comp_name
| const char* NvElement::comp_name |
|
protectedinherited |
Specifies the name of the component, for debugging.
Definition at line 122 of file NvElement.h.
◆ is_in_error
| int NvElement::is_in_error |
|
protectedinherited |
◆ m_windowHeight
| uint32_t NvVulkanRenderer::m_windowHeight |
◆ m_windowWidth
| uint32_t NvVulkanRenderer::m_windowWidth |
◆ profiler
The documentation for this class was generated from the following file: