twinaphex
5435883e40
Get rid of gfx_filter_type which is being problematic
2014-08-17 19:02:03 +02:00
Themaister
76292f873a
De-opaque shader_parse.
2014-06-17 16:41:06 +02:00
twinaphex
6ae820eea8
(360) Build fixes - due to same 'cannot convert parameter 1 from
...
'void *' to 'gfx_shader *'
2014-06-01 02:38:01 +02:00
twinaphex
d63a23dd06
Header changes
2014-05-31 21:23:53 +02:00
twinaphex
9da9cafd3b
remove extraneous header include in gfx/shader_parse.h
2014-05-31 21:19:28 +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
dab36b5870
Support aliased pass names from CGP/GLSLP.
2014-05-26 18:47:49 +02:00
Themaister
4722b6af75
Experiment with shader parameters.
2014-05-26 18:47:48 +02:00
Themaister
25e56d8db0
Kill support for XML shaders.
...
Long overdue ...
2014-05-25 17:16:45 +02:00
Themaister
7559ca12ef
Refactor sRGB FBO handling a bit.
2014-05-11 19:35:54 +02:00
Themaister
bc8bb13050
Add mipmapping and sRGB FBO support.
2014-05-11 13:39:04 +02:00
TroggleMonkey
c15d188ecf
Refactored duplicate Cg/GLSL LUT texture loading code into shader_common.c.
...
Fixed a bug where "Apply Shader Changes" in RGUI saved/set the wrong
texture filter for LUT textures.
Unofficially extended Cg shader spec with an LUT mipmap option:
To mipmap LUT "foo," add 'foo_mipmap = "true"' to your .cgp/.glslp file.
Mipmapping is currently implemented for the OpenGL driver only.
2014-05-08 13:41:04 -04:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
Lioncash
fac2783a09
Optimize some struct sizes.
...
This is the list of reduced sizes:
file: dsound.c - struct dsound_t reduced from 56 bytes to 52 bytes.
file: shader_parse.h - struct gfx_fbo_scale reduced from 32 bytes to 28 bytes.
file: thread_wrapper.c - struct texture reduced from 28 bytes to 24 bytes.
file: libretro.h - struct retro_hw_render_callback reduced from 40 bytes to 36 bytes.
file: movie.c - struct bsv_movie reduced from 36 bytes to 32 bytes.
file: netplay.c - struct delta_frame reduced from 16 bytes to 12 bytes.
file: performance.h - struct rarch_perf_counter_t reduced from 40 bytes to 32 bytes.
2013-11-03 23:57:41 -05:00
Themaister
551fd27204
Add support for wrapping modes.
...
Not terribly useful atm due to POT, but at least it's there.
Has some use mostly with LUTs ... NPOT + REPEAT requires extension on
GLES2 at least.
2013-08-16 00:30:54 +02:00
Themaister
2c8ddeb109
Add gfx_shader_resolve_relative.
...
Translates relative paths (from CGP) into absolute paths,
suitable for loading files, and saving cgp some place else.
2013-04-15 23:48:25 +02:00
Themaister
50c184042e
Rewrite XML shader loading.
...
Use gfx_shader abstraction.
2013-04-07 12:41:05 +02:00
twinaphex
229891db59
(360) Build fix
2013-04-07 03:00:08 +02:00
Themaister
0c0a9b4ddb
Fix Win32 build.
2013-04-07 02:02:41 +02:00
Themaister
4a8b3599bc
Refactor out cg_shader_path, xml_shader_path.
...
Make shader paths uniform in shader_path.
2013-04-07 01:46:06 +02:00
Themaister
bd550ce53c
Remove glsl in shader_parse.
...
It'll be done slightly different later.
2013-04-06 14:10:09 +02:00
Themaister
e649db253c
Reintroduce CGP refactor.
...
Fix several issues that caused crashes.
2013-04-06 12:00:10 +02:00
twinaphex
0340f2043c
Revert "Major refactor to CGP parsing."
...
This reverts commit 211e17250c5a786861373cd8d4d9e7ba1780ee8b.
2013-04-06 04:37:17 +02:00
Themaister
211e17250c
Major refactor to CGP parsing.
...
Adds saving functionality for CGPs.
2013-04-01 15:34:02 +02:00