Ash
b603797119
render: Start compiling the wiiu renderer (lotsa errors)
2018-10-28 19:24:11 +01:00
rw-r-r-0644
29b39d3bd2
wiiu: Add more renderer function, make functions non-static, start adding new shaders
2018-10-28 19:24:11 +01:00
Ash
ce27b8a9ce
wiiu/render: move drawing functions to own file
2018-10-28 19:24:11 +01:00
rw-r-r-0644
613782b555
wiiu/render: Implement UpdateTexture/RenderClear
2018-10-28 19:24:11 +01:00
Ash
1af6a4264f
wiiu/render: Stub UpdateViewport / UpdateClipRect
2018-10-28 19:24:11 +01:00
Ash
e6c607d618
wiiu/render: Implement SDL_LockTexture and SDL_UnlockTexture
2018-10-28 19:24:11 +01:00
Ash
d2025fbc18
wiiu/render: Remove optional SetTextureMod functions
2018-10-28 19:24:11 +01:00
Ash
8e3d8a6b25
wiiu/render: Move texture-related functions to own file
2018-10-28 19:24:11 +01:00
Ash
1b87845293
wiiu/render: Implement GetOutputSize
2018-10-28 19:24:11 +01:00
Ash
ecbfa0c1b9
wiiu/render: move window-related functions to own file
2018-10-28 19:24:11 +01:00
Ash
e49e2147bd
wiiu/render: consolidate calls to SetRenderTarget, minor tweaks
2018-10-28 19:24:11 +01:00
Ash
857618642b
wiiu/render: Move function sigs and definitions to dedicated header
2018-10-28 19:24:11 +01:00
Ash
faf8be94a1
wiiu/render: Minor formatting, move windowdata to header
2018-10-28 19:24:11 +01:00
Ash
0d2c19e532
wiiu/video: move window data to header
2018-10-28 19:24:11 +01:00
Ash
94d20b0d15
wiiu: render: Be consistent about tabs/spaces
2018-10-28 19:24:11 +01:00
rw-r-r-0644
8e49ad79ac
wiiu: Implement more renderer functions (1)
2018-10-28 19:24:11 +01:00
rw-r-r-0644
f04c26a8db
wiiu: Start implementing SDL_Renderer
2018-10-28 19:24:11 +01:00
rw-r-r-0644
176d00a8fb
wiiu: switch to tpNormal, tpFiltered1 casues scrolling issues
2018-10-28 19:22:04 +01:00
rw-r-r-0644
d28a5bd9bc
wiiu: Disable DRC surround mode as it causes distortion
2018-10-28 19:22:04 +01:00
Ash
a09bd44937
video: Respect application's requested window size/position
2018-10-28 19:22:04 +01:00
Ash
7e5c1cb6c5
video: move position buffer filling to UpdateWindowFramebuffer
2018-10-28 19:22:04 +01:00
Ash
d4e03b4f63
video: oops
2018-10-28 19:22:04 +01:00
Ash
1880c5eb19
video: Style nits
2018-10-28 19:22:04 +01:00
Ash
05a87f8b4c
video: start refactoring - move rendering to own function
2018-10-28 19:20:38 +01:00
rw-r-r-0644
bffa382867
wiiu: switch to wut.mk
2018-10-28 19:20:38 +01:00
Ash
75b3d1d460
audio: DCFlushRange -> DCStoreRange
2018-10-28 19:20:38 +01:00
Ash
0efb12c5fe
audio: Send voice to TV
2018-10-28 19:20:38 +01:00
Ash
7e9da513bb
audio: Add *very* early wiiu audio support
2018-10-28 19:20:38 +01:00
rw-r-r-0644
c229b8fb76
wiiu: explicitly set endianess in config (thanks @quarktheawesome) [needed for missing defines in toolchain]
2018-10-28 19:19:03 +01:00
rw-r-r-0644
94562d2998
input/wiiu: switch back to VPADGetTPCalibratedPoint
2018-10-28 19:19:03 +01:00
rw-r-r-0644
8a6cc1572a
threads/wiiu: fix crash on SDL_SYS_CreateThread: pass stack top and not stack bottom
2018-10-28 19:19:02 +01:00
rw-r-r-0644
f57b388311
wiiu: enable thread support and stop building generic thread impl
2018-10-28 19:19:02 +01:00
rw-r-r-0644
578929a363
threads/wiiu: remove unused SDL_mutex structure definition and only build when requested
2018-10-28 19:19:02 +01:00
rw-r-r-0644
71d738734b
threads/wiiu: implement SDL_CondWaitTimeout
2018-10-28 19:19:02 +01:00
rw-r-r-0644
afb9024d4d
threads/wiiu: add sysmutex_c.h header
2018-10-28 19:19:02 +01:00
rw-r-r-0644
c090e1c9e3
threads/wiiu: add generic thread storage
2018-10-28 19:19:02 +01:00
rw-r-r-0644
18bc3341ec
threads/wiiu: add semaphores
2018-10-28 19:19:02 +01:00
rw-r-r-0644
9e5b6f01f4
wiiu/input: Use raw for touchscreen and check for VPADRead errors
2018-10-28 19:19:02 +01:00
rw-r-r-0644
d2209d6011
Rewrite wiiu joystick driver to better match switch's and add touchscreen support
2018-10-28 19:19:02 +01:00
rw-r-r-0644
9aac69a38d
Do not send SDL_QUIT from WIIU_PumpEvents: it causes crashes and isn't the right way to do it
2018-10-28 19:18:31 +01:00
rw-r-r-0644
f587599124
Change shader include guard to match SDL
2018-10-28 19:18:31 +01:00
rw-r-r-0644
b704ad248c
Switch to GX2!! (thanks to exjam for his help and toolchain and aliaspider for his shader!)
2018-10-28 19:17:10 +01:00
rw-r-r-0644
a87cd02bf4
Initial support for Nintendo WiiU
2018-10-28 19:14:23 +01:00
Sam Lantinga
b8ffbe177a
This change looks okay in the general case.
...
If we run into problems where these events aren't dispatched (initialized on a different thread than the main thread?) we may need to create a separate thread to handle device notifications like we do with the windows joystick subsystem.
2018-10-26 20:20:28 -07:00
Ryan C. Gordon
a404e5056f
hidapi: Don't run a separate event loop for device notifications.
...
Fixes Bugzilla #4286 .
2018-10-26 14:43:39 -04:00
Sam Lantinga
933bdaf91b
Added patch note for SDL_GameControllerGetPlayerIndex() and friends
2018-10-26 09:49:27 -07:00
Sam Lantinga
e6472f3cb3
Don't build SDL_JOYSTICK_HIDAPI by default on iOS
...
If you enable this, you'll need to link with CoreBluetooth.framework and add something like this to your Info.plist:
<key>NSBluetoothPeripheralUsageDescription</key>
<string>MyApp would like to remain connected to nearby bluetooth Game Controllers and Game Pads even when you're not using the app.</string>
2018-10-26 09:27:31 -07:00
Sam Lantinga
da9d1fdad4
Generalized the XInput user index into a player index
2018-10-25 16:53:14 -07:00
Sam Lantinga
67832fdf10
Fixed initializing XInput user index
2018-10-25 13:22:34 -07:00
Sam Lantinga
e8f3a27057
Added SDL_JoystickGetXInputUserIndex()
2018-10-25 12:54:42 -07:00