Commit Graph

122 Commits

Author SHA1 Message Date
Twinaphex
d33cad3381 (GL) Take out unused global variable 2015-05-20 18:57:57 +02:00
twinaphex
a053b41223 Create video_viewport_get_system_av_info and video_viewport_get_custom -
move custom viewport and system av info outside of global state
2015-05-20 18:57:17 +02:00
twinaphex
b255b5a325 Create video_driver_set_aspect_ratio_value and video_driver_get_aspect_ratio 2015-05-20 18:24:45 +02:00
twinaphex
4352cca599 Cleanup last remaining references 2015-05-20 02:40:44 +02:00
twinaphex
23fe7886d2 (GL) GL driver should be free now from global->video_data.width/
global->video_data.height dependencies
2015-05-20 02:22:03 +02:00
twinaphex
b573e5f4dc (GL) Refactor code to no longer use global->video_data.width/global->video_data.height 2015-05-20 02:18:05 +02:00
twinaphex
79db0c2ab5 Start using video_driver_get_size in video drivers 2015-05-20 00:45:42 +02:00
twinaphex
375c49b6c8 Move is_menu out of runloop struct and create get/set functions in menu_driver.c
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
Higor Eurípedes
dfd6d464a8 (gl) Add check in gl_overlay_vertex_geom() 2015-05-19 13:51:59 -03:00
Higor Eurípedes
c5940b32b6 (gl) Remove context switch calls from set_osd_msg
It's not needed because this function is always called from the
frontend/menu context. The video driver handles SET_MESSAGE
environment call in the frame() function (msg argument).
2015-05-12 09:36:00 -03:00
twinaphex
7c84232b9f (GL) Uncomment context_hw_bind_render calls around set_osd_msg again 2015-05-11 22:30:44 +02:00
twinaphex
4d7c2a642d (GL) Cleanups 2015-05-11 00:20:06 +02:00
Higor Eurípedes
e0dccab5fc (gl) Dont switch to another context in gl_set_osd_msg() 2015-05-10 16:18:09 -03:00
twinaphex
73d5e8a41b (PS3) Build fix and fix warnings 2015-05-09 17:53:03 +02:00
twinaphex
945d2851ba Pass frame_count variable to gl_frame_fbo 2015-05-09 17:41:53 +02:00
Twinaphex
f08db710ac Kill unused variables 2015-05-09 16:06:05 +02:00
twinaphex
9b9e65abf3 Start using video_driver_get_frame_count 2015-05-09 16:04:12 +02:00
twinaphex
ae408a1d41 Create video_poke get_frame_count function 2015-05-09 15:52:06 +02:00
twinaphex
4ecfe639b3 Create local frame_count variables again in video_drivers 2015-05-09 15:41:10 +02:00
twinaphex
498caabfc7 (GL) Buildfix 2015-05-04 10:03:33 +02:00
twinaphex
5d58d290af (GL) Improve VideoCore/Raspberry Pi hack 2015-05-04 10:00:32 +02:00
twinaphex
e4cb891ae7 (GL) Pass context identifier to resolve_extensions 2015-05-04 09:37:26 +02:00
Higor Eurípedes
5bfd910cd1 (gl) Fix font rendering when video_font_enable=false 2015-05-02 22:41:59 -03:00
twinaphex
80c5059d43 Revert "(Video) Call gfx_ctx_free from common function - uninit_video_input"
This reverts commit aac304410b.
2015-05-02 22:53:27 +02:00
twinaphex
aac304410b (Video) Call gfx_ctx_free from common function - uninit_video_input 2015-05-02 05:52:34 +02:00
twinaphex
a9dee4877e Create set_viewport wrapper function - threaded video mode's
set_viewport function does not work yet
2015-04-26 19:46:59 +02:00
twinaphex
b6fbf5a335 (Menu) Start getting rid of gl->win_width/gl->win_height and start
creating global->video_data.width and global->video_data.height
which should be used instead in menu drivers
2015-04-26 05:21:43 +02:00
twinaphex
c22535b7e1 Reduce HAVE_FBO ifdefs 2015-04-25 02:35:06 +02:00
twinaphex
44a8b8bcd3 Move font_handle and font_driver ot the driver struct 2015-04-25 00:32:01 +02:00
twinaphex
bd63de9b3a Replace gl_font_init_first and d3d_font_init_first with common function 2015-04-21 17:33:00 +02:00
twinaphex
8c528bb79a Rename apple_bind_game_view_fbo to cocoagl_bind_game_view_fbo 2015-04-19 17:42:04 +02:00
twinaphex
27661c8087 Refactor some HAVE_X11/HAVE_EGL code 2015-04-16 22:39:28 +02:00
twinaphex
6bf30bb714 (PS3) Buildfixes 2015-04-14 21:58:39 +02:00
twinaphex
9a3ba16a36 (GL) Cleanup 2015-04-12 22:01:48 +02:00
twinaphex
7fbbac544e Some C89 build fixes 2015-04-12 19:29:38 +02:00
twinaphex
ffc5ba0980 Make gfx_ctx_get_ptr static 2015-04-10 09:15:25 +02:00
Twinaphex
ced227c214 (gl.c) Cleanups 2015-04-10 09:12:32 +02:00
twinaphex
f65f56fdf4 Go through gfx_ctx_get_video_output wrapper functions 2015-04-10 09:11:17 +02:00
twinaphex
0ef148f460 Go through gfx_ctx_set_video_mode 2015-04-10 09:05:07 +02:00
twinaphex
8082f17e2e Rename egl image buffer functions 2015-04-10 09:02:24 +02:00
twinaphex
0fc92790b3 Go through gfx_ctx_input_driver 2015-04-10 08:53:45 +02:00
twinaphex
fe69dc2768 Use gfx_ctx_show_mouse 2015-04-10 08:49:01 +02:00
twinaphex
4cb8074bf5 Create more gfx_ctx wrapper functions and use them 2015-04-10 08:33:07 +02:00
twinaphex
187ab80f71 Go through more gfx_ctx wrapper functions 2015-04-10 08:26:43 +02:00
twinaphex
93cbdebd37 Create gfx_ctx_get_video_size 2015-04-10 07:12:15 +02:00
twinaphex
6ff8d368e6 (gl.c) Cleanup 2015-04-10 06:29:27 +02:00
twinaphex
a4f234e26e (GL) Cleanup gl_read_viewport 2015-04-10 06:25:25 +02:00
twinaphex
270f10ae04 (gl.c) Cleanup gl_init 2015-04-10 06:17:04 +02:00
twinaphex
37a5a7e653 Create gfx_ctx_suppress_screensaver 2015-04-10 06:13:20 +02:00
twinaphex
7671f3e035 Create gfx_ctx_check_window 2015-04-10 06:10:05 +02:00