Commit Graph

7973 Commits

Author SHA1 Message Date
Ash Logan
053d5de716 audio/wiiu: Properly initialise AXVoiceDeviceMixData
(fixes odd behaviour when surround sound is enabled, hopefully)
2020-01-05 14:22:18 +11:00
Ash Logan
113d9f03ab joystick/wiiu: Add support for WPAD/KPAD controllers 2020-01-05 14:22:18 +11:00
Ash Logan
1a7476ef3a joystick/wiiu bugfix: Don't hardcode Gamepad device_index to 0 2020-01-05 14:22:18 +11:00
Ash Logan
3775f25c9a joystick/wiiu: Hotplug support (gamepad only) 2020-01-05 14:22:18 +11:00
Ash Logan
32cf850bf0 big oops: missed a merge conflict on 2.0.9 2020-01-05 14:22:18 +11:00
rw-r-r-0644
40dc6dc95d render/wiiu: Fix scaling mode for windowTex
Previously the driver would always end up using point scaling as the final windows texture scaling mode and thus the screen output
2020-01-05 14:22:18 +11:00
rw-r-r-0644
9b9742c326 render/wiiu: Allocate normal textures from MEM2
MEM1 fills up very quickly and soon runs out of space for apps with many textures
2020-01-05 14:22:18 +11:00
rw-r-r-0644
b569af04be render/wiiu: DestroyRenderer: Wait for the rendering to finish and free texture draw data 2020-01-05 14:22:18 +11:00
rw-r-r-0644
929b919ba3 render/wiiu: Free render data after calling GX2DrawDone 2020-01-05 14:22:18 +11:00
rw-r-r-0644
c54b09218e render/wiiu: Reintroduce check removed with fd92b81 to fix crashes 2020-01-05 14:22:18 +11:00
rw-r-r-0644
ab5712fc49 render/wiiu: Fix the remaining graphical glitches! 2020-01-05 14:22:18 +11:00
rw-r-r-0644
0788c76dc7 render/wiiu: Code cleanup
* Remove unused functions
* Remove unneeded checks
* Uniform coding style with the rest of SDL
2020-01-05 14:22:18 +11:00
rw-r-r-0644
688b6c7ad5 render/wiiu: Use WIIU_FreeRenderData in DestroyRenderer 2020-01-05 14:22:18 +11:00
rw-r-r-0644
a0893ef867 render/wiiu: Update RenderReadPixels to lock the surface and use the correct texture format 2020-01-05 14:22:18 +11:00
rw-r-r-0644
953e9bf345 render/wiiu: Fix compiler warnings 2020-01-05 14:22:18 +11:00
rw-r-r-0644
2aa1d1449c render/wiiu: Reduce GX2SetContextState calls
The function takes a fairly long time to complete
2020-01-05 14:22:18 +11:00
rw-r-r-0644
e8a1980928 render/wiiu: Disable blending for render_scene 2020-01-05 14:22:18 +11:00
rw-r-r-0644
72e6ac1b50 render/wiiu: Implement SetTextureColorMod/SetTextureAlphaMod 2020-01-05 14:22:18 +11:00
rw-r-r-0644
1109202dc2 render/wiiu: Use vec* for u_texSize and u_viewSize 2020-01-05 14:22:18 +11:00
Ash Logan
04111147f6 render/wiiu: Re-set context state after a clear
whb does this, so y'know
2020-01-05 14:22:18 +11:00
Ash Logan
9e6152080c render/wiiu: Textures keep their own colour buffers 2020-01-05 14:22:18 +11:00
Ash Logan
af78d34083 render/wiiu: Use point scaling by default
see https://wiki.libsdl.org/SDL_HINT_RENDER_SCALE_QUALITY
2020-01-05 14:22:18 +11:00
Ash Logan
1a7d79b46e video/wiiu: Add support for DRC/TV only windows (#1) 2020-01-05 14:22:18 +11:00
Kuruyia
7a31ec844a video/wiiu: Add flags to only draw on TV or Gamepad (#1) 2020-01-05 14:22:18 +11:00
rw-r-r-0644
c160e55a82 input/wiiu: Clear last_touched after sending touch release event 2020-01-05 14:22:18 +11:00
Ash Logan
616a93634f render/wiiu: Use vec* for FillRects (fixes no-draw bug) 2020-01-05 14:22:18 +11:00
Ash Logan
7c1ebcdbd4 render/wiiu: Fix present position/texcoord confusion 2020-01-05 14:22:18 +11:00
Ash Logan
0f47f81260 render/wiiu: Respect window sizes 2020-01-05 14:22:18 +11:00
Ash Logan
9ce6ef0464 render/wiiu: Handle window size changes 2020-01-05 14:22:18 +11:00
Ash Logan
abbc3da5d3 render/wiiu: readability - introduce vec* structs for drawing 2020-01-05 14:22:18 +11:00
Ash Logan
eae53e605a render/wiiu: Fix resource flags on texture creation 2020-01-05 14:22:18 +11:00
Ash Logan
d2631312da render/wiiu: Convert RenderData to use GX2RBuffers 2020-01-05 14:22:18 +11:00
Ash Logan
954d641488 render/wiiu: Use GX2R for texture surfaces
Untested at time of commit, hopefully it works hehe
2020-01-05 14:22:18 +11:00
Ash Logan
18861640f1 video/wiiu: Remove the last of the emulated framebuffer 2020-01-05 14:22:18 +11:00
Ash Logan
64d723af37 render/wiiu: FLUSH THE CACHE. FLUSH THE CACHE. 2020-01-05 14:22:18 +11:00
Ash Logan
014b79dcff video/wiiu: Call SDL_SetKeyboardFocus on window creation 2020-01-05 14:22:18 +11:00
Ash Logan
f1cbd5536d wiiu: first attempt at using the render driver instead of WindowFramebuffer 2020-01-05 14:22:18 +11:00
rw-r-r-0644
e1f0a6e73c render/wiiu: Fixup color blending 2020-01-05 14:22:18 +11:00
rw-r-r-0644
d8d2f34ee8 render/wiiu: Correct direction of rotation for RenderCopyEx 2020-01-05 14:22:18 +11:00
rw-r-r-0644
2961cdf16a render/wiiu: Drawing is synchronized with refresh rate 2020-01-05 14:22:18 +11:00
Ash Logan
14ee822760 render/wiiu: Add support for color/alpha mod values/some blend modes 2020-01-05 14:22:18 +11:00
Ash Logan
52522a37a2 render/wiiu: don't put debug messages in the released code 2020-01-05 14:22:18 +11:00
Ash Logan
df73c8d08b render: Add loads of GX2 texture formats 2020-01-05 14:22:18 +11:00
Ash
9c5dbf0404 render/wiiu: Safety checks on SDL_DestroyTexture 2020-01-05 14:22:18 +11:00
rw-r-r-0644
6679bae15a wiiu/shaders: Add shader source code + basic regenerate script 2020-01-05 14:22:18 +11:00
rw-r-r-0644
34ae6687c9 wiiu: Switch to cmake 2020-01-05 14:22:18 +11:00
rw-r-r-0644
25a3068876 wiiu/joystick: Updates for the new joystick interfaces 2020-01-05 14:21:04 +11:00
rw-r-r-0644
0dc07e0576 wiiu/render: Temporaneously disable formats other than RGBA8888 until the cause of bad colors is found 2020-01-05 14:21:04 +11:00
rw-r-r-0644
f4f066dd90 wiiu/render: Enable alpha merge/other settings 2020-01-05 14:21:04 +11:00
rw-r-r-0644
60e2f299cf wiiu: Move coordinates math to shader 2020-01-05 14:21:04 +11:00