55 Commits

Author SHA1 Message Date
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
Christopher Bransden
2d0c02d21e Fix compilation error:
gfx/drivers_context/vc_egl_ctx.c:591:13: error: static declaration of ‘gfx_ctx_vc_set_swap_interval’ follows non-static declaration
gfx/drivers_context/vc_egl_ctx.c:312:4
2016-03-02 21:31:56 +00: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
3b8932b302 Turn returntype of set_resize into bool 2016-01-07 00:58:33 +01:00
Higor Eurípedes
1f51a0d948 (videocore) Fix build 2015-12-08 19:34:26 -03:00
Higor Eurípedes
c2d4da4660 (mali) Convert to new egl common api 2015-12-08 17:33:59 -03:00
Higor Eurípedes
9e90efacbb (videocore) Convert to new egl common api 2015-12-08 17:33:59 -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
2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex
85dbeeb8f9 No more video_monitor.h 2015-11-22 13:32:46 +01:00
twinaphex
7c10d0f796 (vc_eg_ctx.c) Move header below egl_common.h 2015-11-20 16:58:31 +01:00
twinaphex
1686eb8f7f (vc_egl_ctx.c) Cleanup 2015-11-20 14:34:40 +01:00
twinaphex
fc0f5f8889 Create egl_create_surface 2015-11-20 13:36:16 +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
c1e61f7ff0 Start using egl_init_context for most GLES context drivers 2015-11-19 18:10:59 +01:00
twinaphex
80369a8823 Create egl_install_sighandlers 2015-11-19 15:55:57 +01:00
twinaphex
2fe6686ced Create g_egl_quit 2015-11-19 15:47:30 +01:00
twinaphex
34543c3f1c (vc_egl_ctx.c) Remove g_quit variable 2015-11-19 15:43:10 +01:00
twinaphex
5aedc1c4ca Create egl_set_swap_interval 2015-11-19 15:16:37 +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
36579ae58d Start moving identical state variables to egl_common.c 2015-11-19 14:09:51 +01:00
twinaphex
39ad1c2f86 (vc_egl_ctx.c) Put variable declarations at top 2015-11-19 13:29:46 +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
239ae7de53 Move gl_common to gfx/common 2015-11-17 08:01:33 +01:00
Stefan
742d6a62b5 vc_egl_ctx.c: Fix missing fps output
Related to: https://github.com/libretro/RetroArch/issues/2034
It does not segfault but there is no fps output with msg_queue_push(). Just do it like other context driver.
2015-11-07 12:30:28 +01:00
twinaphex
340585defb Header Cleanups 2015-09-16 05:53:34 +02:00
twinaphex
43c8f282db (Gfx) Cleanups 2015-06-13 02:10:06 +02:00
twinaphex
3a6e369516 (Context drivers) Cleanups 2015-04-16 23:03:55 +02:00
twinaphex
8082f17e2e Rename egl image buffer functions 2015-04-10 09:02:24 +02:00
twinaphex
644d52b6ab (VC Context driver) Style nits/cleanups 2015-04-09 05:35:01 +02:00
twinaphex
16b7b454a9 Move gl_common.c to gfx/drivers 2015-04-09 04:57:17 +02:00
twinaphex
fab39da46a (Gfx context) Implement get_metrics callback 2015-04-08 20:10:30 +02: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
26f2bd4cbf Start going through retro_inline INLINE 2015-03-15 04:37:54 +01:00
twinaphex
00239a30d6 Create wrapper functions for passing a message to the runloop's
message queue
2015-03-15 02:47:23 +01:00
twinaphex
9627117166 Take out fps_monitor_enable 2015-03-07 23:03:56 +01:00
twinaphex
795ef467ac Move msg_queue and nbio/http to runloop struct 2015-03-07 13:01:41 +01:00
twinaphex
fdd7d8be88 (VC EGL) Fix driver 2015-02-28 02:54:07 +01:00
twinaphex
13a391c165 Implement get_video_output_prev/get_video_output_next 2015-02-24 21:36:23 +01:00
twinaphex
aafc647724 Add get_video_output_size callback to video context driver 2015-02-24 19:58:14 +01:00
gizmo98
6dbba1c956 vc_egl_ctx.c: Align render and screen aspect ratio if hardware upscaling is used.
Take care render and screen aspect ratios are equal if hardware upscaling is used. Recalculate and override fullscreen_x if aspect ratios do not match. There are other aspect ratio settings, which can be used to stretch video output.
2015-02-21 13:47:57 +01:00
twinaphex
8f5809ee46 Take out make_current_context 2015-02-16 23:41:49 +01:00