Commit Graph

10857 Commits

Author SHA1 Message Date
rw-r-r-0644
87fbbbec7e render/wiiu: Update RenderReadPixels to lock the surface and use the correct texture format 2019-04-29 22:59:32 +10:00
rw-r-r-0644
ceb9f1c096 render/wiiu: Fix compiler warnings 2019-04-29 22:59:32 +10:00
rw-r-r-0644
7a02c03542 render/wiiu: Reduce GX2SetContextState calls
The function takes a fairly long time to complete
2019-04-29 22:59:32 +10:00
rw-r-r-0644
7507d2b9a2 render/wiiu: Disable blending for render_scene 2019-04-29 22:59:32 +10:00
rw-r-r-0644
7446bdc731 render/wiiu: Implement SetTextureColorMod/SetTextureAlphaMod 2019-04-29 22:59:32 +10:00
rw-r-r-0644
fcb1d21683 render/wiiu: Use vec* for u_texSize and u_viewSize 2019-04-29 22:59:32 +10:00
Ash Logan
eba4263f00 render/wiiu: Re-set context state after a clear
whb does this, so y'know
2019-04-29 22:59:32 +10:00
Ash Logan
dcb58351f0 render/wiiu: Textures keep their own colour buffers 2019-04-29 22:59:32 +10:00
Ash Logan
8c4b5c066e render/wiiu: Use point scaling by default
see https://wiki.libsdl.org/SDL_HINT_RENDER_SCALE_QUALITY
2019-04-29 22:59:32 +10:00
Ash Logan
da762c2f05 video/wiiu: Add support for DRC/TV only windows (#1) 2019-04-29 22:59:32 +10:00
Kuruyia
f814e40fcf video/wiiu: Add flags to only draw on TV or Gamepad (#1) 2019-04-29 22:57:45 +10:00
rw-r-r-0644
b6873f94f4 Edit README for the wiiu port 2019-04-29 22:55:56 +10:00
rw-r-r-0644
d58f563d65 input/wiiu: Clear last_touched after sending touch release event 2019-04-29 22:55:56 +10:00
Ash Logan
73ba941733 render/wiiu: Use vec* for FillRects (fixes no-draw bug) 2019-04-29 22:55:56 +10:00
Ash Logan
482fa50607 render/wiiu: Fix present position/texcoord confusion 2019-04-29 22:55:56 +10:00
Ash Logan
2b640b8e7b render/wiiu: Respect window sizes 2019-04-29 22:55:56 +10:00
Ash Logan
b17164d5f6 render/wiiu: Handle window size changes 2019-04-29 22:55:56 +10:00
Ash Logan
89013edb6c render/wiiu: readability - introduce vec* structs for drawing 2019-04-29 22:55:56 +10:00
Ash Logan
e147fbab72 render/wiiu: Fix resource flags on texture creation 2019-04-29 22:55:56 +10:00
Ash Logan
72d34778d6 render/wiiu: Convert RenderData to use GX2RBuffers 2019-04-29 22:55:56 +10:00
Ash Logan
ca33399a70 render/wiiu: Use GX2R for texture surfaces
Untested at time of commit, hopefully it works hehe
2019-04-29 22:55:56 +10:00
Ash Logan
fa157dbcaa video/wiiu: Remove the last of the emulated framebuffer 2019-04-29 22:55:56 +10:00
Ash Logan
e713fb41d1 render/wiiu: FLUSH THE CACHE. FLUSH THE CACHE. 2019-04-29 22:55:55 +10:00
Ash Logan
aebe08cf45 video/wiiu: Call SDL_SetKeyboardFocus on window creation 2019-04-29 22:55:55 +10:00
Ash Logan
fab05b5179 wiiu: first attempt at using the render driver instead of WindowFramebuffer 2019-04-29 22:55:55 +10:00
rw-r-r-0644
5137bdb29f render/wiiu: Fixup color blending 2019-04-29 22:55:55 +10:00
rw-r-r-0644
6824fb4284 render/wiiu: Correct direction of rotation for RenderCopyEx 2019-04-29 22:55:55 +10:00
rw-r-r-0644
d3ad23e0cd render/wiiu: Drawing is synchronized with refresh rate 2019-04-29 22:55:55 +10:00
rw-r-r-0644
e88463592d Add README.md for the WiiU port 2019-04-29 22:55:55 +10:00
Ash Logan
2022692d60 render/wiiu: Add support for color/alpha mod values/some blend modes 2019-04-29 22:55:55 +10:00
Ash Logan
b0defceb9b add gitignore (sorry) 2019-04-29 22:55:55 +10:00
Ash Logan
4134be1cb8 render/wiiu: don't put debug messages in the released code 2019-04-29 22:55:55 +10:00
Ash Logan
cbc64b5f3e render: Add loads of GX2 texture formats 2019-04-29 22:55:55 +10:00
Ash Logan
dd77800d1c include: Add extra checks for endian on devkitPPC 2019-04-29 22:55:55 +10:00
Ash
3e20fffb49 render/wiiu: Safety checks on SDL_DestroyTexture 2019-04-29 22:55:55 +10:00
rw-r-r-0644
6b2e8b9113 wiiu/shaders: Add shader source code + basic regenerate script 2019-04-29 22:55:55 +10:00
rw-r-r-0644
94a46ebb35 wiiu: Switch to cmake 2019-04-29 22:55:55 +10:00
rw-r-r-0644
9bee9180c2 wiiu/joystick: Updates for the new joystick interfaces 2019-04-29 22:55:55 +10:00
rw-r-r-0644
463b9e07e4 wiiu: Updates for newer SDL 2019-04-29 22:55:55 +10:00
rw-r-r-0644
37f2ef8682 wiiu: Edit config comment to prevent gcc warning 2019-04-29 22:55:55 +10:00
rw-r-r-0644
b3e82ffb3f wiiu/render: Temporaneously disable formats other than RGBA8888 until the cause of bad colors is found 2019-04-29 22:55:55 +10:00
rw-r-r-0644
ef7d10e54e wiiu/render: Enable alpha merge/other settings 2019-04-29 22:55:55 +10:00
rw-r-r-0644
b413dafb06 wiiu: Move coordinates math to shader 2019-04-29 22:55:55 +10:00
rw-r-r-0644
a7ee3dd532 wiiu/render: Fix final bugs; it partially works now \o/ 2019-04-29 22:55:55 +10:00
rw-r-r-0644
aa08e434c9 wiiu/render: Fix GX2ContextState alignment 2019-04-29 22:55:55 +10:00
rw-r-r-0644
0ea992080b wiiu/video: Add more attributes for texture 2019-04-29 22:55:55 +10:00
rw-r-r-0644
769a4dd086 wiiu/render: SDL_GetWindowSurface is needed to create the framebuffer 2019-04-29 22:55:55 +10:00
rw-r-r-0644
3798398c51 wiiu: Linking fixes 2019-04-29 22:55:55 +10:00
rw-r-r-0644
888d0c5dca render/wiiu: Fix compiling, implement RenderCopyEx, make some render vars unique for objects, add missing shaders 2019-04-29 22:55:55 +10:00
Ash
3cb1ed94bd render/wiiu: Start fixing up missing headers 2019-04-29 22:55:55 +10:00