716 Commits

Author SHA1 Message Date
twinaphex
7ae81daba9 (GL) Style nits 2014-10-01 23:50:58 +02:00
twinaphex
43c9948087 (GL) Prevent memcpy on gl->tex_coords 2014-10-01 20:37:52 +02:00
twinaphex
7812e06479 (GL) Refactors pt. 3 2014-10-01 20:06:40 +02:00
twinaphex
52d7ac54ec (GL) Refactors pt. 2 2014-10-01 19:34:55 +02:00
twinaphex
e7e43a5c59 (GL) Refactors pt. 1 2014-10-01 18:23:02 +02:00
twinaphex
a0dabeb4ac (GL) Optimization to gl_copy_frame 2014-10-01 17:15:02 +02:00
twinaphex
d982350702 (GL) Cleanups/refactoring 2014-10-01 16:59:43 +02:00
Twinaphex
807818d4c6 (Apple) Reimplement input - get rid of g_current_input_data global
and instead initialize driver.input_data
2014-09-30 15:44:40 +02:00
twinaphex
00e605d9ba Take out MODE_MENu - and introduce g_extern.is_menu 2014-09-25 06:33:28 +02:00
twinaphex
395e2ed756 Add "Force-disable sRGB FBO" option for buggy Intel OpenGL drivers
on Windows - should hopefully fix messed up colors with it enabled (untested)
2014-09-21 05:23:51 +02:00
twinaphex
a752db392f Revert "Do life cycle state checking outside of graphics driver for"
This reverts commit 06bea05634acdb7a80bb7945dd19c8bac240df2b.
2014-09-14 07:53:18 +02:00
twinaphex
06bea05634 Do life cycle state checking outside of graphics driver for
menu display driver's 'frame' function
2014-09-14 06:02:05 +02:00
twinaphex
259d75fa6e (GLUI) Fix Savestate load/save and resume 2014-09-14 05:57:53 +02:00
Lioncash
3912b3fee4 retroarch_logger: Append the calling function name to the log message.
Makes tracing back a little easier.
2014-09-13 20:02:53 -04:00
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