orca/src
martinfouilleul 684543ec15 [gl canvas] fix implicit boolean conversion error on some drivers 2023-07-12 15:46:52 +02:00
..
glsl_shaders [gl canvas] fix implicit boolean conversion error on some drivers 2023-07-12 15:46:52 +02:00
platform String functions that return str8/16/32 allocated on an arena implicitly zero-terminate strings, so we can avoid one copy when passing to C stdlib APIs 2023-06-26 16:06:26 +02:00
util Add some convenient rectangle accessors 2023-07-04 16:13:28 -05:00
egl_surface.c Finish separating graphics_common and graphics_surface + add platform_math, so that we can compile graphics_common to wasm in orca 2023-04-26 14:56:02 +02:00
egl_surface.h Finish separating graphics_common and graphics_surface + add platform_math, so that we can compile graphics_common to wasm in orca 2023-04-26 14:56:02 +02:00
gl_api.h end of line renormalization 2023-03-05 16:05:43 +01:00
gl_canvas.c [gl, canvas] 2023-07-07 15:45:06 +02:00
gl_loader.c end of line renormalization 2023-03-05 16:05:43 +01:00
gl_loader.h end of line renormalization 2023-03-05 16:05:43 +01:00
graphics.h [win32, canvas] added back texture atlasing and fixed incorrect culling of solid tiles when using a source texture 2023-07-04 17:24:41 +02:00
graphics_common.c Enable font stuff in Orca 2023-06-28 20:44:13 -05:00
graphics_common.h [wip] adding missing impl for win32 version of orca 2023-06-17 20:09:25 +02:00
graphics_surface.c [osx, metal] Set metal layer's device to layer.preferredDevice instead of calling MTLCreateDefaultSystemDevice(). This fixes issue 15 so we can use Discord's screen sharing while using Orca. This will need to be revisited when we want to actually use a different metal device. 2023-07-07 10:41:17 +02:00
graphics_surface.h When we call mg_surface_prepare() on a surface, select it in a per-thread handle. Automatically call deselect on the selected handle when preparing another surface. Also have a way to deselect whichever surface is currently selected. This is needed for some backend that explicitly need to be 'unbound' before using them from another thread 2023-06-23 15:32:32 +02:00
input_state.c [event system] allocate events and additional payload (e.g. file paths) directly in ring buffer, and copy them to user-supplied arena in mp_next_event() 2023-04-19 16:16:36 +02:00
input_state.h [event system] allocate events and additional payload (e.g. file paths) directly in ring buffer, and copy them to user-supplied arena in mp_next_event() 2023-04-19 16:16:36 +02:00
milepost.c [win32, io] win32 passes files io test with new common io_open_at implementation 2023-06-16 15:30:48 +02:00
milepost.h [win32] fixing include directives to avoid having to pass all include dirs to compiler 2023-06-16 19:48:33 +02:00
milepost.m [path] adding platform path functions 2023-05-24 16:27:39 +02:00
mp_app.c [event system] allocate events and additional payload (e.g. file paths) directly in ring buffer, and copy them to user-supplied arena in mp_next_event() 2023-04-19 16:16:36 +02:00
mp_app.h [win32] honor timeout value in mp_pump_events 2023-06-26 19:59:34 +02:00
mp_app_internal.h [canvas] change surface/canvas APIs to treat canvas a 'just another kind of surface', and split canvas implementation (managed by surface) from canvas _command buffer_ and implicit context (represented by mg_canvas) 2023-04-25 19:13:15 +02:00
mtl_renderer.h [osx, canvas] start with small input buffers and grow them as needed 2023-07-11 17:00:17 +02:00
mtl_renderer.m [osx, canvas] 2023-07-11 20:03:17 +02:00
mtl_renderer.metal [osx, canvas] 2023-07-11 20:03:17 +02:00
mtl_surface.h Finish separating graphics_common and graphics_surface + add platform_math, so that we can compile graphics_common to wasm in orca 2023-04-26 14:56:02 +02:00
mtl_surface.m [osx, surface] Query list of available metal devices, and select a discrete GPU if available. This way we avoid calling MTLCreateSystemDefaultDevice() which messes with Discord's screen sharing, while also being able to take GPU frame captures in XCode (which was broken by 9bfae2c4e8) 2023-07-10 11:28:49 +02:00
osx_app.h [surface] pull mp_layer into the generic mg_surface_data struct, out of each backend-specific implementation 2023-03-03 11:50:12 +01:00
osx_app.m [mem] change scratch arena API to allow using independant scratch for temporary computations and results 2023-05-24 20:17:03 +02:00
ui.c [ui] Fix ui scrolling 2023-05-17 15:48:25 +02:00
ui.h [win32] fixing include directives to avoid having to pass all include dirs to compiler 2023-06-16 19:48:33 +02:00
wgl_surface.c [win32, canvas] Fix random crash by correctly setting wgl_surface deselect function pointer to mg_wgl_deselect(). Forgot to do it in 18c793db, dumb me. 2023-07-06 11:29:57 +02:00
wgl_surface.h Finish separating graphics_common and graphics_surface + add platform_math, so that we can compile graphics_common to wasm in orca 2023-04-26 14:56:02 +02:00
win32_app.c [win32] honor timeout value in mp_pump_events 2023-06-26 19:59:34 +02:00
win32_app.h [win32, graphics] experiments with multisurface with transparent top-level windows 2023-06-21 15:48:26 +02:00
win32_manifest.xml [win32, graphics, wip] working on multi surface, currently using top-level transparent window and moving them to cover the 'parent' window area... 2023-06-21 12:36:05 +02:00