Commit Graph

1841 Commits

Author SHA1 Message Date
twinaphex
e9fb97254b (D3D9) Start isolating all Cg code and move it to render_chain_cg.h 2014-03-04 18:24:47 +01:00
twinaphex
16af303c9e (D3D9) Refactor render_chain.cpp - isolate Cg code 2014-03-04 18:19:47 +01:00
twinaphex
68a6da85b7 (Cg) Remove useless forward declaration 2014-03-04 17:13:50 +01:00
Themaister
74735e2b4d Add some more error logging in X/EGL. 2014-03-03 23:00:37 +01:00
twinaphex
3f5e3c191e (XDK) Build fixes 2014-03-02 02:18:37 +01:00
Themaister
28d1e77a36 Fix GPU screenshots with GL + threaded driver. 2014-02-26 20:42:22 +01:00
twinaphex
fcf30143b4 (PS3) Change HAVE_RGL to HAVE_GCMGL 2014-02-25 22:01:46 +01:00
twinaphex
fd7f4d45cd Move image files to gfx/image/ 2014-02-25 21:24:15 +01:00
Themaister
107c07c05d Reinit driver on composition change. 2014-02-25 19:14:22 +01:00
Tobias Jakobi
20067ed087 video_omap: plug memory leak 2014-02-24 21:12:12 +01:00
Tobias Jakobi
117a1ff64b video_lima: plug potential memory leak 2014-02-24 21:03:35 +01:00
twinaphex
f5321d69c8 (PSGL) Remove psglu.h header include 2014-02-24 17:30:08 +01:00
twinaphex
b12274f704 (PS3) Get rid of warning: Variable is used before its value is set 2014-02-23 01:56:33 +01:00
Lioncash
fb9959d338 Fix wrong usage of free in d3d9/d3d.cpp. Should be delete. 2014-02-22 17:19:47 -05:00
Toad King
ea5ecd507d [GX] fix image converters to avoid memory corruption, fixes crash on some overlays 2014-02-20 23:50:45 -05:00
Toad King
041ec45132 Merge branch 'gx-overlays'
Conflicts:
	Makefile.wii
	gx/gx_video.c
2014-02-20 19:46:43 -05:00
Toad King
02fd6dffbd [GX] overlays appear, still some bugs left 2014-02-20 17:58:06 -05:00
Toad King
e09b7fb60c build fix 2014-02-19 17:52:47 -05:00
twinaphex
71b6485bb5 (PSP) Fix warnings 2014-02-19 17:47:59 +01:00
twinaphex
603484a1da (Thread wrapper) Fix unused variable i warning 2014-02-19 16:30:28 +01:00
Toad King
518b53e21c convert images on texture_image_load for gekko 2014-02-18 18:20:23 -05:00
twinaphex
a788009e7c How nice - geom->base_width and geom->base_height are const, so
we have to put them in local copies first
2014-02-13 15:12:31 +01:00
twinaphex
535f130891 Prevent division by zero in gfx_set_viewport 2014-02-13 15:10:01 +01:00
Hans-Kristian Arntzen
2ab94ad8d1 [Android]: Use ALPHA_SIZE 8.
Avoids weird 24-bit surfaces ...
2014-02-13 12:04:08 +01:00
twinaphex
94d70b6aba (PSP) Hack - Get around FPU exception - division by zero 2014-02-13 11:38:41 +01:00
Hans-Kristian Arntzen
6a6f56a82e Do not reply on CMD_NONE.
Avoids potential deadlock.
2014-02-13 11:20:18 +01:00
Hans-Kristian Arntzen
b1a3b94594 Fix command-line for glgen. 2014-02-12 19:05:29 +01:00
Themaister
bf1a95459c Remove weird backslash. 2014-02-12 18:55:40 +01:00
Themaister
c85b5b9b27 Add glsym README. 2014-02-12 18:54:57 +01:00
twinaphex
7a67e05a66 (glsym_gl.h) Update GLuint64EXT in glsym_gl.h too (BTW - where
is the README explaining how to generate files with glgen.py?)
2014-02-12 18:29:03 +01:00
twinaphex
620bf49081 (OSX) Add GLuint64EXT for OSX version lower than 10.7 (Lion) 2014-02-12 18:21:35 +01:00
Twinaphex
ad68ce4c91 Merge pull request #545 from libretro/glgen-update
Update glgen_gl.c/h.
2014-02-12 17:59:01 +01:00
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