Themaister
b0e014adc6
Expose currently selected shader via poke interface.
2014-05-26 18:47:49 +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
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
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
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
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
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
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
Jean-André Santoni
7dda9f0b00
Lakka menu display and icons
2014-05-08 01:12:51 +07:00
Themaister
583514ae95
Add support for GLES 3.1+.
2014-05-03 15:21:14 +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
Themaister
e9161f67fe
Avoid reading back random RGUI frames in async recording.
2014-04-27 10:40:24 +02:00
Themaister
09d7155c7a
Fix GL_DEBUG for GLES.
2014-04-21 14:46:59 +02:00
Themaister
80a12ae1d6
Don't create PBO scaler if not needed.
2014-04-19 17:27:49 +02:00
Themaister
c39d27fd8d
Add async readback to GLES3.
...
Have support for PBOs and glMapBufferRange.
2014-04-19 17:22:25 +02:00
Themaister
095718c855
Only bind shared context if necessary.
2014-04-19 16:59:26 +02:00
Themaister
1cbb47229a
Make video_shared_context an option.
...
Might be part of libretro API later if necessary. Must be discussed with
other frontend developers first.
2014-04-19 16:37:39 +02:00
Themaister
105872a42c
Add HW context support to X/EGL and KMS/EGL.
2014-04-19 16:06:25 +02:00
Themaister
f658112756
Add experimental support for separate HW contexts.
2014-04-19 15:37:00 +02:00
Themaister
f8d065eeb6
[HW render] set known blending equation.
2014-04-17 15:32:36 +02:00
Themaister
d941f70dff
Should fix build on Pi.
2014-03-15 14:16:29 +01:00
Themaister
d0302c9800
Begin adding opaque interface to gfx_context.
2014-03-09 16:50:18 +01:00
twinaphex
39c1ec4672
Pass data param to more shader functions
2014-03-07 05:51:56 +01:00
twinaphex
091ae18870
(GL) Fixup params to shader->init
2014-03-07 05:32:17 +01:00
twinaphex
ea88399281
(XDK D3D) Refactor initing code completely - make it more inline
...
with PC D3D driver
2014-03-07 05:31:24 +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
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
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
Themaister
8c9e1a5f5c
Fix some unused function warnings.
...
Clang 3.4 is more aggressive on this.
2014-01-22 16:39:39 +01:00
twinaphex
f23e41bd17
Safety checks for accessing video_poke function pointers
2014-01-08 19:42:42 +01:00
Themaister
33d50e2010
Check GL_RENDERER for ATI as well.
2014-01-08 18:09:49 +01:00
twinaphex
61218b4a66
(OSX) Get rid of unused variable warning/variable is used before it's initialized
2014-01-06 16:20:20 +01:00
Themaister
f2a8a73322
Add workaround for ATI Catalyst's lack of GL_RGB565 support.
2014-01-05 22:29:57 +01:00
Themaister
bee70f8318
Fix ifdefs regarding READ_PIXELS.
2014-01-05 22:22:15 +01:00
twinaphex
e9ce0aaaa4
(PS3) Custom aspect ratio works now
2014-01-05 18:48:09 +01:00
Themaister
9c218bcf07
Fix unpack row len with 16-bit cores on desktop.
...
Missed call to UNPACK_ROW_LENGTH :(
2014-01-03 14:42:38 +01:00