Soar Qin
728c2b3af4
fix over-translating codes for window ClassName, as an additional fix to 3c6552b
2020-09-11 01:38:58 +08:00
Autechre
33a04a794f
Merge pull request #11312 from justinweiss/3ds-enable-threading
...
[3DS] Enable threading and add a threaded audio driver
2020-09-10 06:50:12 +02:00
Autechre
2d3c63f545
Merge pull request #11248 from justinweiss/update-libctru
...
[3DS] Update to libctru 2.0
2020-09-10 06:49:54 +02:00
driver1998
9cf71619d3
GDI: use custom BITMAPINFO struct to avoid malloc
2020-09-07 12:36:43 +08:00
driver1998
fb00bf8602
gdi: Fix crashing
2020-09-07 10:55:25 +08:00
driver1998
a4dec6e226
d3d9: "Fix" the HLSL render chain
...
It won't get you very far, but at least it won't crash.
Needs HAVE_HLSL and HAVE_D3DX defines and DirectX SDK
2020-09-07 10:13:41 +08:00
Autechre
5ce53c3c01
Merge pull request #11277 from valadaa48/oga_gfx_round_width
...
oga_gfx: round width to nearest integer when scaling
2020-09-04 04:59:31 +02:00
twinaphex
5fdf0c818d
Cleanups
2020-09-04 04:15:46 +02:00
twinaphex
91d78c1e9f
video_shader_read_reference_path - simplify
2020-09-04 04:12:51 +02:00
twinaphex
09f72c1465
Turn function static
2020-09-04 04:07:29 +02:00
valadaa48
405b987986
oga_gfx: round width to nearest integer when scaling
2020-09-03 21:53:21 -04:00
twinaphex
88c0024a52
Cleanup video_shader_read_reference_path
2020-09-04 03:49:41 +02:00
twinaphex
4ca691acc9
Cleanup
2020-09-04 03:32:25 +02:00
twinaphex
197f6a7763
Struct reordering, alignment
2020-09-01 19:59:56 +02:00
twinaphex
e810b0251a
(GL) Cleanups
2020-09-01 19:54:41 +02:00
twinaphex
0cba3104be
Turn array static
2020-09-01 04:15:20 +02:00
twinaphex
ce6e5d6f08
Reorder structs, alignment
2020-09-01 00:25:35 +02:00
twinaphex
521050cf79
Remove gfx_widgets_get_pure_white
2020-08-31 23:46:24 +02:00
twinaphex
a82bff2055
(Wayland) Fix serious warnings - input struct pointer was being passed
...
to function that requires gfx struct pointer
2020-08-31 19:56:03 +02:00
Autechre
094ae69b09
Update x_vk_ctx.c
2020-08-31 14:17:36 +02:00
twinaphex
5f08605680
Refactor joypad drivers
2020-08-30 05:29:32 +02:00
twinaphex
8999d6e4a6
(DInput) Set a userdata struct for the window message loop properly -
...
get rid of input_get_data - we no longer need it
2020-08-29 03:41:33 +02:00
twinaphex
d02d9573ab
Silence unused variable warnings
2020-08-28 05:05:15 +02:00
Justin Weiss
f53c137459
[3DS] Enable threading
2020-08-27 19:36:39 -07:00
twinaphex
4d1cfa9c41
Make the 'raw' versions the generic function for the message loop
...
callback - this way it's reused for SDL2 input driver too
2020-08-28 02:55:39 +02:00
twinaphex
32279c3a70
Split up wnd_proc_common_internal into two - one for dinput,
...
one for raw
2020-08-28 02:21:13 +02:00
twinaphex
73fc7c9873
Rename create_graphics_context to create_wgl_context
2020-08-28 01:29:23 +02:00
twinaphex
d249f83c85
(Win32) Message loop - more cleanups
2020-08-28 01:20:54 +02:00
twinaphex
5f2e810879
Deduplicate code in WndProc function callback implementations
2020-08-28 00:38:15 +02:00
twinaphex
be3345b766
Reorder structs for alignment
2020-08-27 22:17:51 +02:00
twinaphex
63b77fb542
Use config_get_entry where possible instead of config_get_array
...
to prevent string allocation on heap
2020-08-27 16:20:49 +02:00
twinaphex
7b30d4eec2
Move macro up in the file
2020-08-27 12:13:21 +02:00
Justin Weiss
9ae2514009
[3DS] Update to libctru 2.0
...
Set USE_CTRULIB_2=1 to build with libctru 2.0. When unset, this code
is compatible with the older toolchain.
Some 2.0 changes addressed rare problems in earlier versions:
- Save / restore stack pointer for init / exit
Otherwise, it could be outside of the range we deallocate.
- Run aptMainLoop in the audio driver to react correctly to sleep events
Other changes for 2.0:
- Remove ninjhax1 -- requires outdated APIs that have been removed
- Switch from __sync_arbiter to syncArbitrateAddress
- Use implicit gxCmdBuf
- Use gpuPresentBuffer for double buffering
2020-08-26 19:08:12 -07:00
twinaphex
b4d26aca9c
Turn vulkan_write_quad_vbo into macro
2020-08-27 02:29:32 +02:00
twinaphex
9672d9b12f
Cleanup
2020-08-27 02:07:33 +02:00
twinaphex
e8a0ea15cd
Improve glslang_read_shader_file somewhat
2020-08-26 23:46:16 +02:00
twinaphex
044209bc5a
Create string_separate_noalloc
2020-08-26 23:46:16 +02:00
twinaphex
4388303077
video_shader_write_conf_preset - use less mallocs
2020-08-26 19:19:26 +02:00
twinaphex
1118ba09ec
video_shader_resolve_current_parameters - don't use malloc
2020-08-26 19:10:43 +02:00
twinaphex
3ff29abbc8
video_shader_parse_pass - don't use malloc
2020-08-26 19:07:36 +02:00
twinaphex
603b2bf166
Simplify video_shader_read_conf_preset
2020-08-26 18:54:14 +02:00
twinaphex
662e37f670
Replace more instances of string_split
2020-08-26 13:35:05 +02:00
twinaphex
86424a0cd8
(video_shader_parse) Use string_split_noalloc
2020-08-26 04:22:18 +02:00
twinaphex
3b555ab508
(gfx_animation) use string_split_noalloc
2020-08-26 04:12:29 +02:00
twinaphex
a9ffc4991b
Reorder structs/alignment
2020-08-25 20:39:06 +02:00
twinaphex
6af6d5eb1c
(jdgleaver) Initialize string lists properly to prevent memory leaks
2020-08-25 13:25:27 +02:00
jdgleaver
2a58920e4e
Improve appearance of 'generic_message' widget
2020-08-24 13:31:51 +01:00
twinaphex
c2a8a0f04e
use string_list_initialize/deinitialize in more places
2020-08-24 01:16:14 +02:00
twinaphex
0a69d14b11
Reimplement slang_preprocess_parse_parameters
2020-08-24 00:54:24 +02:00
twinaphex
6b3fcf79f0
(DXGI) Turn these into macros
2020-08-24 00:04:12 +02:00