twinaphex
6f6b15aedd
(drivers_display) Cleanups
2020-09-11 14:21:09 +02:00
twinaphex
6a82772b72
Revert "Avoid having to call expensive matrix identity functions"
...
This reverts commit 7a87917c581ffbb89801950545a98c9672a5c2ce.
2020-09-11 14:16:12 +02:00
twinaphex
7a87917c58
Avoid having to call expensive matrix identity functions
2020-09-11 14:06:42 +02:00
twinaphex
bac1f1fd51
Cleanup
2020-09-11 13:48:23 +02:00
twinaphex
343fef1264
(drivers_display) Cleanups
2020-09-11 13:46:35 +02:00
twinaphex
60b26bd490
(drivers_display) cleanups
2020-09-11 13:19:07 +02:00
twinaphex
3d09bacb93
(dispserv_x11) Cleanups
2020-09-11 11:37:08 +02:00
twinaphex
bcfd4a3cd6
Get rid of this unused variable
2020-09-11 08:22:13 +02:00
twinaphex
1b9c906d69
Add header
2020-09-11 08:20:21 +02:00
twinaphex
65f5544a7e
Turn g_monitor_index into static global
2020-09-11 08:15:14 +02:00
twinaphex
e27b314afb
(dispserv_x11.c) Cleanups
2020-09-11 08:13:33 +02:00
Autechre
5640a5b512
Merge pull request #11315 from alphanu1/master
...
CRTSwitchRes Improvements (removal of system calls)
2020-09-11 07:29:19 +02:00
Soar Qin
728c2b3af4
fix over-translating codes for window ClassName, as an additional fix to 3c6552b
2020-09-11 01:38:58 +08:00
Ben
42c22df72a
Code cleanup
2020-09-10 14:44:49 +01:00
Ben
00ba1646c6
Merge remote-tracking branch 'upstream/master'
...
Upstream
2020-09-10 14:37:17 +01:00
alphanu1
28463a9729
CRTSwirchRes Improvements
...
Removed all system call. Switching now only uses RandR Library.
Resolutions checks to prevent conflicts and crashes.
Closing X11 server now runs a clean up to removes all resolutions installed.
2020-09-10 13:52:31 +01: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