vulkan: use new system
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
e62db26db2
commit
ccdad14846
3 changed files with 54 additions and 51 deletions
|
|
@ -51,8 +51,9 @@
|
|||
#define MwNforeground "Sforeground"
|
||||
#define MwNsubForeground "SsubForeground"
|
||||
|
||||
#define MwNvulkanExtension "SEvulkanExtension"
|
||||
#define MwNvulkanLayer "SEvulkanLayer"
|
||||
#define MwNvulkanExtension "SEvulkanExtension" /* char* */
|
||||
#define MwNvulkanLayer "SEvulkanLayer" /* char* */
|
||||
#define MwNvulkanConfig "VEvulkanConfig" /* MwVulkanConfig */
|
||||
|
||||
#define MwNpixmap "Vpixmap"
|
||||
#define MwNiconPixmap "ViconPixmap"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ extern "C" {
|
|||
MWDECL MwClass MwVulkanClass;
|
||||
|
||||
/*!
|
||||
* @brief Configuration options that can be passed to setup Vulkan before a widget is created.
|
||||
* @brief Configuration options that can be passed to setup parts of the Vulkan widget.
|
||||
*/
|
||||
typedef struct _MwVulkanConfig {
|
||||
/*!
|
||||
|
|
@ -51,13 +51,6 @@ typedef struct _MwVulkanConfig {
|
|||
int validation_layers;
|
||||
} MwVulkanConfig;
|
||||
|
||||
/*!
|
||||
* @brief Configure Vulkan prior to initializing the widget.
|
||||
* @warning This must be called before MwCreateWidget.
|
||||
* @warning The configuration provided will be used for future initializations of the Vulkan widget (unless it's changed)
|
||||
*/
|
||||
MWDECL void MwVulkanConfigure(MwVulkanConfig* cfg);
|
||||
|
||||
/*!
|
||||
* @brief Field that can be gotten from Vulkan.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue