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
Ryan C. Gordon
cea92252b1
winmain: Patched to compile on C89 compilers.
2018-10-29 20:18:50 -04:00
Ryan C. Gordon
4add225d98
winmain: Don't use SDL_malloc (or SDL_stack_alloc, which might be malloc).
...
Otherwise, we are using the allocator before the app can set up its own hooks.
Now we use VirtualAlloc, and WideCharToMultiByte (because SDL_iconv uses
SDL_malloc, too!) to get ready to call into SDL_main.
This also makes console_wmain() call into the same routines as everything
else, so we don't have to deal with those allocations, too. Hopefully we
end up with the same results from GetCommandLine() as we do in wargv.
Fixes Bugzilla #4340 .
2018-10-29 20:00:03 -04:00
Ryan C. Gordon
ac3ed1ef93
README-ios: added a note about enabling hidapi.
2018-10-29 15:51:38 -04:00
Michał Janiszewski
e4a84752cb
Add and update include guards
...
Include guards in most changed files were missing, I added them keeping
the same style as other SDL files. In some cases I moved the include
guards around to be the first thing the header has to take advantage of
any possible improvements compiler may have for inclusion guards.
2018-10-28 21:36:48 +01:00
Sam Lantinga
e84cf33c51
Fixed bug 4335 - Android NDK build error
...
dmuratshin
LOCAL_SRC_FILES shouldn't use $(LOCAL_PATH)
2018-10-28 14:17:21 -07:00
rw-r-r-0644
942e94dd8c
wiiu: Updates for newer SDL
2018-10-28 19:41:37 +01:00
rw-r-r-0644
dc1e294bea
wiiu: Edit config comment to prevent gcc warning
2018-10-28 19:24:11 +01:00