Commit Graph

31 Commits

Author SHA1 Message Date
Ash Logan 60c32fe494 (Wii U) Render font lines with correct spacing
No idea about this one, borrowed code from the Vita and it makes 
multi-line rendering look correct again
2021-07-20 20:05:44 +10:00
Ash Logan 20e70f9caa (Wii U) Only sample alpha channel when rendering fonts
The font backend provides only the alpha channel for a given glyph, but 
we were sampling that channel for the r, g, b and a. Fix by hard-coding 
the sampled colour to white - the actually desired colour is multiplied 
in later.
2021-07-20 19:57:35 +10:00
twinaphex 67898f5d12 (Font drivers) Simplifications 2020-06-24 21:27:47 +02:00
twinaphex 9cb4d924cb Revert "(drivers_font) Cut down on unnecessary strlen calls within a for loop"
This reverts commit 3e9d0b8758.
2020-06-24 21:09:44 +02:00
twinaphex 3e9d0b8758 (drivers_font) Cut down on unnecessary strlen calls within a for loop
- precompute once for function duration
2020-06-24 20:52:39 +02:00
jdgleaver 6c49ae5152 (WiiU/3DS) Fix font driver horizontal text alignment 2020-04-20 16:20:21 +01:00
jdgleaver 73bcd7a692 Enable correct vertical alignment of text (+ font rendering fixes) 2020-03-31 16:55:22 +01:00
twinaphex f4c5036c3c Get rid of video_frame_info dep for fonts 2020-03-10 03:24:59 +01:00
twinaphex a395bf9355 (Drivers font) Start getting rid of video_frame_info dependency 2020-03-09 21:56:03 +01:00
twinaphex 43feea3496 (Drivers font) Add parameter 2020-03-09 21:34:14 +01:00
twinaphex 6505080d64 (gfx drivers font) Get rid of as many video_frame_info
dependencies as possible
2020-03-07 20:48:26 +01:00
twinaphex be861cf55d (gfx drivers font) Reduce dependency on video_frame_info 2020-03-07 20:11:39 +01:00
twinaphex ee9c6ef5ba (Font driver) Get rid of more video_frame_info dependencies 2020-03-07 01:41:00 +01:00
twinaphex 2e034c1574 (gfx/drivers_font) header cleanups 2020-03-05 14:01:34 +01:00
twinaphex ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
natinusala 631f9e6b8e font driver: expose line height 2019-02-17 16:54:24 +01:00
orbea bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex eb345019c2 Don't implement bind_block/flush_block for drivers that
don't implement it
2018-07-15 20:16:40 +02:00
twinaphex 0d39701145 Get rid of double void argument 2018-07-14 00:54:14 +02:00
twinaphex 4d1b4f905f Start adding OSD statistics - doesn't work yet for SDL2/SDL 2018-03-23 17:43:49 +01:00
twinaphex 070c09faec Avoid more pointer grabbing for video driver ptr 2018-02-16 20:42:37 +01:00
twinaphex 8e6f931f85 Add some safeguards 2018-01-13 23:50:14 +01:00
aliaspider a7632620da (WIIU) add a sprite shader. 2018-01-04 17:38:04 +01:00
aliaspider 0a32642f17 (WIIU) shader: use a single attribute stream. 2017-12-31 14:06:49 +01:00
aliaspider b371f4bb32 (WIIU) add a color attribute to tex_shader.
+ some fixes to overlay and menu display code.
2017-12-30 23:21:32 +01:00
twinaphex 5879e551a5 Pass video_info to font driver functions 2017-11-13 10:42:40 +01:00
Ash 0d38612f4a
[WiiU] Various warning/format string fixes
All things from unsigned comparisons to missing initializers; we got it
here.
2017-11-04 20:37:30 +11:00
aliaspider db490a69a3 (WiiU) add a menu display driver. enable MATERIALUI and XMB. 2017-05-22 01:45:40 +01:00
aliaspider a03b3238cb (WiiU) update font atlas texture when required. 2017-05-21 04:36:26 +01:00
aliaspider 1f13d616cc (WiiU) font renderer: fix vertical offset. 2017-05-21 04:17:38 +01:00
aliaspider 8dee95651f (WiiU) add a font driver. 2017-05-21 03:05:41 +01:00