Commit Graph

119 Commits

Author SHA1 Message Date
Themaister
7aa8b40759 Fixup C89 for loops. 2013-10-22 21:37:56 +02:00
twinaphex
d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Lioncash
64da817eec Fix a memory leak in function gl_init_font in ps_libdbgfont.c 2013-10-13 23:12:12 -04:00
twinaphex
c5beaec16c (RMenu) Make RMenu even more minimalist - fit more text onscreen 2013-09-28 04:14:07 +02:00
ToadKing
be08d003c9 [GL] fix OSD messages breaking if one was too long 2013-08-22 23:21:52 -04:00
Themaister
6df083fc0f Add support for bottom-left origin in libretro GL. 2013-08-11 00:53:46 +02:00
Themaister
e28f5d7cc1 Fix incompatibilities with GL core. 2013-08-11 00:50:38 +02:00
Themaister
6dd7ea935e Add GL_SHADER_STOCK_BLEND.
Replace stock shader with a special shader which does not apply color.
This is a necessary on Android.
2013-04-20 15:46:50 +02:00
twinaphex
33798edb27 Drop most of the unnecessary GL shader wrapper functions/macros -
these were necessary before we made the shader backends
2013-04-13 09:01:25 +02:00
twinaphex
30e190bdae Remove superfluous wcstombs / mbstowcs wrappers 2013-04-11 17:18:23 +02:00
twinaphex
9e09ba8a0a (PS3) Don't spam cellDbgFontDraw - do it once per frame and
instead just increase the buffer
2013-04-11 14:10:24 +02:00
twinaphex
2e12f34932 (360) Build fix 2013-03-11 23:50:31 +01:00
twinaphex
63883a1131 Combine render_msg and render_msg_place with params argument 2013-03-11 20:05:05 +01:00
twinaphex
04cacb5e30 Upgrade lifecycle_menu_state to 64bit variable lifecycle_mode_state 2013-01-12 03:13:03 +01:00
Themaister
9b12e9b3b4 Fix C++ compat. 2013-01-12 00:34:47 +01:00
Themaister
88df35578d Pass float font sizes to cores. 2013-01-12 00:13:30 +01:00
twinaphex
c7adeb9ed0 (RMenu) Rmenu now uses g_settings.video.font_size 2013-01-11 21:05:15 +01:00
twinaphex
c58a54b0a3 (360) Build fix 2013-01-11 20:06:50 +01:00
twinaphex
6047df275d (360) Clean up font code somewhat 2013-01-11 20:02:46 +01:00
twinaphex
b67fd69c26 (RARCH_CONSOLE) Refactored out rmenu_hd/rmenu_widescreen 2013-01-11 18:14:54 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
twinaphex
875b6b6f2e (Xbox 1) Font cleanups 2012-12-15 07:16:02 +01:00
twinaphex
0df739b86d (360) Build fix 2012-12-15 04:36:19 +01:00
twinaphex
566296068a (Xbox 1) Fix build 2012-12-15 03:59:31 +01:00
twinaphex
4864adc7b1 (XDK) Rewrote Xbox font code 2012-12-15 03:35:04 +01:00
twinaphex
13b8c40c27 Remove null_fonts - bitmap fonts will always be the fallback
default now
2012-12-15 03:02:26 +01:00
twinaphex
a7a901962f (PS3) Works again on PS3 2012-12-15 00:17:43 +01:00
Themaister
beca1c44f3 Move all font stuff to gfx/fonts.
Rename stuff so griffin doesn't break.
2012-12-15 00:27:30 +01:00
Themaister
78e5d47a9b Rename to gl_raster_font to clearify. 2012-12-15 00:08:26 +01:00
Themaister
b239785038 Context-ize GL font rendering. 2012-12-15 00:07:31 +01:00
twinaphex
fcb31db218 (PSFont) Add PS Font renderer for font abstraction interface 2012-12-14 22:35:47 +01:00
twinaphex
a7206b02ab (Font API) Add scaling_factor and color to output struct 2012-12-14 21:52:14 +01:00
Toad King
278c2cca10 pre-scale bitmap fonts 2012-12-14 15:50:59 -05:00
Themaister
8501c404f6 Fix CXX_BUILD. 2012-12-14 22:33:04 +01:00
twinaphex
1538c45d5d (Font API) Change font_renderer_t returns and params to void* 2012-12-14 21:26:41 +01:00
Themaister
66021d7ba0 Avoid name collision in griffin. 2012-12-14 20:39:14 +01:00
Themaister
7d4278a29b Add gfx/fonts/fonts.c. 2012-12-14 20:26:40 +01:00
Themaister
5700febb2c Refactor font renderering.
Virtualize for multiple backends, and name files more sanely.
2012-12-14 20:25:40 +01:00
Toad King
7ae47fb860 make font bitmap static 2012-12-13 17:03:32 -05:00
Toad King
e75bdffdbf cleanup remaining font code
move font.bin and font.bmp used to generate binaryfont to gfx/fonts
2012-12-13 16:17:01 -05:00
Themaister
047637dc24 Don't segfault in font_renderer_free.
handle can be NULL.
2012-12-13 23:15:30 +01:00
Themaister
592cbdfda1 Reuse font deinit code. 2012-12-13 23:14:06 +01:00
Toad King
2209103248 (GX) redo video/RGUI code to use new font location 2012-12-13 16:12:51 -05:00
Toad King
59bc3d4ba7 add alternative font drawing for GL 2012-12-13 15:12:59 -05:00
twinaphex
0e7501759f (ps_libdbgfont) Add elif defined(__CELLOS_LV2__) 2012-11-23 00:08:07 +01:00
twinaphex
4693b0aaa5 (PS3/PSP2) Make libdbgfont portable 2012-11-22 18:02:46 +01:00
twinaphex
46c1fd6e41 (XDK) Indenting fixups 2012-11-22 05:52:24 +01:00
twinaphex
c71993af83 (360) Some more cleanups of font code 2012-11-22 04:54:30 +01:00
twinaphex
bd332c80c5 (360) Fonts can now be placed anywhere onscreen 2012-11-22 04:44:29 +01:00
twinaphex
b5c9a9ada4 (360) Last cleanups for now on xdk360_fonts.cpp 2012-11-22 03:25:20 +01:00