move present over to sync extension
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "synchronization/semaphore/gryphn_semaphore.h"
|
||||
#include "synchronization/fence/gryphn_fence.h"
|
||||
#include "synchronization/commands/gryphn_sync_submit.h"
|
||||
#include "synchronization/commands/gryphn_sync_present.h"
|
||||
|
||||
gnReturnCode checkPresentationQueueGetImageAsync(gnPresentationQueueHandle presentationQueue, uint64_t timeout, gnSemaphoreHandle semaphore, uint32_t* imageIndex) {
|
||||
CHECK_FUNCTION_WITH_RETURN_CODE(presentationQueue->outputDevice->instance, _gnPresentationQueueGetImageAsync, syncFunctions, presentationQueue, timeout, semaphore, imageIndex);
|
||||
@@ -33,3 +34,7 @@ void checkDestroyFence(gnFenceHandle fence) {
|
||||
gnReturnCode checkSubmitSync(gnOutputDevice device, gnSubmitSyncInfo info) {
|
||||
CHECK_FUNCTION_WITH_RETURN_CODE(device->instance, _gnSubmitSync, syncFunctions, device, info);
|
||||
}
|
||||
|
||||
gnReturnCode checkPresentSync(gnOutputDevice device, gnPresentSyncInfo info) {
|
||||
CHECK_FUNCTION_WITH_RETURN_CODE(device->instance, _gnPresentSync, syncFunctions, device, info);
|
||||
}
|
||||
|
@@ -10,3 +10,4 @@ void checkDestroyFence(gnFenceHandle fence);
|
||||
// gnReturnCode fdsfsdf(gnOutputDevice device, gnSubmitSyncInfo info);
|
||||
|
||||
gnReturnCode checkSubmitSync(gnOutputDevice device, gnSubmitSyncInfo info);
|
||||
gnReturnCode checkPresentSync(gnOutputDevice device, gnPresentSyncInfo info);
|
||||
|
Reference in New Issue
Block a user