twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
twinaphex
9d1de5c974
Rewrite video_context_driver_set_resize
2017-01-19 14:31:57 +01:00
twinaphex
a6a4808e94
Refactor frame monitor code
2017-01-18 17:41:27 +01:00
twinaphex
666534cc74
Grab settings pointer only once inside wrapper 'input_driver' function
2017-01-16 00:14:10 +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
027a194346
(xegl_ctx.c) Style nit
2016-11-06 18:41:59 +01:00
twinaphex
3b1cf79c63
(X contexts) Cleanups
2016-10-08 14:37:26 +02:00
twinaphex
51b0e61712
Cleanups
2016-09-11 16:24:02 +02:00
twinaphex
7a36ea7d1c
Silence warnings
2016-09-08 06:11:02 +02:00
twinaphex
6f47289ba6
Start adding HAVE_CONFIG_H to gfx/drivers_context
2016-09-06 19:39:02 +02:00
twinaphex
815c0eb3ee
Remove header includes
2016-09-01 05:46:10 +02:00
twinaphex
aa15fb3f91
Update remaining video context drivers
2016-08-31 15:02:07 +02:00
amspady20
9adc8e34c0
Update xegl_ctx.c
...
Fixed include statment for frontend_driver.h
2016-07-08 12:30:53 -04:00
twinaphex
76cc6fd8ec
Start implementing signal handler code once in frontend driver code
2016-07-08 02:38:33 +02:00
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
twinaphex
dd3e7f9ddc
No more wrapper function for x11_check_window
2015-11-19 10:35:15 +01:00
twinaphex
b50152902a
No wrapper functions anymore for x11_get_video_size
2015-11-19 10:29:26 +01:00
twinaphex
9563f40aeb
Cleanups
2015-11-19 10:25:07 +01:00
twinaphex
ba1dd31995
Create x11_has_focus
2015-11-19 10:13:09 +01:00
twinaphex
cbaca1bfe1
Create x11_get_video_size
2015-11-19 10:09:19 +01:00
twinaphex
ac6813dc7f
Create x11_check_window
2015-11-19 10:02:53 +01:00
twinaphex
025db14dcf
(XEGL/GLX) Start using the same global state variables
2015-11-19 10:00:25 +01:00
twinaphex
3f23a23dea
move g_has_focus to x11_common.c
2015-11-19 09:51:20 +01:00
twinaphex
c9dc5cf71d
Start moving some global variables for X11 context drivers
...
to x11_common.c
2015-11-19 09:49:37 +01:00
twinaphex
239ae7de53
Move gl_common to gfx/common
2015-11-17 08:01:33 +01:00
twinaphex
e986b9e42a
Static code analysis cleanups
2015-09-29 17:35:28 +02:00
twinaphex
340585defb
Header Cleanups
2015-09-16 05:53:34 +02:00
Alcaro
febcbc5ce4
C89 cleanups part 2
2015-06-26 17:48:43 +02:00
twinaphex
43c8f282db
(Gfx) Cleanups
2015-06-13 02:10:06 +02:00
twinaphex
a81baed9e2
Move hw_render_callbakc to video driver state and take it out
...
of global state
2015-05-20 19:56:12 +02:00
twinaphex
3a6e369516
(Context drivers) Cleanups
2015-04-16 23:03:55 +02:00
twinaphex
20e167e00f
(xegl_ctx.c) Remove some unused X11 headers
2015-04-16 22:40:24 +02:00
twinaphex
3213baf452
Take out HAVE_EGL ifdefs in gfx_context_driver_t definition
2015-04-10 05:58:08 +02:00
twinaphex
61ca56ae8e
Create x11_get_metrics
2015-04-09 05:05:29 +02:00
twinaphex
5e8a78bb25
Move x11_common.c to gfx/common
2015-04-09 05:02:57 +02:00
twinaphex
16b7b454a9
Move gl_common.c to gfx/drivers
2015-04-09 04:57:17 +02:00
twinaphex
2aebce1174
(XEGL/GLX) Implement get_metrics
2015-04-09 03:59:16 +02:00
twinaphex
fab39da46a
(Gfx context) Implement get_metrics callback
2015-04-08 20:10:30 +02:00
twinaphex
36b054506d
Move window manager code to gfx/drivers_wm
2015-04-04 20:30:44 +02:00
twinaphex
2409da4afe
global_get_ptr update pt. 3
2015-03-21 05:55:31 +01:00
twinaphex
45cf71770e
Rename g_settings to g_config - to prevent conflicts, had to rename
...
some static variables in some of the gfx context driver files
2015-03-21 01:15:03 +01:00
twinaphex
f130b00596
Updates pt. 3
2015-03-20 22:08:36 +01:00
twinaphex
3670ef2ac5
Go through driver_get_ptr to grab pointer to driver struct
2015-03-18 19:40:00 +01:00