define synchronization primitive interface in base layer, implement using os layer; convert all usage -> base layer; use base sync primitives in lane tctx info

This commit is contained in:
Ryan Fleury
2025-08-18 10:46:43 -07:00
parent a48651471d
commit c33dd2869a
49 changed files with 1454 additions and 1293 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ r_init(CmdLine *cmdln)
Arena *arena = arena_alloc();
r_d3d11_state = push_array(arena, R_D3D11_State, 1);
r_d3d11_state->arena = arena;
r_d3d11_state->device_rw_mutex = os_rw_mutex_alloc();
r_d3d11_state->device_rw_mutex = rw_mutex_alloc();
//- rjf: create base device
ProfBegin("create base device");
+1 -1
View File
@@ -135,7 +135,7 @@ struct R_D3D11_State
R_D3D11_Buffer *first_free_buffer;
R_D3D11_Tex2D *first_to_free_tex2d;
R_D3D11_Buffer *first_to_free_buffer;
OS_Handle device_rw_mutex;
RWMutex device_rw_mutex;
// rjf: base d3d11 objects
ID3D11Device *base_device;