Commit Graph

185 Commits

Author SHA1 Message Date
twinaphex
fcbbf08109 (Recording) Bake in HAVE_RECORD implicitly 2014-08-12 05:28:43 +02:00
Themaister
20f37f20e8 De-opaque gl.c. 2014-06-17 17:08:46 +02:00
Themaister
02f2129dd8 Optimize overlay rendering a bit.
Dump all overlay vertex data into one VBO.
2014-06-13 17:47:32 +02:00
twinaphex
4a4822e187 (Menu) Replace more rgui_ references to menu_ 2014-06-10 02:15:29 +02:00
Themaister
e545d695ec Begin big rewrite of GL/raster font rendering path. 2014-06-08 14:08:26 +02:00
Themaister
ba40be9099 Use correct arguments if sRGB and GLES3. 2014-06-05 17:41:10 +02:00
twinaphex
961c1189fd (PSGL) More PSGL ifdefs 2014-05-27 22:27:16 +02:00
twinaphex
c5f43963c0 (PS3) Add raw PSGL ifdefs 2014-05-27 22:15:25 +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
Themaister
bc8bb13050 Add mipmapping and sRGB FBO support. 2014-05-11 13:39: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
Themaister
e9161f67fe Avoid reading back random RGUI frames in async recording. 2014-04-27 10:40:24 +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
f658112756 Add experimental support for separate HW contexts. 2014-04-19 15:37:00 +02:00
Themaister
d0302c9800 Begin adding opaque interface to gfx_context. 2014-03-09 16:50:18 +01:00
twinaphex
fcf30143b4 (PS3) Change HAVE_RGL to HAVE_GCMGL 2014-02-25 22:01:46 +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
twinaphex
e9ce0aaaa4 (PS3) Custom aspect ratio works now 2014-01-05 18:48:09 +01:00
Themaister
08ba1ad14e Use GL_RGB565 internal format when available.
This is a feature from ES2_compat extension.
It fixes the speed issue associated with using 16-bit textures on
desktop GL. Improves performance a bit as well as there's less bandwidth
usage during shading.

On my HD3000 laptop, performance improved with ~10%.
2014-01-01 21:58:02 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
Themaister
46c3dd6d20 Clean up float FBO handling a bit.
Fallback to UNORM if not supported.
2013-12-04 12:55:51 +01:00
twinaphex
f8c37fc933 (Menu) Simplify menu preprocessor conditionals - there is now
one common catch-all define called HAVE_MENU
2013-11-08 04:36:47 +01:00
twinaphex
bef038e73e (RGL PS3) Optimizations for glBufferSubData 2013-11-02 14:44:13 +01:00
twinaphex
3e914f42b3 (RGL PS3) Optimizations 2013-11-02 03:03:48 +01:00
twinaphex
aaa8fc1f37 (GLES2 GL) Query GL_EXT_unpack_subimage and if it's there, use it -
Tegra 4 should support it etc.
2013-10-29 23:21:15 +01:00
Themaister
76c92bb0b4 Rework overlay driver interface.
Takes multiple images, each with individual positions, textures, etc.
2013-10-15 16:06:59 +02:00
twinaphex
48c042d56c (360) More build fixes 2013-09-29 18:04:56 +02:00
ToadKing
be08d003c9 [GL] fix OSD messages breaking if one was too long 2013-08-22 23:21:52 -04: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
c19bdc7c2c Kill some stale code. 2013-08-11 01:24:48 +02:00
Themaister
2b28050c15 Build fixups. 2013-08-11 01:16:08 +02:00
Themaister
6b4924c844 Be more conservative about texture memory usage. 2013-08-11 00:56:53 +02:00
Themaister
e44249b73f Use glsym symbol loader instead of ugly poking. 2013-08-11 00:54:27 +02:00
Themaister
6df083fc0f Add support for bottom-left origin in libretro GL. 2013-08-11 00:53:46 +02:00
Themaister
e28f5d7cc1 Fix incompatibilities with GL core. 2013-08-11 00:50:38 +02:00
Themaister
b9fce188ea Initial work on core GL context support. 2013-08-11 00:50:04 +02:00
twinaphex
627c30b10c Take out GRIFFIN macro hacks 2013-07-18 19:54:00 +02:00
Themaister
43a6346d26 Adds video_hard_sync_frames.
Allows to control the maximum amount of frames that can be queued on
GPU.
2013-05-26 13:43:24 +02:00
Themaister
18fd41f77e Avoid Pi hack.
Derp. Was configured to low GPU RAM split ...
2013-05-18 22:10:29 +01:00
Themaister
f61cc333e9 Be more explicit about FBO formats.
GLES doesn't support 32-bit FBOs.
They seem to only be exposed via OES_rgb8_rgba8 and ARM_rgba8
extensions.
2013-05-18 21:53:26 +02:00
Themaister
9406b0a771 More explicit logging of FBO errors. 2013-05-18 16:51:10 +01:00
Themaister
f5d4008018 Check g_settings.video.hard_sync per frame.
Don't use hard_sync default in RGUI.
2013-05-04 22:49:06 +02:00
Themaister
741ed2cc03 Add experimental video_hard_sync. 2013-05-03 14:04:29 +02:00