Blender V4.5
GHOST_ContextVK.hh File Reference
#include "GHOST_Context.hh"
#include <vector>

Go to the source code of this file.

Classes

struct  GHOST_ContextVK_WindowInfo
 
struct  GHOST_FrameDiscard
 
struct  GHOST_SwapchainImage
 
struct  GHOST_Frame
 
class  GHOST_ContextVK
 

Macros

#define Display   void
 
#define Window   void *
 
#define wl_surface   void
 
#define wl_display   void
 
#define GHOST_OPENGL_VK_CONTEXT_FLAGS   0
 
#define GHOST_OPENGL_VK_RESET_NOTIFICATION_STRATEGY   0
 

Enumerations

enum  GHOST_TVulkanPlatformType { GHOST_kVulkanPlatformHeadless = 0 }
 

Variables

static constexpr uint32_t GHOST_FRAMES_IN_FLIGHT = 5
 

Macro Definition Documentation

◆ Display

#define Display   void

Definition at line 25 of file GHOST_ContextVK.hh.

◆ GHOST_OPENGL_VK_CONTEXT_FLAGS

#define GHOST_OPENGL_VK_CONTEXT_FLAGS   0

Definition at line 40 of file GHOST_ContextVK.hh.

◆ GHOST_OPENGL_VK_RESET_NOTIFICATION_STRATEGY

#define GHOST_OPENGL_VK_RESET_NOTIFICATION_STRATEGY   0

Definition at line 44 of file GHOST_ContextVK.hh.

◆ Window

#define Window   void *

Definition at line 26 of file GHOST_ContextVK.hh.

Referenced by GHOST_ContextGLX::initializeDrawingContext().

◆ wl_display

◆ wl_surface

Enumeration Type Documentation

◆ GHOST_TVulkanPlatformType

Enumerator
GHOST_kVulkanPlatformHeadless 

Definition at line 47 of file GHOST_ContextVK.hh.

Variable Documentation

◆ GHOST_FRAMES_IN_FLIGHT

uint32_t GHOST_FRAMES_IN_FLIGHT = 5
staticconstexpr

The number of frames that GHOST manages.

This must be kept in sync with any frame-aligned resources in the Vulkan backend. Notably, VKThreadData::resource_pools_count must match this value.

Definition at line 101 of file GHOST_ContextVK.hh.