Commit Graph

92 Commits

Author SHA1 Message Date
twinaphex
21438fc0af Some buildfixes for GL_DEBUG 2016-05-12 02:58:09 +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
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
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
32c4f13761 (XEGL) Add HAVE_VG ifdefs 2016-03-01 06:56:41 +01:00
twinaphex
e938be3747 Have to rewrite EGL context code 2016-03-01 06:49:05 +01:00
twinaphex
22a677b3a8 Don't use egl_common's 'api' variable anymore 2016-02-22 11:54:19 +01:00
twinaphex
cbf84b8d6e Style nits 2016-02-14 16:39:27 +01:00
twinaphex
54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex
3b8932b302 Turn returntype of set_resize into bool 2016-01-07 00:58:33 +01:00
Higor Eurípedes
1cf574cfbe Move most of egl_common globals into egl_ctx_data_t 2015-12-08 13:54:03 -03:00
Higor Eurípedes
c257374dcd (video_context_driver) Make better use of the data argument in context calls 2015-12-08 12:19:08 -03:00
twinaphex
a95762e5cb Create egl_has_config 2015-12-08 14:42:02 +01:00
twinaphex
0f94353b28 Create egl_get_native_visual_id 2015-12-08 14:38:06 +01:00
twinaphex
6c6beca430 Create x11_save_last_used_monitor 2015-12-01 08:49:35 +01:00
twinaphex
c4354ff429 Create g_x11_screen 2015-12-01 08:42:33 +01:00
twinaphex
0044d853f8 Move display_type / display_window etc all to gfx/video_driver.c -
no more dependencies on driver_t
2015-11-29 01:12:49 +01:00
twinaphex
866501703f Cleanups 2015-11-23 21:28:54 +01:00
twinaphex
b69caea6c1 Set g_egl_inited to false after egl_destroy 2015-11-21 09:39:25 +01:00
twinaphex
e466995c70 (xegl_ctx.c) Get rid of forward declaration 2015-11-20 14:31:09 +01:00
twinaphex
2f151896eb use egl_create_surface everywhere 2015-11-20 13:43:05 +01:00
twinaphex
1101bb34d3 Create g_egl_api/g_egl_inited 2015-11-20 13:27:31 +01:00
twinaphex
01614bb7f4 Start using egl_create_context in more drivers 2015-11-19 18:29:15 +01:00
twinaphex
4c1ac3222c Start using egl_init_context in more drivers 2015-11-19 18:01:37 +01:00
twinaphex
ee3f625a83 Remove signal includes 2015-11-19 15:57:09 +01:00
twinaphex
774542fc62 Simplify egl_destroy 2015-11-19 15:34:40 +01:00
twinaphex
5aedc1c4ca Create egl_set_swap_interval 2015-11-19 15:16:37 +01:00
twinaphex
00be95159d Create x11_event_queue_check 2015-11-19 15:05:17 +01:00
twinaphex
7b39fd50a3 Create egl_swap_buffers 2015-11-19 14:38:55 +01:00
twinaphex
e2c82900d1 Create egl_bind_hw_render 2015-11-19 14:32:39 +01:00
twinaphex
6dee1fcc92 Move g_use_hw_ctx to egl_common.c 2015-11-19 14:28:21 +01:00
twinaphex
9705dc8d04 Create egl_destroy 2015-11-19 14:23:14 +01:00
twinaphex
36579ae58d Start moving identical state variables to egl_common.c 2015-11-19 14:09:51 +01:00
twinaphex
ffbb9d0481 Create generic egl_get_proc_address 2015-11-19 13:24:51 +01:00
twinaphex
50f8634902 Add gfx/common/egl_common.c 2015-11-19 13:16:43 +01:00
twinaphex
476f390f55 remove some include headers 2015-11-19 12:25:53 +01:00
twinaphex
655520aeec Create x11_install_quit_atom 2015-11-19 12:18:35 +01:00
twinaphex
e3aba24e42 (X11) Code de-duplication 2015-11-19 12:05:32 +01:00
twinaphex
50cd3bc185 Create x11_colormap_destroy 2015-11-19 11:55:05 +01:00
twinaphex
48495980ba Create x11_window_destroy 2015-11-19 11:49:09 +01:00
twinaphex
ce2b973beb Create x11_input_ctx_new/x11_input_ctx_destroy 2015-11-19 11:27:41 +01:00
twinaphex
56e5d0bf3e Create g_x11_xim 2015-11-19 11:24:56 +01:00
twinaphex
f868cbab31 Create x11_update_window_title 2015-11-19 11:18:57 +01:00
twinaphex
d23557d38e Start restricting scope of g_x11_has_focus 2015-11-19 11:13:59 +01:00
twinaphex
f364ff0649 Create x11_connect 2015-11-19 11:07:52 +01:00
twinaphex
95a5818ccb Create x11_install_sighandlers 2015-11-19 11:04:17 +01:00