Themaister
ef54422379
Avoid temporary garbage data in alpha mod.
2014-02-12 15:53:04 +01:00
Themaister
833259de93
Greatly improve performance with normalized overlays and threaded video.
...
SET_ALPHA_MOD would previously block on frame completion which only made
sense for non-normalized overlays.
This should also hopefully fix the ANR hang on Android.
2014-02-12 15:40:54 +01:00
Themaister
150ee8d8c2
Update glgen_gl.c/h.
2014-02-11 20:53:46 +01:00
twinaphex
b370d3f048
Stub function of null_gfx_restart when HAVE_MENU is defined
2014-02-11 17:10:13 +01:00
twinaphex
d4f9c211ee
(PSP) Build fixes
2014-02-11 16:10:40 +01:00
twinaphex
de0d0626f6
Include boolean.h instead of stdbool.h
2014-02-11 07:49:15 +01:00
twinaphex
c42a00a39f
(OSX PPC) Change anonymous unions, define GLint64/GLuint64/GLsync
...
for Leopard and Snow Leopard, other changes..
2014-02-11 16:07:00 +11:00
Tobias Jakobi
f3f50daeb4
video_lima: use posix_memalign to request aligned memory
...
aligned_alloc is deprecated
2014-02-10 14:58:55 +01:00
Tobias Jakobi
3005501184
video_lima: fix some warnings
2014-02-10 14:58:55 +01:00
Tobias Jakobi
605d4f3954
video_lima: slight reduction of font texture size
2014-02-10 14:58:54 +01:00
Tobias Jakobi
72009fe3d7
video_lima: use general align function
...
introduce in preparation to texture upload optimization
2014-02-10 14:58:54 +01:00
OV2
43b209a5c0
D3D9: use new during init so that constructors are run
2014-02-08 19:56:02 +01:00
Themaister
94a0cef1d4
Fix libretro GL core screenshots.
2014-02-06 23:37:06 +01:00
Themaister
8120198ed8
Make C++ compiler happy.
2014-02-06 22:52:48 +01:00
Themaister
032ba14d3b
Properly implement GPU screenshot for GLES.
...
Have to use GL_RGBA/GL_UNSIGNED_BYTE as well as reading from back buffer
only.
2014-02-06 21:35:57 +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
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