Commit Graph

2064 Commits

Author SHA1 Message Date
twinaphex
5da884036e (PS3) Starts to somewhat get back to booting - still a lot of
breakage to go through
2014-05-27 21:38:30 +02:00
Twinaphex
a56d57c615 Merge pull request #706 from libretro/shader-parameter
Shader parameter
2014-05-27 16:28:06 +02:00
twinaphex
3655d9e2aa (SDL) Add note for image_sdl.c 2014-05-27 04:53:12 +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
ca2715841b Fix Win32 build. 2014-05-26 18:52:35 +02:00
Themaister
b0ad6674f4 Rebase fix. 2014-05-26 18:49:06 +02:00
Themaister
ca3d4416d3 Can save parameters. Can tweak on RGUI presets and current shader. 2014-05-26 18:48:29 +02:00
Themaister
b38c30b368 Can tweak shader parameters from RGUI.
Just need to figure out how to handle parameter saving now.
2014-05-26 18:47:49 +02:00
Themaister
b88c678213 Don't make Cg argv static. 2014-05-26 18:47:49 +02:00
Themaister
d304907e7f Set up shader defines for aliases. 2014-05-26 18:47:49 +02:00
Themaister
dab36b5870 Support aliased pass names from CGP/GLSLP. 2014-05-26 18:47:49 +02:00
Themaister
b0e014adc6 Expose currently selected shader via poke interface. 2014-05-26 18:47:49 +02:00
Themaister
83b37812b8 Set parameter uniforms. 2014-05-26 18:47:48 +02:00
Themaister
5c3e2f9e0a Parse params from cgp. 2014-05-26 18:47:48 +02:00
Themaister
4722b6af75 Experiment with shader parameters. 2014-05-26 18:47:48 +02:00
Themaister
c7eee695ce Remove references to XML shaders. 2014-05-25 23:40:14 +02:00
Themaister
25e56d8db0 Kill support for XML shaders.
Long overdue ...
2014-05-25 17:16:45 +02:00
twinaphex
b162329eab (GL) Hoist some more identical lines out of if (stencil) else block 2014-05-22 21:26:57 +02:00
twinaphex
669f59d864 (GL) Take identical line out of if-else blocks 2014-05-22 21:24:38 +02:00
twinaphex
d636d4a10a (GL) Add RARCH_GL_MAX_RENDERBUFFER_SIZE 2014-05-22 21:00:17 +02:00
twinaphex
194f90f3f9 (GL) Add custom versions of RARCH_GL_DEPTH_ATTACHMENT and RARCH_GL_STENCIL_ATTACHMENT 2014-05-22 20:58:32 +02:00
twinaphex
7378f21a36 (OSX PPC) Add _EXT versions of GL_RENDERBUFFER and GL_DEPTH24_STENCIL8 2014-05-22 20:45:41 +02:00
twinaphex
9fd55c301c (GL) Define RARCH_GL_RENDERBUFFER and RARCH_GL_DEPTH24_STENCIL8 2014-05-22 20:44:33 +02:00
twinaphex
2eea12e17e COLOR_ATTACHMENT_0 and GL_FRAMEBUFFER_COMPLETE are defined differently
for PSGL and OSX PPC as well
2014-05-22 20:32:51 +02:00
twinaphex
6c87c2494c (OSX PPC) Add OSX PPC define 2014-05-22 20:30:21 +02:00
twinaphex
9cbdb708c9 (GL) Turn GL_FRAMEBUFFER into manual define (PSGL needs different
define, so does Mac PPC)
2014-05-22 20:23:02 +02:00
twinaphex
07e567990d (Gfx filter) Fix warning 2014-05-21 18:23:28 +02:00
Themaister
b02b6a1d62 Pass correct width to SNES_NTSC_OUT_WIDTH. 2014-05-20 22:28:14 +02:00
twinaphex
216a3e4ea7 (QNX) Change __BLACKBERRY_QNX__ define to __QNX__ 2014-05-20 02:48:11 +02:00
twinaphex
d62164c4ae (BB10) Build fixes
(General) Fix some unused variable warnings
2014-05-17 22:16:25 +02:00
twinaphex
3e667a8c07 (Playbook) Fix build 2014-05-17 14:36:15 +02:00
Themaister
96c324da08 Avoid needless branch. 2014-05-16 18:11:47 +02:00
Themaister
59c64f9c5a Fix off-by-one error with PASSPREV.
Fix include bug in cg2glsl.py.
2014-05-16 16:17:02 +02:00
Twinaphex
3879f1214d (image_rpng.c) Fix warning 2014-05-13 09:43:02 -07:00
twinaphex
f8e40f613b (Input) Move console input drivers to input/ directory - should start getting rid of
all these platform-specific folders cluttering up the codebase tree
(GL) Build fix for PS3 - current MiniGL implementation doesn't support SRGB
(Griffin) shader_common only baked in if HAVE_SHADERS defined
2014-05-13 17:01:27 +02:00
Themaister
38c0777b3c Fix indent. 2014-05-11 22:33:34 +02:00
twinaphex
d9e31151ed (Lakka/GL) Take out HAVE_LAKKA hack in gl.c - animations/tweening needs to
be fixed though
2014-05-11 20:47:44 +02:00
Themaister
6d99bb2e2a Fix fullscreen swapping with cached context cores. 2014-05-11 20:10:17 +02:00
Themaister
7559ca12ef Refactor sRGB FBO handling a bit. 2014-05-11 19:35:54 +02:00
Themaister
9d8654cfe2 Nits. 2014-05-11 19:02:01 +02:00
TroggleMonkey
48331e822a Give sRGB FBO's priority over float FBO's:
Both pass through linear RGB similarly, but sRGB should be faster.
If both are enabled, the .cgp author won't need float32-only features like
packing multiple values.  This also makes testing/usage priority the same.
Add sRGB FBO logging to mirror float FBO logging.
Make LUT mipmapping consistent with FBO's (ignore it for magnification.)
2014-05-11 11:53:09 -04:00
Themaister
a0da1f040f Check GLES with GL_FRAMEBUFFER_SRGB. 2014-05-11 14:57:35 +02:00
Themaister
bc8bb13050 Add mipmapping and sRGB FBO support. 2014-05-11 13:39:04 +02:00
Themaister
91a0073f7d Image backends don't have state.
Remove unneeded prototypes.
2014-05-11 11:22:09 +02:00
twinaphex
88d9aae9a2 (RARCH_CONSOLE) Build fix 2014-05-10 20:40:11 +02:00
Twinaphex
9cce8fa07b (MSVC 2010) Build fix 2014-05-10 11:35:51 -07:00
twinaphex
b2b5c6daec (Image) Put image functions through abstract interface
(Image) Add image_driver to retroarch.cfg to specify image driver to use
(Menu)  Add Image Driver to Drivers section
2014-05-10 20:26:58 +02:00
twinaphex
05a3b4e4b7 (RARCH_CONSOLE) Fix redefinition warnings/errors to do with
softfilters
2014-05-10 03:03:01 +02:00
twinaphex
e037e2555e (SoftFilters) Reimplement all filters - take out softfilter_prototypes
header file
2014-05-10 02:12:00 +02:00
twinaphex
0d2752a276 Add driver.menu-ctx->frame triggering inside gl_frame function -
Lakka GL iteration should be invoked here instead of the ifdef.

Currently delta animation goes way too slow if 'frame' function of
lakka driver is hooked up properly - hence the #LAKKA hack is still
in place.
2014-05-09 22:44:40 +02:00