Commit Graph

10866 Commits

Author SHA1 Message Date
rw-r-r-0644
84b95e4091
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
2019-03-19 00:34:06 +01:00
rw-r-r-0644
ba2980b661
render/wiiu: Allocate normal textures from MEM2
MEM1 fills up very quickly and soon runs out of space for apps with many textures
2019-03-18 23:11:18 +01:00
rw-r-r-0644
16c1ea95c7
render/wiiu: DestroyRenderer: Wait for the rendering to finish and free texture draw data 2019-03-18 22:46:17 +01:00
rw-r-r-0644
12b9b8070a
render/wiiu: Free render data after calling GX2DrawDone 2019-03-18 22:45:06 +01:00
rw-r-r-0644
b0e9bb3688
render/wiiu: Reintroduce check removed with fd92b81 to fix crashes 2019-03-18 22:43:01 +01:00
rw-r-r-0644
639f8e5cd4
Merge pull request #2 from yawut/wiiu-noframebuffer
render: Avoid using framebuffer, other tweaks
2019-03-18 15:21:26 +01:00
rw-r-r-0644
c154dc9208
render/wiiu: Fix the remaining graphical glitches! 2019-03-18 15:18:29 +01:00
rw-r-r-0644
fd92b81847
render/wiiu: Code cleanup
* Remove unused functions
* Remove unneeded checks
* Uniform coding style with the rest of SDL
2019-03-10 01:58:34 +01:00
rw-r-r-0644
f5b39a8b2a render/wiiu: Use WIIU_FreeRenderData in DestroyRenderer 2019-03-10 01:07:05 +01:00
rw-r-r-0644
89d33c27cf render/wiiu: Update RenderReadPixels to lock the surface and use the correct texture format 2019-03-10 01:07:05 +01:00
rw-r-r-0644
fd0fb3211c render/wiiu: Fix compiler warnings 2019-03-10 01:07:26 +01:00
rw-r-r-0644
0da6632878 render/wiiu: Reduce GX2SetContextState calls
The function takes a fairly long time to complete
2019-03-10 01:07:13 +01:00
rw-r-r-0644
64a0a82d06 render/wiiu: Disable blending for render_scene 2019-03-10 01:07:05 +01:00
rw-r-r-0644
64b9abf590
render/wiiu: Implement SetTextureColorMod/SetTextureAlphaMod 2019-03-10 00:36:38 +01:00
rw-r-r-0644
8b36af565f
render/wiiu: Use vec* for u_texSize and u_viewSize 2019-03-10 00:25:10 +01:00
Ash Logan
f2133c5bda render/wiiu: Re-set context state after a clear
whb does this, so y'know
2019-03-08 11:41:31 +11:00
Ash Logan
e4f10eb2a6 render/wiiu: Textures keep their own colour buffers 2019-03-08 11:32:03 +11:00
Ash Logan
8264b0bfd5 render/wiiu: Use point scaling by default
see https://wiki.libsdl.org/SDL_HINT_RENDER_SCALE_QUALITY
2019-03-07 22:10:27 +11:00
Ash Logan
17c5430eab video/wiiu: Add support for DRC/TV only windows (#1) 2019-03-07 21:59:49 +11:00
Ash Logan
472bfde19c Merge branch 'wiiu' into wiiu-noframebuffer 2019-03-07 20:25:55 +11:00
Ash Logan
ef1495c9b3 render/wiiu: Use vec* for FillRects (fixes no-draw bug) 2019-03-06 19:53:43 +11:00
Ash Logan
1b479185ed render/wiiu: Fix present position/texcoord confusion 2019-03-06 19:05:58 +11:00
Ash Logan
cf0fc77604 render/wiiu: Respect window sizes 2019-03-06 17:52:57 +11:00
Ash Logan
4dad50640a render/wiiu: Handle window size changes 2019-03-06 15:43:40 +11:00
Ash Logan
f0511443d0 render/wiiu: readability - introduce vec* structs for drawing 2019-03-06 09:17:45 +11:00
Ash Logan
807a8f2519 render/wiiu: Fix resource flags on texture creation 2019-03-05 22:27:45 +11:00
Ash Logan
78b4e47f6c render/wiiu: Convert RenderData to use GX2RBuffers 2019-03-05 22:27:13 +11:00
Ash Logan
602abdeca0 render/wiiu: Use GX2R for texture surfaces
Untested at time of commit, hopefully it works hehe
2019-03-05 13:07:53 +11:00
Ash Logan
94fca6585d video/wiiu: Remove the last of the emulated framebuffer 2019-03-05 12:07:23 +11:00
Kuruyia
93eaa4e8f4 video/wiiu: Add flags to only draw on TV or Gamepad (#1) 2019-03-03 23:19:55 +11:00
Ash Logan
e53b835d79 render/wiiu: FLUSH THE CACHE. FLUSH THE CACHE. 2019-02-20 22:37:39 +11:00
Ash Logan
019a3fe809 video/wiiu: Call SDL_SetKeyboardFocus on window creation 2019-02-20 21:44:15 +11:00
rw-r-r-0644
fc596d922b
Edit README for the wiiu port 2019-02-01 19:17:33 +01:00
rw-r-r-0644
fb72c057ec
input/wiiu: Clear last_touched after sending touch release event 2019-01-24 08:44:37 +01:00
Ash Logan
a5394fca89 wiiu: first attempt at using the render driver instead of WindowFramebuffer 2019-01-24 17:03:08 +11:00
rw-r-r-0644
d7872927b4
render/wiiu: Fixup color blending 2019-01-12 19:20:13 +01:00
rw-r-r-0644
34c8613e7a
render/wiiu: Correct direction of rotation for RenderCopyEx 2019-01-12 16:30:01 +01:00
rw-r-r-0644
e414053f28
render/wiiu: Drawing is synchronized with refresh rate 2019-01-12 16:28:03 +01:00
rw-r-r-0644
00c497a953
Add README.md for the WiiU port 2019-01-12 13:08:15 +01:00
Ash Logan
aceba9a63f render/wiiu: Add support for color/alpha mod values/some blend modes 2019-01-12 20:59:50 +11:00
Ash Logan
3603538999 add gitignore (sorry) 2019-01-12 20:57:21 +11:00
Ash Logan
09fa5e93e9 render/wiiu: don't put debug messages in the released code 2019-01-03 20:13:22 +11:00
Ash Logan
49a2e209dc render: Add loads of GX2 texture formats 2019-01-03 17:04:26 +11:00
Ash Logan
9c7c9d70e9 include: Add extra checks for endian on devkitPPC 2019-01-03 13:41:40 +11:00
Ash
817cf209ec render/wiiu: Safety checks on SDL_DestroyTexture 2018-11-06 19:01:04 +01:00
rw-r-r-0644
171ffff85b wiiu/shaders: Add shader source code + basic regenerate script 2018-11-06 17:55:40 +01:00
rw-r-r-0644
ec3aa15a51 Merge branch 'master' of https://github.com/SDL-mirror/SDL into wiiu 2018-10-30 22:18:32 +01:00
rw-r-r-0644
c73c8e1b55 wiiu: Switch to cmake 2018-10-30 22:04:29 +01:00
rw-r-r-0644
4f6df9e35f wiiu/joystick: Updates for the new joystick interfaces 2018-10-30 21:58:51 +01:00
Sam Lantinga
e24a00fa7e Backed out changeset 9bb50edccc46, SDL_JOYSTICK_HIDAPI is only used on iOS for Steam Controller support, which is not publicly available. 2018-10-29 19:58:59 -07:00