Commit Graph

57 Commits

Author SHA1 Message Date
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
b96e0bb820 Remove stub update_title functions 2017-01-19 01:58:44 +01:00
twinaphex
34da27c36b Don't need 'frame_count' variable for check_window 2017-01-18 21:47:12 +01:00
twinaphex
a6a4808e94 Refactor frame monitor code 2017-01-18 17:41:27 +01:00
twinaphex
4bae3032dd (X context) Fix CXX_BUILD and C89_BUILD 2017-01-17 14:51:24 +01:00
twinaphex
666534cc74 Grab settings pointer only once inside wrapper 'input_driver' function 2017-01-16 00:14:10 +01:00
twinaphex
4230662572 (X context) Use better swap control method if GLX_OML_sync_control
and GLX_MESA_swap_control are supported
2017-01-14 12:24:56 +01:00
twinaphex
23017e0b45 Cleanups 2017-01-13 16:57:57 +01:00
twinaphex
1fa3475d79 Add parameter to video_context_driver's 'init' function 2017-01-13 16:52:07 +01:00
twinaphex
7d0056d422 Minimize dependence on settings struct from within context drivers 2017-01-11 06:44:41 +01:00
twinaphex
80f79130c0 Update set_video_mode context driver callback function 2017-01-11 06:35:50 +01:00
twinaphex
8bd12368ef Pass joypad_driver name to input_driver_init function and make
sure we don't need to access the settings struct from the
input driver
2017-01-10 17:59:48 +01:00
twinaphex
c086a18ceb video_driver_frame_filter no longer needs to grab pointer to
settings
2017-01-09 15:46:40 +01:00
twinaphex
35fefb1c09 Do away with yet more pointer grabbing of settings 2017-01-09 15:14:16 +01:00
twinaphex
6b3cc9068d Pass video_info to swap_buffers too 2017-01-09 14:59:15 +01:00
twinaphex
3d92ce140e Pass video_frame_info_t to update_window_title 2017-01-09 14:42:07 +01:00
twinaphex
7ec6dc0bde (x_ctx.c) Cleanup 2017-01-04 09:44:08 +01:00
twinaphex
a5d4032d01 (X11) Cleanups 2016-12-15 12:37:14 +01:00
twinaphex
d4809d310a Fix for previous bugged Xorg GL drivers 2016-11-03 13:25:44 +01:00
Brad Parker
d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex
c3ab8800f4 Prevent implicit memsets 2016-10-21 05:57:40 +02:00
Higor Eurípedes
6f2cb9742d (font) Create font_data_t and update font_driver_init_first() 2016-10-18 20:07:00 -03:00
twinaphex
3b1cf79c63 (X contexts) Cleanups 2016-10-08 14:37:26 +02:00
twinaphex
f698e0cfac Add GL_CAPS_GLES3_SUPPORTED 2016-10-08 14:11:12 +02:00
twinaphex
1f99df6740 (GLX) Start adding hooks for MSAA 2016-10-08 14:00:06 +02:00
twinaphex
601aba72ea Start adding GLX_SAMPLE_BUFFERS/GLX_SAMPLES to X context 2016-10-08 10:05:58 +02:00
twinaphex
91b1889873 (X11) Mouse input is no longer registered when we are on the
titlebar of the window or we are no longer inside the window
2016-10-03 06:50:00 +02:00
twinaphex
6d7602d47f Fix C89_BUILD 2016-09-11 16:43:28 +02:00
twinaphex
51b0e61712 Cleanups 2016-09-11 16:24:02 +02:00
twinaphex
6f47289ba6 Start adding HAVE_CONFIG_H to gfx/drivers_context 2016-09-06 19:39:02 +02:00
twinaphex
b7fd9bef60 Add configuration.h 2016-09-01 17:34:24 +02:00
twinaphex
12cfb3bfce Rewrite gfx_ctx_x_make_current a bit and turn it into a
static function
2016-08-31 15:24:56 +02:00
twinaphex
aa15fb3f91 Update remaining video context drivers 2016-08-31 15:02:07 +02:00
Brad Parker
2afd72252c make GLX context current when creating font textures with threaded video 2016-08-31 01:33:35 -04:00
twinaphex
76cc6fd8ec Start implementing signal handler code once in frontend driver code 2016-07-08 02:38:33 +02:00
twinaphex
3c7dc0a62e Try to silence more Coverity warnings 2016-06-29 12:13:40 +02:00
twinaphex
5eb43846da Prevent explicit NULL dereferenced warnings 2016-06-01 04:14:48 +02:00
Lionel Flandrin
b7d5c1d3e8 potential fix for AMD and GL core contexts 2016-05-20 20:12:41 +02:00
twinaphex
5845a9944d Add more HAVE_THREADS ifdefs 2016-05-11 19:02:43 +02:00
Torsten Paul
1979ea52d2 Suppress screensaver only if requested by user settings. 2016-05-08 19:22:45 +02:00
Hans-Kristian Arntzen
d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
Torsten Paul
ccb224043b Initialize window name at window creation time (fixes #1521).
The protocol error reported in #1521 is caused by two different issues.
First xdg-screensaver fails to parse decimal values for the window id
(https://bugzilla.redhat.com/show_bug.cgi?id=1274931). Using the hex
notation fixes this part.

Second, the script reads the WM_NAME property from the window which is
not yet available at this time. Calling x11_update_window_title() early
ensures the property is set when xdg-screensaver is run.
2016-05-06 00:17:47 +02:00
twinaphex
60233d1abb Add set_flags to context driver 2016-05-05 17:35:28 +02:00
twinaphex
400f50ddac Comment this out for now until we fundamentally fix it 2016-05-05 05:58:40 +02:00
twinaphex
8136683ffc (context drivers) Start exposing core GL flag 2016-05-05 05:46:00 +02:00
twinaphex
a0425dfb14 (Context drivers) Add get_flags function 2016-05-05 05:35:35 +02:00
Alcaro
f8c31dd56a No point checking this twice. 2016-03-18 17:19:30 +01:00
Alcaro
ba90c4afaf Fix some use-after-free holes. 2016-03-18 17:18:45 +01:00
twinaphex
64a77af881 Use RARCH_DISPLAY_CTL_HW_CONTEXT_GET directly instead of
going through video_driver_callback
2016-03-04 20:49:55 +01:00
twinaphex
59ed4b939f Cleanups 2016-03-01 07:09:55 +01:00