626 Commits

Author SHA1 Message Date
twinaphex
f1fa1d4879 Previously, GPU Hard Sync options would only show up if the
video driver was explicitly set to the GL driver; now, it can be
dynamically shown for more video drivers if there are going to be
more drivers supporting this feature other than GL
2018-04-23 13:42:09 +02:00
twinaphex
c4c8699ee3 Only show max swapchain images if supported by video driver and/or
context driver
2018-04-23 13:34:30 +02:00
twinaphex
eb69025ca8 Cleanups 2018-04-23 11:30:38 +02:00
twinaphex
dae0f36a20 Some cleanups 2018-04-21 15:00:35 +02:00
Brandon Wright
533f898132 Add get refresh rate context function. Implement for X11 and Wayland. 2018-04-15 17:56:12 -05:00
Brandon Wright
7a00534378 Add poke interface for get_refresh_rate. 2018-04-15 17:56:11 -05:00
Twinaphex
08a54e45f2 Get rid of a lot of implicit conversions 2018-04-09 15:56:45 +02:00
aliaspider
88d1c1fdca msvc build fix. 2018-03-25 23:11:31 +01:00
twinaphex
9b8713aebd Fix Coverity defects 2018-03-24 11:59:01 +01:00
twinaphex
4d1b4f905f Start adding OSD statistics - doesn't work yet for SDL2/SDL 2018-03-23 17:43:49 +01:00
twinaphex
696fa900a1 Refactor macro functions which were unsafe 2018-02-26 18:08:17 +01:00
twinaphex
5b79d2b942 Refactor video_shader_driver_set_parameters 2018-02-26 17:51:52 +01:00
twinaphex
1e2d8de9ca Move renderchain code to the relevant files 2018-02-16 11:24:10 +01:00
twinaphex
6738d64546 Cleanups 2018-02-11 16:45:40 +01:00
radius
e9b7c7267e fix some potential crashes when a shader is not set in config 2018-02-07 21:26:01 -05:00
radius
c64d5556c1 readd shader to config, let's use a runtime check instead of overwritting the shader preset all the time 2018-02-07 21:25:59 -05:00
twinaphex
08e61230e9 Update video_poke_interface 2018-01-30 22:29:57 +01:00
twinaphex
7dcd46a20f Get rid of HAVE_MENU ifdefs for video_driver_poke interface 2018-01-30 22:14:47 +01:00
Toad King
55334aeffd fix black frame insertion in emscripten 2018-01-20 13:01:48 -06:00
twinaphex
fb257eb21e (GL/Raspberry Pi) Should fix the regression with GL cores on
Raspberry Pi
2018-01-19 22:45:04 +01:00
radius
8007c3efd7 Disable hard sync on FF without mangling settings 2018-01-08 20:06:24 -05:00
twinaphex
82d44e9ad3 Cut down on more HAVE_MENU ifdefs 2017-12-31 18:02:14 +01:00
twinaphex
bd16fd49ab Fix ./configure --disable-rgui 2017-12-31 17:53:11 +01:00
twinaphex
cf3a010ead Remove some HAVE_MENU ifdefs 2017-12-31 17:42:07 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
48c3a50932 Move more variables 2017-12-04 13:03:14 +01:00
twinaphex
f47888aeda Move more variables to renderchain data 2017-12-04 12:50:22 +01:00
twinaphex
19ad9aa1cb Add resolve extensions callback 2017-12-04 12:43:22 +01:00
twinaphex
05ab278aca Pass chain userdata to renderchain driver 2017-12-04 11:54:30 +01:00
twinaphex
c869cc5102 Refactor GL code 2017-12-04 05:55:18 +01:00
twinaphex
c0d8a2f093 Cleanup 2017-11-16 14:01:42 +01:00
twinaphex
bfd815985f Rename function callback 2017-11-16 12:02:25 +01:00
twinaphex
619acbb5aa Start implementing video_driver_set_mvp properly 2017-11-15 14:16:06 +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
da15f9d730 Cleanups 2017-11-13 09:19:33 +01:00
twinaphex
6493b79324 Some buildfixes for CXX_BUILD 2017-11-13 09:11:09 +01:00
twinaphex
d861d2b0ae Updates 2017-11-13 09:02:22 +01:00
twinaphex
6fa5fcfa1f Add has_fbo member variable - fixes GL issues 2017-11-13 05:23:44 +01:00
twinaphex
60d96b60b5 Start adding gl1_renderchain.c 2017-11-12 17:32:18 +01:00
twinaphex
3ab26b6738 Prevent warning 2017-11-12 17:17:40 +01:00
twinaphex
5eadf021cf early return 2017-11-12 17:16:14 +01:00
twinaphex
c5292025c3 Cut down on HAVE_FBO usage and make sure gl->fbo_inited is set to
false if HAVE_FBO is not defined
2017-11-12 17:15:29 +01:00
Brad Parker
23527a82ca free VAO before the renderchain is destroyed 2017-11-11 13:55:05 -05:00
Brad Parker
69f69849be fix circular dependency of renderchain and core context init 2017-11-11 13:51:33 -05:00
twinaphex
40cfde0eba (MSVC 2010) Buildfix 2017-11-10 04:53:08 +01:00
twinaphex
faab2526c8 Create gl_bind_texture 2017-11-10 03:55:10 +01:00
twinaphex
77ac13b2e9 Buildfix 2017-11-09 01:16:35 +01:00
twinaphex
a4c9c738b8 Add init_textures_reference 2017-11-08 22:06:10 +01:00
twinaphex
4f016b2c2c Update 2017-11-08 19:31:00 +01:00