giving up on this extension for now
This commit is contained in:
22
projects/extensions/queues/gryphn_queued_command_pool.h
Normal file
22
projects/extensions/queues/gryphn_queued_command_pool.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
#include "command/command_pool/gryphn_command_pool.h"
|
||||
#include <gryphn_handles.h>
|
||||
|
||||
GN_HANDLE(gnQueuedCommandPool);
|
||||
|
||||
typedef struct gnQueuedCommandPoolInfo {
|
||||
gnCommandPoolFlags flags;
|
||||
uint32_t queueFamilyIndex;
|
||||
} gnQueuedCommandPoolInfo;
|
||||
|
||||
#ifdef GN_REVEAL_IMPL
|
||||
struct gnQueuedCommandPool_t {
|
||||
struct gnPlatformCommandPool_t* commandPool;
|
||||
gnDevice device;
|
||||
gnInstance instance;
|
||||
gnCommandPoolInfo info;
|
||||
};
|
||||
#endif
|
||||
|
||||
gnReturnCode gnCreateQueuedCommandPool(gnQueuedCommandPool* commandPool, gnDeviceHandle device, gnQueuedCommandPoolInfo info);
|
||||
void gnDestroyQueuedCommandPool(gnQueuedCommandPool commandPool);
|
@@ -2,9 +2,13 @@
|
||||
#include "stdint.h"
|
||||
#include "utils/gryphn_error_code.h"
|
||||
#include "core/src/gryphn_handles.h"
|
||||
#include "gryphn_queued_command_pool.h"
|
||||
|
||||
typedef struct gnQueueFamilyProperties gnQueueFamilyProperties;
|
||||
|
||||
typedef struct gnQueueExtFunctions {
|
||||
gnReturnCode (*_gnGetPhysicalDeviceQueueProperties)(gnPhysicalOutputDeviceHandle device, uint32_t queueCount, gnQueueFamilyProperties* queues);
|
||||
|
||||
gnReturnCode (*_gnCreateQueuedCommandPool)(gnQueuedCommandPool* commandPool, gnDeviceHandle device, gnQueuedCommandPoolInfo info);
|
||||
void (*_gnDestroyQueuedCommandPool)(gnQueuedCommandPool commandPool);
|
||||
} gnQueueExtFunctions;
|
||||
|
Reference in New Issue
Block a user