Clownacy
8eb4e29b10
Remove needless parameter
2020-10-04 13:56:43 +01:00
Clownacy
ce6e4e2a32
Add Wii U smooth framebuffer upscaling
2020-10-04 13:51:16 +01:00
Clownacy
30ec081d7b
Refactor Wii U renderer in preparation
...
This is in preparation for an upscaled-framebuffer system like the
OpenGL backend has.
I wonder if it's possible to just use a shader instead, and avoid the
need for an upscaled framebuffer to make the linear filtering not
look terrible.
2020-10-04 13:00:22 +01:00
Clownacy
914034c406
Remove unused variable
2020-10-04 00:39:07 +01:00
Clownacy
771f83d06a
Fix the 'Studio Pixel Presents' text on Wii U
...
The vertex buffer was being deleted and recreated *after* it was
binded.
2020-10-04 00:37:49 +01:00
Clownacy
9458d2aea7
Avoid some duplicate code in Wii U flush function
2020-10-03 21:01:36 +01:00
Clownacy
6803438358
Fix Wii U using an uninitialised vertex buffer
2020-10-03 18:35:40 +01:00
Clownacy
c7cd67c410
Remove another useless variable
2020-10-03 16:11:58 +01:00
Clownacy
076a477239
Remove useless variable
2020-10-03 16:09:22 +01:00
Clownacy
b7e25cd9be
Wii U renderer cleanup
2020-09-27 17:16:58 +01:00
Clownacy
87da82a500
Wii U: Offload vertex transformation to GPU
2020-09-23 19:55:45 +01:00
Clownacy
663870ae76
Wii U: Offload tex-coord transformation to GPU
2020-09-23 19:05:01 +01:00
Clownacy
45f2032c9a
Modernise how Wii U shaders are included
...
Uses newer bin2h. I would be nice if this process were automated...
2020-09-23 17:53:49 +01:00
Clownacy
006091305e
Fix an inconsistency
2020-09-23 17:08:07 +01:00
Clownacy
0103f2696b
Better way to handle Wii U screen viewports
2020-09-23 17:07:26 +01:00
Clownacy
42f12c18d9
Wii U integer-only viewport calculation
2020-09-23 16:57:36 +01:00
Clownacy
eac417cdc1
I guess I figured out what the GX2 context is for
2020-09-23 16:52:42 +01:00
Clownacy
83e8320d84
Fix other renderers
2020-09-17 18:26:32 +01:00
Clownacy
fd82adf099
Remove invalid comment
2020-09-15 21:00:27 +01:00
Clownacy
11bbad7372
Cleanup
...
Now RenderBackend_DrawGlyph doesn't pass an unnecessary parameter
2020-09-15 19:40:10 +01:00
Clownacy
392d5898a3
Make GetVertexBufferSlot consistent
...
It would be nice keep this batching stuff in a common file
somewhere...
2020-09-15 16:28:35 +01:00
Clownacy
611afe7417
Remove those annoying renderer sanity checks
...
Duplicate junk. If they're that important, they can go in the game,
not the backends.
2020-09-14 23:55:39 +01:00
Clownacy
27b3980a56
Flush Wii U vertex buffers when stuff happens
...
You know, this 50-character commit name limit is really annoying.
2020-09-14 23:47:52 +01:00
Clownacy
e18ec87f99
Update Wii U renderer
2020-09-14 23:16:45 +01:00
Clownacy
63e4ac9aa9
Remove RenderBackend_FlushGlyphs
...
No longer used for anything
2020-09-14 12:25:39 +01:00
Clownacy
daa55b1a3c
Allow font atlases to be non-square
...
Saves a little memory in some cases. It's the backend's job to decide
if this is a problem or not, and pad it if it has to.
2020-09-14 12:08:27 +01:00
Clownacy
a37e1d31f2
Remove extra newline
2020-09-11 13:06:52 +01:00
Clownacy
69f3fbcd5a
Change a dumb parameter
2020-09-10 17:56:22 +01:00
Clownacy
988f1128dd
Convert a bunch of ints to size_t
...
ints are dumb - only use them when you have to
2020-09-10 17:36:21 +01:00
Clownacy
07f70200d0
Renderer cleanup
2020-09-08 12:48:25 +01:00
Clownacy
0b83da1fd9
Make the Wii U batch its font rendering
...
Yaaaaaaaay
2020-09-08 02:12:37 +01:00
Clownacy
b080954a71
Wii U cleanup
2020-09-08 01:50:49 +01:00
Clownacy
bcf5513495
Updated Wii U renderer
...
Turns out it doesn't even batch the font stuff. I'll need to add that
later.
2020-09-08 01:17:07 +01:00
Clownacy
a5c09b67f7
Wii U renderer cleanup
2020-06-29 22:13:03 +01:00
Clownacy
f6fe0537ed
Add vertex-batching to Wii U port
...
Should remove the last bit of lag that port has (like the Labyrinth
fight where you team-up with Curly)
2020-06-29 21:37:05 +01:00
Clownacy
9925c16b29
Minor cleanup
2020-06-29 19:19:50 +01:00
Clownacy
1523f1d3a6
Unified the Wii U vertex buffers
2020-06-29 16:40:32 +01:00
Clownacy
dacd34072a
Fix everything after the last commit
2020-05-06 22:52:11 +01:00
Clownacy
c5691d7570
Fix Wii U port when TV is set to 1080p
...
WUT's bugged. See here:
https://github.com/devkitPro/wut/issues/119
It apparently got this bug from the Decaf emulator. Maybe I should
tell those guys too.
2020-04-25 00:22:24 +01:00
Clownacy
b841f22c6d
Remember to free the glyph shader
2020-04-23 14:35:41 +01:00
Clownacy
b8dd512dc4
Free surface upon failure
2020-04-23 14:34:58 +01:00
Clownacy
d7c138f818
More error-handling
2020-04-23 14:33:59 +01:00
Clownacy
1f9247e587
Cleanup and extra error-handling
2020-04-23 14:31:19 +01:00
Clownacy
ee1d777ebb
...Actually do what the last commit said
2020-04-23 13:41:24 +01:00
Clownacy
a2cdd9ac18
Allow surfaces to be marked as not-render-targets
...
The Wii U has a very limited pool of memory for render targets
(32MB), so we should only use it if we have to.
This 'fixes' a bug in the enhanced branch, where if you use 2x
sprites at 854x480, the third line of the text box will be corrupted
(text will appear on the second line instead, and be black instead of
white).
The other renderers haven't been updated for the API change yet.
2020-04-23 13:23:10 +01:00
Clownacy
ebb96ad239
Cleanup
2020-04-22 01:50:31 +01:00
Clownacy
4752423ff3
Use pitch
2020-04-22 01:46:48 +01:00
Clownacy
0421a7ca54
Wii U: Glyphs don't use colour-buffers
2020-04-22 01:08:31 +01:00
Clownacy
abdd7fc771
Add missing case for Wii U screen size
...
My Wii U always uses this value
2020-04-21 23:53:37 +01:00
Clownacy
17fb47bce8
Correct typo
2020-04-21 22:27:13 +01:00