Commit Graph

152 Commits

Author SHA1 Message Date
twinaphex
59fed065e9 Change d3d9.hpp to d3d.hpp 2014-06-11 00:49:18 +02:00
Themaister
c1c7b6aec3 Fixup Win32/Xbox font_params_t. 2014-06-09 13:13:57 +02:00
Themaister
f118817fae Fixups to Lakka fonts. 2014-06-09 12:44:48 +02:00
Themaister
33f718ce4c Small CXX_BUILD fix. 2014-06-08 14:08:26 +02:00
Themaister
64cc0efefe Parametrize drop shadows. 2014-06-08 14:08:26 +02:00
Themaister
d129ff3d13 Make font rendering more robust.
Dynamically sized buffers, etc.
2014-06-08 14:08:26 +02:00
Themaister
614b866f57 Rewrite bitmapfont to new interface. 2014-06-08 14:08:26 +02:00
Themaister
54c7521bf8 Drop useless win_width/height arguments to font init. 2014-06-08 14:08:26 +02:00
Themaister
8ee747a12d Blit fonts to full viewport. 2014-06-08 14:08:26 +02:00
Themaister
e545d695ec Begin big rewrite of GL/raster font rendering path. 2014-06-08 14:08:26 +02:00
twinaphex
65f5e1c74f (PS3) libdbgfont - double buffer size in bytes (was getting crashes
with a lot of shader parameters )
2014-05-30 22:19:51 +02:00
twinaphex
0e679d4309 (GL raster font) Make it possible to set alpha levels. By
implementing this, we can get rid of the copy-pasta gl raster
font code in Lakka
2014-05-27 04:22:08 +02:00
Themaister
c88941d23a Should avoid UTF-8 segfault in bitmapfont. 2014-04-15 04:43:14 +02:00
twinaphex
f512ba76d1 (XDK) Rename xdk_d3d_video_t to d3d_video_t 2014-03-07 20:17:25 +01:00
twinaphex
fd76a28a32 (D3D) Refactor D3DVideo class to d3d_video_t - should be very
similar to XDK D3D driver now
2014-03-07 19:34:17 +01:00
twinaphex
7f5e2c1631 (360 XDK) Don't reference driver.video_data from within
xdk3360_fonts.cpp
2014-03-07 06:46:11 +01:00
twinaphex
82c7e8f422 (XDK D3D) Build fix 2014-03-07 05:56:23 +01:00
twinaphex
39c1ec4672 Pass data param to more shader functions 2014-03-07 05:51:56 +01:00
twinaphex
ab79407dc6 (XDK 360 fonts) Start replacing driver.video_data with local data argument 2014-03-07 05:37:20 +01:00
twinaphex
1e37515e2f (XDK D3D) Rename d3d_render_device member to dev 2014-03-05 06:05:48 +01:00
Higor Eurípedes
b719c98db6 (griffin.c) Fix build when freetype2 support is enabled
This commit fixes build issues for frontends that wish to use freetype2
or that do not want to use the built-in bitmap font:

* Having HAVE_FREETYPE without DONT_HAVE_BITMAPFONT makes griffin.c
  include both freetype.c and bitmapfont.c resulting in a redefinition
  of 'struct font_renderer' (freetype.c:25 and bitmapfont.c:24).

* Having both HAVE_FREETYPE and DONT_HAVE_BITMAPFONT resulted in linkage
  problems because griffin.c does not include fonts.c in this case and
  thus font_renderer_create_default() implementation is missing. If
  fonts.c is included, the linker complains about undefined reference to
  bitmap_font_renderer in fonts.c:27.
2014-02-05 12:30:55 -03:00
pinumbernumber
09651cbe21 Hopefully improved detection of third-party dual xinput/dinput pads 2014-01-23 21:57:19 +00:00
Themaister
6c5d481f2d Fix MinGW compile. 2014-01-22 16:39:39 +01:00
twinaphex
7cbfb14791 (D3D9 PC) Go through font context driver now 2014-01-18 21:51:30 +01:00
twinaphex
13620ab16d (D3D) Split up D3D font code from D3D PC driver into separate font context file 2014-01-18 21:38:21 +01:00
twinaphex
5d34d72ed2 (XDK 360) Clean up xdk360_fonts 2014-01-18 21:32:46 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
da8f8b6d63 Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
instead
2013-11-07 21:44:44 +01:00
twinaphex
e61d086ef3 (PS3) Add RMenu as a rasterizer now for common menu interface 2013-11-07 02:54:09 +01:00
twinaphex
d6ad586114 (PS3) We don't use texrefs for font texture 2013-11-02 23:20:20 +01:00
twinaphex
9a738278ce (PS3) Expand conditionals of HAVE_LIBDBGFONT 2013-11-02 23:07:27 +01:00
twinaphex
b09a7bae43 (XDK) Move font context initing to xdk_d3d_init 2013-11-01 17:36:31 +01:00
Themaister
dab40b16c0 Pass window width/height to gl_init_font_first. 2013-11-01 17:02:55 +01:00
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