adding backend bootstrapper

This commit is contained in:
2025-08-27 23:36:32 +02:00
parent 08d25cd631
commit 84bb6854c1
33 changed files with 925 additions and 7 deletions

31
Sources/Backends/D3D11/D3D11Fence.c git.filemode.normal_file
View File

@@ -0,0 +1,31 @@
// Copyright (C) 2025 kanel
// This file is part of "Pulse"
// For conditions of distribution and use, see copyright notice in LICENSE
#include <Pulse.h>
#include "../../PulseInternal.h"
#include "D3D11.h"
#include "D3D11Fence.h"
#include "D3D11CommandList.h"
PulseFence Direct3D11CreateFence(PulseDevice device)
{
PulseFence fence = (PulseFence)calloc(1, sizeof(PulseFence));
PULSE_CHECK_ALLOCATION_RETVAL(fence, PULSE_NULL_HANDLE);
return fence;
}
void Direct3D11DestroyFence(PulseDevice device, PulseFence fence)
{
free(fence);
}
bool Direct3D11IsFenceReady(PulseDevice device, PulseFence fence)
{
return true;
}
bool Direct3D11WaitForFences(PulseDevice device, const PulseFence* fences, uint32_t fences_count, bool wait_for_all)
{
return true;
}