2075 Commits

Author SHA1 Message Date
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
Themaister
ef2037abe8 Remove float FBO for GLES.
The extension doesn't work as a rendertarget anyways.
2014-05-09 16:38:56 +02:00
Twinaphex
b136ce5004 Merge pull request #675 from lakkatv/lakka-integration
Lakka integration
2014-05-09 16:31:54 +02:00
twinaphex
4b543e83fb (2xBR) Fix warning on PS3 2014-05-09 16:28:43 +02:00
Jean-André Santoni
22a5e07ead Merge branch 'master' of https://github.com/libretro/RetroArch 2014-05-09 16:24:36 +02:00
twinaphex
9773d001a4 (SoftFilters) Update 2xbr/2xsai/blargg_ntsc_snes_composite/blargg_ntsc_snes_rgb 2014-05-09 16:18:08 +02:00
Twinaphex
4d46c36917 (360) Build fix 2014-05-08 20:56:55 -07:00
twinaphex
c35c1fdb74 (shader_common.c) Style nits 2014-05-09 04:54:54 +02:00
twinaphex
d7f50bdeac (PS3) Missed semicolon 2014-05-08 22:40:00 +02:00
twinaphex
d7a273feb0 (PSGL) Force mipmap to false for now for PSGL 2014-05-08 22:27:58 +02:00
twinaphex
7bba107415 (shader_common.c) Some build fixes for PS3 2014-05-08 21:50:49 +02:00
twinaphex
853179a2fb Add inclusion of gfx/shader_common.c to other Makefiles 2014-05-08 21:49:18 +02:00
TroggleMonkey
61ba7afc1c Merge branch 'improve_texturing':
OpenGL mipmap support for LUT textures is ready for upstream inclusion.
2014-05-08 15:12:28 -04: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
41e526a163 Split up rglgen header includes to separate header file 2014-05-08 03:30:43 +02:00
Jean-André Santoni
7dda9f0b00 Lakka menu display and icons 2014-05-08 01:12:51 +07:00
Alcaro
edff8b2c10 Fix rgb565 mode on this thing. 2014-05-03 18:17:35 +02:00
Themaister
583514ae95 Add support for GLES 3.1+. 2014-05-03 15:21:14 +02:00
Themaister
f6a578ce4e Fix issues with nVidia EGL implementation. 2014-05-03 14:48:12 +02:00
twinaphex
cb53d65fc3 Compile with HAVE_BUILTIN_FILTERS for Android - and some C90 build
fixes for filters. Note/FIXME: We need to get rid of the complex.h
dependency in the equalizer plugin
2014-05-03 04:59:35 +02:00
twinaphex
3b6f408a41 (SoftFilters) Add Phosphor2x 2014-05-03 02:26:04 +02:00
twinaphex
08965cfa0d Change HAVE_FFMPEG ifdefs into HAVE_RECORD - recording will get
a proper interface soon so there can be multiple implementations
instead of just ffmpeg
2014-05-03 00:21:07 +02:00
twinaphex
d56f1e0104 (SoftFilters) Add LQ2x 2014-05-02 21:09:59 +02:00
twinaphex
6fd54d9659 Split up softfilter struct definitions into separate header file -
so as to make it not part of the softfilter API header
2014-05-02 19:12:56 +02:00
twinaphex
61d2b49a1d (SoftFilters) Blargg NTSC - don't use restrict keyword 2014-05-02 00:22:01 +02:00
twinaphex
01ceaa9d27 (Griffin) Bake in Blargg NTSC NES/SNES filters into Griffin now.
All console ports should have them now
2014-05-01 06:09:06 +02:00
twinaphex
3107c9adb5 (SoftFilters) Uniquely name all variables and put header guards around
snes_ntsc.c (this will be needed for later static linking inside
Griffin)
2014-05-01 06:01:43 +02:00
twinaphex
b40b9e55d2 (SoftFilters) Added Blargg NTSC NES/SNES RF/RGB/Svideo as well 2014-05-01 05:43:38 +02:00
twinaphex
5e317202e1 (Filter) Blargg NTSC SNES composite should now be fixed - RGB565 only
right now
2014-05-01 05:27:49 +02:00
twinaphex
068e2927aa (SotFilters) outpitch was pre-shifted in render function for 32bpp
- set rgb565 equivalent to 16bpp shift
2014-05-01 05:22:17 +02:00
twinaphex
7959a85311 (SoftFilters) (Currently broken) blargg NTSC SNES adaptation - needs
first and last line bits properly implemented
2014-05-01 05:05:03 +02:00
Themaister
795503f108 Just define EGL_OPENGL_ES3_BIT_KHR instead. 2014-04-30 10:01:32 +02:00
Themaister
75077fa553 Should fix build with outdated EGL headers. 2014-04-30 09:27:49 +02:00
twinaphex
91294d71fe (SDL gfx driver) Some cleanups 2014-04-30 04:04:59 +02:00
twinaphex
ba46770f3c Rework frontend.c and make it possible to compile without HAVE_MENU
defined again
2014-04-30 04:00:39 +02:00
twinaphex
f9cff5b00d Move extern references to built-in filters to driver.h 2014-04-30 02:38:13 +02:00
twinaphex
cdc60da07f (DSP Filters) Add code for HAVE_BUILTIN_FILTERS 2014-04-29 21:56:50 +02:00
twinaphex
4a119d9d94 (SoftFilters) More of aforementioned 2014-04-29 00:41:29 +02:00
twinaphex
d0a8fdc0bc (SoftFilters) Add some more safety checks before executing certain function pointers 2014-04-29 00:36:52 +02:00
twinaphex
931d54df1d (SoftFilters) Rewrite softfilter_get_implementation_from_idx - should be more
easily maintainable now without ugly switch
2014-04-28 22:38:05 +02:00