Commit Graph

600 Commits

Author SHA1 Message Date
Rob Loach
5a990841dc
Fix priority and timing of FPS and Fast Forward messages 2017-11-18 11:05:38 -05:00
twinaphex
bfd815985f Rename function callback 2017-11-16 12:02:25 +01:00
twinaphex
721b5f9529 Add set_mvp function callback 2017-11-15 16:51:29 +01:00
twinaphex
a5076df751 Implement set_mvp/set_coords - remove GL code from video_driver.c 2017-11-15 14:24:16 +01:00
twinaphex
619acbb5aa Start implementing video_driver_set_mvp properly 2017-11-15 14:16:06 +01:00
twinaphex
2b1481d97f Refactor set_mvp code a bit 2017-11-15 14:09:41 +01:00
twinaphex
b50a667335 Buildfixes for Win32 2017-11-14 21:45:11 +01:00
twinaphex
229841b1c4 Create video_driver_set_coords 2017-11-14 21:43:13 +01:00
twinaphex
41daddfe1c Create video_driver_set_mvp 2017-11-14 21:22:44 +01:00
twinaphex
e560adcc9f Refactor this - get rid of set_coords_fallback 2017-11-13 12:27:45 +01:00
twinaphex
ade80dbe76 Move gl_ff_matrix to gfx/video_driver.c 2017-11-13 12:15:28 +01:00
twinaphex
2aea191835 Cleanups 2017-11-13 11:34:40 +01:00
twinaphex
6b6d1ee986 Create cb_set_coords 2017-11-13 11:26:53 +01:00
twinaphex
ec123ef6ca Get rid of most of the HAVE_FBO usage 2017-11-13 06:20:30 +01:00
twinaphex
c1c9e1897c Expand conditional 2017-11-11 19:12:32 +01:00
twinaphex
9c6edaff30 Update renderchain driver for GL 2017-11-07 10:10:52 +01:00
twinaphex
f681cb455c Prepare GL renderchains 2017-11-07 07:56:18 +01:00
Brad Parker
fc856c76a8 fix race condition reading OSD message in video driver 2017-10-29 23:28:02 -04:00
Brad Parker
ee7590868a add option to remove frame count from FPS display 2017-10-13 20:35:55 -04:00
rz5
677229d541 (video driver) Style nit 2017-10-12 19:59:20 +01:00
rz5
24c1ad72ce (video driver) If we can't set flag data, do it later
Currently, there is at least one instance where video_context_driver_set_flags() is called when current_video_context.set_flags is set to NULL (see #5538). To solve this, we create 2 new global variables - one to store flag data and the other to symbolize we deferred setting flag data.
This way, the next time we do get_flags(), we first check if we have anything stored first.

Should fix #5538
2017-10-12 17:38:07 +01:00
Twinaphex
59cabfe80f Merge pull request #5454 from rz5/master
Prevent crashes caused by loading shaders in incompatible contexts
2017-10-11 17:25:25 +02:00
Alcaro
8d274f4f43 let's not include unneeded headers. 2017-10-03 00:03:55 +02:00
Alcaro
b97853a536 Rename STRING_REP_ULONG to STRING_REP_USIZE 2017-10-02 22:51:51 +02:00
twinaphex
721afe22d8 (MSVC 2010) Compile griffin.c as C 2017-10-02 22:06:32 +02:00
twinaphex
e9a072c1ce uniquely name D3D function for initing renderchain 2017-09-20 14:53:40 +02:00
r5
4a9325d01d (shaders) Avoid certain shader types when context isn't compatible.
@bparker06 to the rescue.
2017-09-18 03:46:17 +01:00
twinaphex
06a33aada8 Cleanups 2017-09-09 04:22:38 +02:00
twinaphex
30bff1ffab Cleanups 2017-09-09 04:11:46 +02:00
twinaphex
c0207e9b56 Revert "Reduce size of variables"
This reverts commit 79f1166c6e.
2017-09-09 00:20:39 +02:00
twinaphex
79f1166c6e Reduce size of variables 2017-09-08 23:44:10 +02:00
twinaphex
02ac92b91d Cleanups 2017-09-08 16:43:34 +02:00
twinaphex
c3bb76a05e Try to reduce variable sizes 2017-09-08 05:58:48 +02:00
Brad Parker
0a1b3fedc0 VC6 support (targets NT 3.51) 2017-09-06 23:03:02 -04:00
twinaphex
bde5a6dc19 Rename renderchain_driver_t to d3d_renderchain_driver_t 2017-09-05 04:21:40 +02:00
twinaphex
e1c139dda6 Buildfix 2017-09-05 00:10:24 +02:00
twinaphex
b46c4b4db5 Create d3d8_renderchain.cpp and d3d9_hlsl_renderchain.cpp 2017-09-05 00:00:17 +02:00
twinaphex
ef79711837 (MaterialUI) Hook up framebuffer opacity 2017-08-15 22:43:09 +02:00
twinaphex
0ed4b97bbc Revert "Don't hide 'Resolution' setting behind compile-time ifdefs anymore"
This reverts commit 365cfd22ee.
2017-08-13 18:05:51 +02:00
twinaphex
365cfd22ee Don't hide 'Resolution' setting behind compile-time ifdefs anymore 2017-08-09 10:33:36 +02:00
twinaphex
c7615fdf00 Add RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT 2017-08-07 18:06:03 +02:00
twinaphex
b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex
e0cc113689 Try to fix this regression https://github.com/libretro/RetroArch/issues/5060 2017-06-18 18:50:46 +02:00
twinaphex
4850af8eac Revert "Try to set use_hw_ctx in advance for Android"
This reverts commit c010c5b258.
2017-06-18 17:09:27 +02:00
twinaphex
c010c5b258 Try to set use_hw_ctx in advance for Android 2017-06-18 16:45:36 +02:00
twinaphex
c7ac70a923 Combine video_renderchain_driver.c and video_driver.c 2017-06-12 15:45:58 +02:00
Jean-André Santoni
364440813f Merge pull request #5009 from psyke83/xmbtrans
xmb: enable menu transparency support when emulation is paused (v2)
2017-06-11 21:23:24 +02:00
twinaphex
f6c2d97ed5 Don't do these constant checks 2017-06-07 03:41:36 +02:00
twinaphex
ae98ea7210 Remove unused function 2017-06-06 03:49:21 +02:00
Conn
f413b23f06 xmb: enable menu transparency support when emulation is paused (v2)
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame during driver reinit if game was loaded
                  (fixes missing menu background/paused foreground on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-06-02 02:55:59 +01:00