write the functions for the command pool/buffers

This commit is contained in:
Gregory Wells
2025-08-12 23:09:39 -04:00
parent f251613d77
commit d48332fdcd
7 changed files with 39 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
#include "opengl_command_buffer.h"
gnReturnCode openglCommandPoolAllocateCommandBuffers(gnCommandBufferHandle* commandBuffers, uint32_t count, gnCommandPoolHandle pool) {
return GN_SUCCESS;
}

View File

@@ -0,0 +1,7 @@
#pragma once
#include "core/src/command/command_buffer/gryphn_command_buffer.h"
typedef struct gnPlatformCommandBuffer_t {
} gnPlatformCommandBuffer;
gnReturnCode openglCommandPoolAllocateCommandBuffers(gnCommandBufferHandle* commandBuffers, uint32_t count, gnCommandPoolHandle pool);

View File

@@ -0,0 +1,6 @@
#include "opengl_command_pool.h"
gnReturnCode openglCreateCommandPool(gnCommandPool commandPool, gnDevice device, gnCommandPoolInfo info) {
return GN_SUCCESS;
}
void openglDestroyCommandPool(gnCommandPool commandPool) {}

View File

@@ -0,0 +1,6 @@
#pragma once
#include "core/src/command/command_pool/gryphn_command_pool.h"
typedef struct gnPlatformCommandPool_t gnPlatformCommandPool;
gnReturnCode openglCreateCommandPool(gnCommandPool commandPool, gnDevice device, gnCommandPoolInfo info);
void openglDestroyCommandPool(gnCommandPool commandPool);