177 Commits

Author SHA1 Message Date
Twinaphex
4fb4ad8a1e (fonts.c) Fix 'declaration shadows a global variable' warning 2014-10-14 18:28:22 +02:00
twinaphex
54d130838a More name uniformity in font renderer implementation functions 2014-10-08 18:19:05 +02:00
twinaphex
7a6ee6a300 Get rid of MODE_MENU_HD too -g_extern.lifecycle_state can now
be used for 'injecting' button presses (i.e. libretro button presses
and/or meta button presses)
2014-10-02 21:57:01 +02:00
twinaphex
b22cf18228 (GL/Shaders) Put fixed-function vertex/matrix coord code inside shader
backend files as fallback routines
2014-10-02 15:17:21 +02:00
twinaphex
6b054da299 Rename shader_common to shader_context 2014-10-02 13:21:45 +02:00
twinaphex
ca12482af0 Move shader files to gfx/shader/ 2014-10-02 00:45:11 +02:00
twinaphex
43c9948087 (GL) Prevent memcpy on gl->tex_coords 2014-10-01 20:37:52 +02:00
twinaphex
e0f1696b04 (freetype) refactor freetype.c 2014-10-01 15:51:23 +02:00
twinaphex
93c55879a8 gl_font.c - rename gl_data to video_data 2014-10-01 15:31:52 +02:00
twinaphex
f6dabba9a9 (PS3/Griffin) Prevent namespace conflicts with Griffin 2014-10-01 15:13:20 +02:00
twinaphex
6200641ccf Take out DONT_HAVE_BITMAPFONTS 2014-09-25 06:54:40 +02:00
twinaphex
295434151b (D3D) Change dir to gfx/d3d 2014-09-14 06:45:47 +02:00
twinaphex
397dd132b4 Move font variable to d3d_w32_font.cpp 2014-09-13 21:59:11 +02:00
Higor Eurípedes
95193c20e0 (gl_raster_font.c) Fix warning 2014-09-12 22:57:24 -03:00
Higor Eurípedes
81ff623957 (gl_font_renderer_t) Add get_glyph() function pointer 2014-09-12 22:39:29 -03:00
twinaphex
da088073ec (D3D) Create wrapper for SetVertexShader 2014-09-12 19:42:46 +02:00
twinaphex
9c00855f71 (360) Build fix 2014-09-12 19:23:42 +02:00
twinaphex
402388e369 (D3D) Create wrapper function d3d_set_texture 2014-09-12 19:19:11 +02:00
twinaphex
9c67b3f39c Indenting/style nits 2014-09-12 02:51:47 +02:00
twinaphex
e05b505032 (D3D) uniquely name header guard name for d3d_font.h 2014-09-12 02:45:13 +02:00
twinaphex
11e3d1e2ac (Fonts) Change font drivers to non-constedness 2014-09-12 02:24:09 +02:00
twinaphex
aa409e5e8f (D3D) Change d3d font drivers to non-constedness 2014-09-12 02:21:46 +02:00
twinaphex
6a3af98df6 Style/indenting nits 2014-09-09 06:59:17 +02:00
Lioncash
6b84ccdcef Make some functions static 2014-09-06 00:10:52 -04:00
Themaister
f34b175a0f De-opaque core_info. 2014-06-17 17:28:39 +02:00
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