Lioncash
085a74d33f
gl: Silence a possible null dereference warning
2014-09-12 22:41:30 -04:00
Lioncash
64272ef327
Squash some more potential null pointer dereferences
2014-09-11 23:04:02 -04:00
twinaphex
75d2e13dcb
Make drivers non-const
2014-09-11 07:06:20 +02:00
twinaphex
09668a06a0
Begin implementing every function in video/audio/input driver
...
interfaces so we don't have to do lookups everywhere before
calling them
2014-09-09 06:07:11 +02:00
Lioncash
7b98632b18
gl: Remove dead code
2014-09-08 19:47:47 -04:00
Mike Robinson
d7cd930d40
Avoid flicker during BFI and slow-motion or pause
2014-08-31 11:05:09 +01:00
Mike Robinson
3f8f4a85ee
Show image frame before BFI black frame
...
Image frame should be shown as soon as possible to minimize display
latency.
2014-08-28 17:57:02 +01:00
Mike Robinson
8c79dc972c
Disable BFI during fast foward
...
Fast forward causes ugly flicker when BFI is enabled.
2014-08-27 22:40:19 +01:00
twinaphex
8f0509fa29
(GL) Fix build in case HAVE_FBO is not defined
2014-08-25 01:39:48 +02:00
twinaphex
fcbbf08109
(Recording) Bake in HAVE_RECORD implicitly
2014-08-12 05:28:43 +02:00
twinaphex
78fcd416e7
Take out input_overlay_enable
2014-07-25 18:57:07 +02:00
Themaister
20f37f20e8
De-opaque gl.c.
2014-06-17 17:08:46 +02:00
Themaister
53bc4c08ed
Check recording based on g_extern.rec and not g_extern.recording.
...
Fixes some segfaults where g_extern.recording and g_extern.rec mismatch.
Makes it possible to record without loading content directly from CLI.
2014-06-16 15:50:53 +02:00
Themaister
1e4266f9f8
Fix unused variable warnings.
2014-06-13 18:00:42 +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
5532babfd6
(Overlays) Add explicit overlay_enable option
2014-06-12 22:15:32 +02:00
twinaphex
a7cb3e22a7
(Menu) Replace some more RGUI strings
2014-06-10 02:44:19 +02:00
twinaphex
4a4822e187
(Menu) Replace more rgui_ references to menu_
2014-06-10 02:15:29 +02:00
Themaister
d129ff3d13
Make font rendering more robust.
...
Dynamically sized buffers, etc.
2014-06-08 14:08:26 +02:00
Themaister
54c7521bf8
Drop useless win_width/height arguments to font init.
2014-06-08 14:08:26 +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
Themaister
2094e8fb2f
Auto-enable some extensions if GLES3.
2014-06-05 15:17:29 +02:00
TroggleMonkey
7bc8d79cb1
Give float FBO's priority over sRGB FBO's (half-undo commit 48331e82).
...
sRGB FBO's should be a fallback when both are set to true: sRGB FBO's avoid
banding, but float FBO's also avoid clipping. Users wanting to avoid both
might prefer float FBO's, but they're not supported on as many platforms,
so sRGB FBO's are the next best thing. Also make errors more specific and
indent nearby #ifdef/#endif pairs to make them easier to match visually.
2014-05-31 00:55:08 -04:00
twinaphex
6307202a6d
(Menu) render_messagebox/render/frame functions from menu_ctx no longer
...
get a rgui handle passed to them
2014-05-30 21:51:12 +02:00
twinaphex
c020f362b6
Remove hacky restart function in video interface
2014-05-30 17:57:21 +02:00
Themaister
01e0fac94f
Return gl->quitting.
...
Quit state might be set just once depending on the context driver.
2014-05-29 10:33:17 +02:00
twinaphex
125a4e3c43
(PS3 Cg) Fixed crash at game start - Cg state was never properly
...
deinited for PS3 before and we relied on a very dirty hack to set
CgContext to NULL - we can get rid of all that crap now.
PS3 build is now 'fixed' - only thing remaining is that we should
have a mechanism inside the menu to 'reinit' any graphics assets that
were previously set before we lost the state (for instance - RMenu
has one texture image it loads at init_assets time).
2014-05-29 01:36:41 +02:00
twinaphex
4d7a1bd21f
(GL) Make driver more resilient in case gl is NULL
2014-05-29 00:43:47 +02:00
twinaphex
5b59b7e267
(GL) Less chance of segfaults if gl is NULL
2014-05-29 00:30:48 +02:00
twinaphex
b683feb389
(RARCH_CONSOLE) More cleanups to PS3 input/graphics drivers - don't do
...
early exit out of graphics/input free functions and ditto for init
function
2014-05-28 23:32:14 +02:00
twinaphex
e1387a7b0b
Take out image driver
2014-05-28 21:14:33 +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
0ea15de950
(GL) Force fp_fbo to false for PS3 for now
2014-05-27 21:55:54 +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
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