Martin Fouilleul
|
9bfae2c4e8
|
[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 |
Martin Fouilleul
|
18c793dbb4
|
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 |
martinfouilleul
|
52538248d9
|
[win32, wip] compile and run simple window example
|
2023-05-12 16:46:13 +02:00 |
Martin Fouilleul
|
e426319723
|
Fix mg_image_size() (doesn't need a current canvas anymore)
|
2023-05-10 11:18:36 +02:00 |
Martin Fouilleul
|
1ab1d70df2
|
Fix image data not storing surface handle in mg_image_create()
|
2023-05-08 13:01:45 +02:00 |
Martin Fouilleul
|
b27dc615d1
|
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 |
Martin Fouilleul
|
ca1caf8537
|
splitting graphics_surface and graphics_common in order to isolate surface dispatch stuff from orca apps
|
2023-04-25 22:15:56 +02:00 |