Commit Graph

296 Commits (cdad57d1ddeccd169c972c665bb239e7d089378c)

Author SHA1 Message Date
Caleb Cornett cdad57d1dd Fix texture conversion array 2024-03-02 23:11:36 -08:00
Caleb Cornett ce3b222529 Fix command buffer memory leak 2024-03-02 23:11:36 -08:00
Caleb Cornett 6a1c4ba80f CreateTexture, SetTextureData, BindIndexBuffer, BindFragmentSamplers, QueueDestroyTexture, DrawIndexedPrimitives, DrawInstancedPrimitives 2024-03-02 23:11:36 -08:00
Caleb Cornett a7bbc51653 Fix redundant error code printing 2024-03-02 23:11:36 -08:00
Caleb Cornett ba842d855e QueueDestroySampler 2024-03-02 23:11:36 -08:00
Caleb Cornett b906ec9c69 Add a border color conversion function 2024-03-02 23:11:36 -08:00
Caleb Cornett 7f4ddde607 CreateSampler 2024-03-02 23:11:36 -08:00
Caleb Cornett 15a73854b6 CreateBuffer, QueueDestroyBuffer, SetBufferData, BindVertexBuffers 2024-03-02 23:11:36 -08:00
Caleb Cornett abfdb2c7d9 Initial work on DestroyDevice 2024-03-02 23:11:36 -08:00
Caleb Cornett d7290c5e2b Implement SetViewport and SetScissor 2024-03-02 23:11:36 -08:00
Caleb Cornett 740fb56aa1 Style cleanups + added FIXME note for shader compilation 2024-03-02 23:11:36 -08:00
Caleb Cornett 01cd001b07 DrawPrimitives, BindGraphicsPipeline, misc cleanup 2024-03-02 23:11:36 -08:00
Caleb Cornett dda7db1d92 Implement CreateShaderModule 2024-03-02 23:11:36 -08:00
Caleb Cornett f008408965 Pipeline creation copied over from old work + shaderc update 2024-03-02 23:11:36 -08:00
Caleb Cornett b74666a6d7 Fix for command pool crash, fix for hanging on Wait 2024-03-02 23:11:36 -08:00
Caleb Cornett acf64d51f0 Reworked Wait and Submit logic to use D3D11 Query objects as fences 2024-03-02 23:11:36 -08:00
Caleb Cornett acae35ebfa Stub out D3D11_Wait, fix crash when unclaiming windows, fix backend order 2024-03-02 23:11:36 -08:00
Caleb Cornett 0948537fe0 UnclaimWindow, swapchain destruction, fixed template signature 2024-03-02 23:11:36 -08:00
Caleb Cornett cbd8f4aee0 Implemented BeginRenderPass and Submit, ClearScreen works now! 2024-03-02 23:11:36 -08:00
Caleb Cornett dd9ae93696 More swapchain setup 2024-03-02 23:11:36 -08:00
Caleb Cornett 08ba467551 Apply swapchainDesc fix from FNA3D, add cdefines.h to CMakeLists 2024-03-02 23:11:36 -08:00
Caleb Cornett dd1060373d Implemented AcquireCommandBuffer (from old D3D11 work) 2024-03-02 23:11:36 -08:00
Caleb Cornett b9d7cec252 Implement ClaimWindow, mostly copied from Vulkan and FNA3D D3D11 2024-03-02 23:11:36 -08:00
Caleb Cornett 5385f02bbd Remove old stuff, flesh out PrepareDriver 2024-03-02 23:11:36 -08:00
Caleb Cornett d6378aba74 Groundwork for D3D11. Yoinked most of this from the prior work, but updated the ABI 2024-03-02 23:11:36 -08:00
cosmonaut 9d1059ed0e fix stencil state
continuous-integration/drone/push Build is passing Details
2024-03-02 23:11:07 -08:00
cosmonaut 02c0d85885 Resource containers, new bindings API, WriteOptions (#51)
continuous-integration/drone/push Build is passing Details
Reviewed-on: #51
2024-03-02 09:09:49 +00:00
cosmonaut 695abd4139 alter vulkan defrag strategy
continuous-integration/drone/push Build is passing Details
2024-02-27 00:16:06 -08:00
cosmonaut 2361cec274 actually assign len in Refresh_Image_Info
continuous-integration/drone/push Build is passing Details
2024-02-25 01:44:19 -08:00
cosmonaut 899f961461 prefer host-local instead of require host-local
continuous-integration/drone/push Build is passing Details
2024-02-24 23:07:22 -08:00
cosmonaut 9d36ddaac1 Refresh2 Vulkan Implementation (#50)
continuous-integration/drone/push Build is passing Details
Reviewed-on: #50
2024-02-23 23:46:02 +00:00
cosmonaut 4e1705d1bd specify buffer type in param name
continuous-integration/drone/push Build is failing Details
2024-02-23 09:50:48 -08:00
cosmonaut 2f57a05c85 rename CpuBuffer to TransferBuffer
continuous-integration/drone/push Build is failing Details
2024-02-23 09:42:31 -08:00
cosmonaut 2798067d54 add Refresh_Image_Info
continuous-integration/drone/push Build is failing Details
2024-02-23 00:03:17 -08:00
cosmonaut d34310a7df fix Refresh_CreateCpuBuffer in Refresh.c
continuous-integration/drone/push Build is failing Details
2024-02-22 10:34:48 -08:00
cosmonaut 72ff9407c4 update CreateCpuBuffer in Refresh_Driver
continuous-integration/drone/push Build is failing Details
2024-02-21 10:59:31 -08:00
cosmonaut 94f181787b CpuBuffer Set/Get API
continuous-integration/drone/push Build is failing Details
2024-02-17 20:21:52 -08:00
cosmonaut c44a095bca CreateCpuBuffer writes a data pointer
continuous-integration/drone/push Build is failing Details
2024-02-16 18:53:52 -08:00
cosmonaut fdb29ade82 remove map/unmap calls
continuous-integration/drone/push Build is failing Details
2024-02-16 18:44:16 -08:00
cosmonaut 61386a27ba update Refresh_Driver.h and Refresh.c
continuous-integration/drone/push Build is failing Details
2024-02-16 17:54:58 -08:00
cosmonaut c779718967 buffer bindings should actually use uint64_t
continuous-integration/drone/push Build is failing Details
2024-02-15 20:05:18 -08:00
cosmonaut 218587bb6a rearrange copy params order
continuous-integration/drone/push Build is failing Details
2024-02-15 17:27:40 -08:00
cosmonaut 80914e9c38 add command buffer to Pass functions
continuous-integration/drone/push Build is failing Details
2024-02-15 16:48:26 -08:00
cosmonaut 342a7f9ef6 update ASSIGN_DRIVER_FUNC calls
continuous-integration/drone/push Build is failing Details
2024-02-15 16:34:52 -08:00
cosmonaut 10c0b5ae37 a few more API revisions
continuous-integration/drone/push Build is failing Details
2024-02-12 11:00:06 -08:00
cosmonaut 6f31f17be1 proposed API revision
continuous-integration/drone/push Build is failing Details
2024-02-12 00:04:02 -08:00
cosmonaut b78d01592b memory system tweaks
continuous-integration/drone/push Build is passing Details
2024-02-11 15:56:53 -08:00
cosmonaut c99b4cdfa1 fix incorrect flag bit
continuous-integration/drone/push Build is passing Details
2024-01-31 14:47:01 -08:00
cosmonaut 2803e6d94e force ignore device-local property if allocation failed
continuous-integration/drone/push Build is passing Details
2024-01-31 14:36:02 -08:00
cosmonaut 30b5f1dd21 user-requested buffers are no longer host-visible
continuous-integration/drone/push Build is passing Details
2024-01-31 14:26:40 -08:00