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
Tobias Jakobi
18e37b2d47
video_lima: set wrap mode to clamp for all textures we use
2014-01-28 03:02:04 +01:00
Tobias Jakobi
6ab202f25f
video_lima: whitespace fixes
2014-01-27 23:05:45 +01:00
Tobias Jakobi
9d1090b194
video_lima: remove unused and redundant variables
2014-01-27 23:03:08 +01:00
Tobias Jakobi
8f41e80c61
video_lima: align temp buffer
2014-01-26 04:43:01 +01:00
Tobias Jakobi
4b05426bbe
video_lima: add font rendering by using the temp buffer
2014-01-26 04:43:01 +01:00
Tobias Jakobi
a338d99781
video_lima: misc fixes
2014-01-26 04:43:00 +01:00
Tobias Jakobi
55fc57b846
video_lima: fix some swizzling in the fragment shader
...
Thanks to AreaScout for testing this!
2014-01-26 04:43:00 +01:00
Tobias Jakobi
9226c3c783
video_lima: adjust aspect ratio depending on frame dimensions
...
With this the emulator framebuffer is no longer stretched to the entire
screen. However it's still not entirely correct. For example the aspect
ratio value provided by the frontend is not used yet.
Also I noticed this behaviour: When using the game "Secret of Mana 2"
(unofficial english translation) on the snes9x-next core, the game
normally uses a framebuffer of dimension 256x224. But when rendering
text windows, it increases resolution to 512x224. With the current
behaviour this alters aspect ratio and let's the image "explode"
when text boxes are displayed, only to "implode" again when they close.
This should not happen! (Needs further investigation...)
2014-01-26 04:43:00 +01:00
Tobias Jakobi
7cdb08b804
Add lima video driver
...
Documentation is provided in README-lima.
2014-01-26 04:43:00 +01:00
Themaister
0b462054ea
De-hardcode input drivers in KMS-like drivers.
2014-01-24 10:23:48 +01: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
Themaister
8c9e1a5f5c
Fix some unused function warnings.
...
Clang 3.4 is more aggressive on this.
2014-01-22 16:39:39 +01:00
twinaphex
b480009604
(D3D9) Remove obsolete function d3d_font_msg now
2014-01-18 21:53:40 +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
7c1f24c861
(D3D) set_resize function bound to D3D context driver
2014-01-18 21:13:08 +01:00
twinaphex
544df55017
(D3D) check_window - check if d3d_quit has been set to true, and if so,
...
set quit pointer value to true
2014-01-18 21:07:34 +01:00
twinaphex
280b9d5406
(D3D9) Move more code to d3d9_pc context driver
2014-01-18 20:49:57 +01:00
twinaphex
ab9d4440db
(D3D) Create graphics context driver for D3D and move
...
state code over to it
2014-01-18 18:43:40 +01:00
twinaphex
ff3a157a9d
(D3D) Ifdefs for HAVE_CG (and miscellaneous)
2014-01-15 19:00:46 +01:00
Themaister
c4978651fa
Properly replace template.
...
Avoid having to assume a magic variable is present in scope.
2014-01-15 17:24:24 +01:00
twinaphex
73b23f7002
(MSVC) Fix warnings
2014-01-15 17:05:08 +01:00
twinaphex
185dc3731f
(D3D) Add HAVE_CG/_XBOX ifdefs
2014-01-15 14:14:37 +01:00
twinaphex
c966629e1b
(D3D9) Fixup HAVE_PYTHON ifdef
2014-01-11 15:47:11 +01:00
Themaister
0447c04957
Remove obsolete rpng comment.
...
It does decode all the basic formats, interleaving and stuff.
2014-01-11 12:24:54 +01:00
Themaister
f3eb9dfafe
Make RPNG compilable outside RetroArch without source hacking.
2014-01-11 12:22:51 +01:00
twinaphex
a2d713b3cb
Add rzlib to include dirs to avoid ugly ifdef for WANT_MINIZ
2014-01-10 19:46:31 +01:00
twinaphex
b34a21be83
(D3D9) quit variable must be static
2014-01-09 22:25:50 +01:00
twinaphex
5752bb1b9c
(D3D) Move implementation-specific functions to d3d9_pc.cpp
2014-01-09 21:27:53 +01:00
twinaphex
7cd149c3c6
(D3D) Build fix
2014-01-09 20:06:39 +01:00
twinaphex
51eb1d9e52
(D3D) Compatibility with Xbox 1 - WIP
2014-01-09 20:04:18 +01:00
twinaphex
feb11c525c
(D3D) Add some more ifdefs for portability purposes
2014-01-09 19:52:01 +01:00
twinaphex
c32fc07b3f
(D3D) Turned D3DVideo class into struct
2014-01-09 19:43:45 +01:00
twinaphex
eae35b9a50
(D3D) Move more functions out of D3DVideo class
2014-01-09 19:05:31 +01:00
twinaphex
e48b7e7d8a
(D3D) Refactor D3D driver
2014-01-09 18:44:25 +01:00
twinaphex
4815f25421
Start making xdk_ctx viable for both PC and console
2014-01-09 16:18:47 +01:00
twinaphex
3c16814970
(XDK) Make generate_pp more generic and more like make_d3dpp from
...
d3d9_pc.cpp
2014-01-09 14:11:08 +01:00
twinaphex
f5c94ed617
(D3D XDK) Reimplement PresentationInterval for Xbox
2014-01-09 14:00:25 +01:00
twinaphex
f374827ca2
(XDK Ctx) Set SwapEffect to 'discard' for both 360 and Xbox 1
2014-01-09 13:51:42 +01:00
twinaphex
1341b2e498
(XDK D3D) Clean up unneeded extern for Xbox 1
2014-01-09 13:41:28 +01:00
twinaphex
64474142dd
(XDK) Move xdk_d3d_generate_pp to xdk_ctx.c
2014-01-09 13:40:17 +01:00
twinaphex
5c5948b42b
(XDK D3D) Clean up XDK D3D context file
2014-01-09 13:37:23 +01:00
twinaphex
d07c3242cf
(D3D9) Some cleanups
2014-01-09 13:18:25 +01:00
Twinaphex
165698b9f2
Merge pull request #481 from libretro/dpad-map
...
Analog D-pad mapping
2014-01-08 12:01:39 -08:00
twinaphex
f23e41bd17
Safety checks for accessing video_poke function pointers
2014-01-08 19:42:42 +01:00
Themaister
33d50e2010
Check GL_RENDERER for ATI as well.
2014-01-08 18:09:49 +01:00
Themaister
f6643fe12d
Push analog dpad mode for autoconfig as well.
2014-01-08 17:47:07 +01:00