Commit Graph

153 Commits

Author SHA1 Message Date
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
twinaphex
07a20fc00a (360) Fonts - cleanups 2012-11-22 03:08:51 +01:00
twinaphex
0652deddab (360) Fonts - cleanup 2012-11-22 03:02:06 +01:00
twinaphex
5e903495ce (360) Fonts - more debloat 2012-11-22 02:20:10 +01:00
twinaphex
d2216a996a (360) Fonts - more cleanups 2012-11-22 02:05:17 +01:00
twinaphex
937eb7fe3f (360) Fonts - more cleanups 2012-11-22 01:56:10 +01:00
twinaphex
0d96b7bf2f (360) Fonts - more cleanups - removing a bunch of cruft we won't
need
2012-11-22 01:44:59 +01:00
twinaphex
5a88d50c32 (360) fonts - cleanups 2012-11-22 01:10:07 +01:00
twinaphex
d4d46ba5a0 (360) Fonts - cleanups 2012-11-22 00:49:05 +01:00
twinaphex
d50123ae7c (360) Font is now downscaled to reasonable size on SDTVs 2012-11-22 00:21:52 +01:00
twinaphex
c3db8e8c8f (360) Build fixes 2012-11-20 15:16:54 +01:00
twinaphex
28c39a5beb (XDK) Fixed viewport settings 2012-11-20 06:08:58 +01:00
twinaphex
851befae00 (XDK D3D) Split off 3DPRESENT_PARAMETERS initialization into
separate public function
2012-11-20 01:40:52 +01:00
twinaphex
cdb058bac2 Revert "(360) xdk360_fonts cleanups"
This reverts commit 93f591aaa2.
2012-11-18 04:15:06 +01:00
twinaphex
93f591aaa2 (360) xdk360_fonts cleanups 2012-11-18 04:12:02 +01:00
twinaphex
8101399cdd (360) Simplify font rendering code 2012-11-18 03:39:49 +01:00
twinaphex
887f594875 (360) small build fix 2012-11-18 03:10:53 +01:00
twinaphex
d264085bda (360) Move most of font rendering code outside of D3D driver 2012-11-18 02:57:42 +01:00
Themaister
3e77039a42 Rewrite how gl.c interfaces with shader backends. 2012-11-14 22:51:08 +01:00
Themaister
1908a81e1c Add RETRO_DEVICE_POINTER.
Implemented only for X11 so far.

Also clears up viewport_size call.
Changed to viewport_info to also grab X/Y info.
2012-10-28 00:38:31 +02:00
Themaister
5d4019f4ab Have the scale value make more sense in freetype. 2012-09-29 19:20:30 +02:00
twinaphex
66cc23af34 (Freetype) Should allow for setting adjustable font positioning (x/y)
and scaling
2012-09-29 14:19:14 +02:00
TwinAphex51224
5fad20121f (PS3) Add preliminary Freetype support for PS3 2012-09-27 18:16:06 +02:00
Themaister
6d2c0cdb17 Only allow keyboard input when in focus int x_input. 2012-09-16 01:27:32 +02:00
Themaister
759a4c811d Use GL_LUMINANCE_ALPHA for fonts. 2012-09-15 23:15:19 +02:00
Themaister
1ce547f277 Use 32-bit fonts to avoid tons of ifdeffing for GLES. 2012-09-15 16:03:20 +02:00
Themaister
ff60bcb5e5 Add experimental X/EGL support. 2012-09-15 15:17:34 +02:00
Themaister
4c99652a60 Rework attribute and MVP passing in GL. 2012-09-11 23:32:00 +02:00
Themaister
756f8fb3db Cleanup PBO handling. Makes it optional via ./configure. 2012-09-10 23:17:48 +02:00
Themaister
9871b8d56f Add preliminary PBO mode for GL. (GLES). 2012-09-10 11:15:48 +02:00
Themaister
cfae6196a6 Cleanups in GL. Use GL_TRIANGLE_STRIP instead of GL_QUADS. 2012-09-10 10:29:50 +02:00
Twinaphex
fb1853654b (Android) Add null_fonts, libretroarch links now 2012-09-10 02:02:30 +02:00
freakdave
e525f20b2a (Xbox 1) Fixed screen residues from temporary messages appearing in certain viewports
(Xbox 1) Fixed include typo in xdk_d3d8.cpp
2012-08-26 20:00:53 +02:00
twinaphex
9cdb6991ea (360) Display tweaks 2012-08-19 22:03:24 +02:00
Themaister
447412c6df Abstract all use of *Pointer() functions to one point. 2012-08-14 23:32:55 +02:00
Themaister
749329f455 Fix build if freetype isn't enabled. 2012-08-09 10:36:51 +02:00
Twinaphex
3c85d9f386 (PS3 / RMenu) Graphic changes 2012-08-05 03:00:38 +02:00
Twinaphex
6826301b75 (PS3) Debug fonts show again + menu label tweaks 2012-08-04 17:30:31 +02:00
twinaphex
1cb896d0b6 (Xbox 1) Rmenu build fix 2012-08-04 02:44:02 +02:00
Twinaphex
17780cb5a8 (Rmenu/fonts) no longer use gl_render_msg_post 2012-08-04 02:28:38 +02:00
Twinaphex
ab3b97cb40 (PS3) Clean up RMenu - don't use 'post' font functions 2012-08-04 02:06:46 +02:00
twinaphex
670da875e7 (Xbox 1) Bring Xbox 1 menu code more inline with that of PS3 2012-08-03 03:24:36 +02:00
twinaphex
d28ebe7644 (Xbox 1) Menu changes 2012-08-03 00:23:09 +02:00
Twinaphex
35ad0644a9 (PS3) Font change 2012-08-03 00:02:02 +02:00
twinaphex
43077df35b (Xbox 1) Use font wrapper functions 2012-07-31 01:23:42 +02:00
Twinaphex
b425531dd9 (Xbox 1) Add Xbox 1 font files 2012-07-31 00:14:23 +02:00
Twinaphex
d963e256d2 (PS3) Wrap cellDbgFont calls for portability 2012-07-30 23:42:29 +02:00
twinaphex
376ca9d087 (360) Build fix 2012-07-28 22:51:33 +02:00
twinaphex
4b0d3620c7 (360/Xbox 1) Move reusable XDK files to new folder - xdk -and
create header for XDK definitions
2012-07-16 02:15:47 +02:00
twinaphex
077d9a1f63 (360/Xbox 1) Xbox 1 and 360 now use the same resource
ile - xdk_resources.cpp
2012-07-16 01:58:15 +02:00
twinaphex
bbd7d4d410 (360) Cleanup xdk360_fonts.cpp 2012-07-15 05:54:28 +02:00
twinaphex
eb3c3d4362 (360) Cleanups in font code 2012-07-15 05:35:45 +02:00
twinaphex
c2e2104c3b (360) Clean up xdk360_fonts.cpp 2012-07-15 05:21:39 +02:00
twinaphex
9d5978cb3e (360/Xbox 1) xdk360_video changed 2012-07-07 20:15:06 +03:00
Twinaphex
b273659975 (PS3) OSD message now at same position both ingame and in menu 2012-06-29 16:02:31 +02:00
TwinAphex51224
82b18e7cad (360) cleanup font code (again) 2012-06-24 12:03:46 +02:00
TwinAphex51224
33340aa870 (360) font code cleanup 2012-06-24 11:41:12 +02:00
TwinAphex51224
7b84d5c3d7 (360) Move font files 2012-06-24 11:33:25 +02:00
Toad King
f21371f166 reuse font code for Raspberry Pi graphics core
also move bcm_host_init() to graphics core
2012-06-19 12:41:06 -04:00
Twinaphex
3e6a10ffb6 (PS3) Add some Griffin overrides 2012-05-30 17:03:23 +02:00
Themaister
72310b6661 Style nit party. 2012-05-27 23:15:02 +02:00
Twinaphex
15e16728f2 PC fix build 2012-05-27 22:45:00 +02:00
Themaister
ac96bee03d Fix build for Win32. 2012-05-27 16:52:30 +02:00
Themaister
86295bf057 Re-add gl_render_msg_post(). 2012-05-27 14:27:17 +02:00
Themaister
8e45e6bc4a Fix warnings on non-freetype builds. 2012-05-27 12:28:16 +02:00
Themaister
8e17f8695e Remove unneeded pre/post calls. 2012-05-27 12:26:43 +02:00
Twinaphex
efa3bef528 (PS3) Move header file include for libdbgfont 2012-05-27 04:34:21 +02:00