Commit Graph

6316 Commits

Author SHA1 Message Date
twinaphex
57f8c637bf Cut down on runloop_ctl calls inside gfx/drivers 2017-01-22 12:38:20 +01:00
twinaphex
23c35c39b5 Add more video_frame_info_t members 2017-01-22 02:04:58 +01:00
Brad Parker
bc8b3ebad5 gdi: fix font alignment 2017-01-21 15:46:46 -05:00
Brad Parker
0290f4713c caca: fix font alignment 2017-01-21 15:39:35 -05:00
twinaphex
b97b40af75 (vg.c) Buildfix 2017-01-21 18:54:13 +01:00
twinaphex
c8141123d6 (GX) Cleanup warnings 2017-01-21 00:55:21 +01:00
twinaphex
e6c4327a1c (GL) Fix lockup at startup 2017-01-20 21:05:55 +01:00
xhp-creations
577ee09727 (WIIU) fix rotation of menu
(WIIU) fix rotation of menu
2017-01-20 11:22:30 -05:00
xhp-creations
a8232f1b46 (WIIU) add rotation support
(WIIU) add rotation support
2017-01-20 10:29:53 -05:00
twinaphex
927e4b6be0 Less settings pointer grabbing 2017-01-20 15:38:20 +01:00
twinaphex
0be6264796 Get rid of more settings pointer grabbing 2017-01-20 15:33:47 +01:00
vanfanel
7ae7e2eaee DISPMANX: now waiting for free pages after issuing flip, instead of before, to avoid input lag. 2017-01-20 14:59:14 +01:00
twinaphex
30c7754029 Buildfix 2017-01-20 14:37:02 +01:00
twinaphex
526072ccdf Cut down on menu_display_libretro_running usage 2017-01-20 14:25:00 +01:00
twinaphex
58a47e860a Add use_rgba member to video_frame_info_t 2017-01-20 14:04:50 +01:00
twinaphex
5b89c85237 Fix performance inefficiency (Coverity) 2017-01-19 23:12:18 +01:00
twinaphex
bc5c2c13f8 Remove unused member 2017-01-19 23:09:50 +01:00
twinaphex
2f175f1a15 Remove video_driver_get_size call in gfx/drivers_font 2017-01-19 22:03:59 +01:00
twinaphex
219a07f709 (hlsl) Fix 2017-01-19 21:21:53 +01:00
twinaphex
28195ee517 (HLSL) Buildfixes 2017-01-19 21:20:05 +01:00
twinaphex
861ad8b3ab (XDK360) Another buildfix 2017-01-19 21:05:04 +01:00
twinaphex
0edbf8d5c9 (shader_hlslc.) Another buildfix 2017-01-19 20:56:07 +01:00
twinaphex
98f0422b20 (HLSL) Fix typo 2017-01-19 20:50:00 +01:00
twinaphex
0b8037d893 (360) Fix typo 2017-01-19 20:35:23 +01:00
twinaphex
23afaa8799 (Xbox 360) Buildfixes 2017-01-19 20:34:07 +01:00
twinaphex
fd8cdc389f (Xbox 360) More buildfixes 2017-01-19 20:31:33 +01:00
Brad Parker
8a65650298 Windows buildfix 2017-01-19 13:46:04 -05:00
Brad Parker
a54ea9ad88 show titlebar again for remaining drivers 2017-01-19 18:08:39 +00:00
Brad Parker
c0e55cba37 window title fix for SDL 2017-01-19 17:51:22 +00:00
twinaphex
849315e844 Prevent some minor computations in video_monitor_get_fps 2017-01-19 18:07:01 +01:00
twinaphex
6c108a8d27 Shows titlebar text again with X11 2017-01-19 17:58:00 +01:00
twinaphex
7cce305c06 Add header for sdl_gfx.c 2017-01-19 17:48:03 +01:00
twinaphex
fe84312340 Add some header includes 2017-01-19 17:20:42 +01:00
twinaphex
27ae782a8e (CTR) Add this header 2017-01-19 17:17:20 +01:00
twinaphex
0d33888a24 (dispmanx_gfx.c) Cleanups 2017-01-19 16:50:09 +01:00
twinaphex
a42748f90f Get rid of more function invocations of video_driver_get_size 2017-01-19 16:40:20 +01:00
twinaphex
586654846a Buildfix 2017-01-19 16:33:02 +01:00
twinaphex
e0ff0541a2 Pass video_info pointer to font drivers 2017-01-19 16:30:40 +01:00
twinaphex
eea139ca30 Remove frame_count variable 2017-01-19 16:03:59 +01:00
twinaphex
028d50ca50 C89_BUILD fixes 2017-01-19 16:01:35 +01:00
Twinaphex
7961bf6d23 Merge pull request #4455 from libretro/refactor
Video driver changes
2017-01-19 15:59:23 +01:00
twinaphex
4a8cb5687a (ctr_font.c) use #if 0 blocks 2017-01-19 15:55:42 +01:00
twinaphex
9d1de5c974 Rewrite video_context_driver_set_resize 2017-01-19 14:31:57 +01:00
Brad Parker
009c1a45b7 forgot check for SDL1 2017-01-19 00:36:29 -05:00
Brad Parker
b44c8c9995 store buffer for window title, only update actual title when it changes 2017-01-19 00:33:52 -05:00
twinaphex
7fbd3fcfb6 Simplify has_windowed 2017-01-19 02:50:56 +01:00
twinaphex
3761b5bdf6 Unroll video_driver_cached_frame_set 2017-01-19 02:34:35 +01:00
twinaphex
19cc817613 This needs to be set this way 2017-01-19 02:25:45 +01:00
twinaphex
b96e0bb820 Remove stub update_title functions 2017-01-19 01:58:44 +01:00
twinaphex
b6c0e57946 Silence some warnings 2017-01-19 01:39:11 +01:00
twinaphex
57f1c0c3b6 FIx threaded video 2017-01-19 01:24:21 +01:00
Twinaphex
78e06ca07f Cleanup variables 2017-01-19 00:11:29 +01:00
Twinaphex
99622cee14 (Cocoa ) Update 2017-01-19 00:10:42 +01:00
James Le Cuirot
7f77f0cef1
Fix osmesa_ctx missing includes 2017-01-18 22:50:52 +00:00
twinaphex
1a30cfea09 Remove more video_driver_get_size calls 2017-01-18 23:13:19 +01:00
twinaphex
55b8b8c244 Reduce amount of calls to video_driver_get_size 2017-01-18 23:07:05 +01:00
twinaphex
c5445d2980 Reduce amount of times video_driver_get_size is called 2017-01-18 23:02:24 +01:00
twinaphex
f4adbd04ae (gl.c) Reduce amount of time video_driver_get_size is called inside
gl_frame
2017-01-18 22:55:03 +01:00
twinaphex
f3e700aa76 Add width/height members to video_frame_info 2017-01-18 22:30:16 +01:00
twinaphex
885f30b429 Merge branch 'refactor' of https://github.com/libretro/RetroArch into refactor 2017-01-18 22:25:26 +01:00
twinaphex
1981c4b83e Typo fix 2017-01-18 22:25:11 +01:00
Brad Parker
c089a925b1 fix race condition when toggling menu with threaded_video on 2017-01-18 16:23:56 -05:00
twinaphex
d010a852e4 Call menu_driver_frame once per video_frame call 2017-01-18 22:20:47 +01:00
twinaphex
34da27c36b Don't need 'frame_count' variable for check_window 2017-01-18 21:47:12 +01:00
twinaphex
bf511b72e6 Create menu_driver_frame 2017-01-18 21:23:18 +01:00
Alcaro
31d93cc4b7 Fix #4449 2017-01-18 19:00:38 +01:00
twinaphex
6247e9900b Remove another header include 2017-01-18 17:46:08 +01:00
twinaphex
40cd1b70cd Remove runloop.h header includes 2017-01-18 17:43:23 +01:00
twinaphex
e620b9b697 (OSX) Fix OSX 2017-01-18 17:42:11 +01:00
twinaphex
a6a4808e94 Refactor frame monitor code 2017-01-18 17:41:27 +01:00
twinaphex
f0820f6433 (DRM) Should fix segfault 2017-01-18 15:23:06 +01:00
Brad Parker
fa5404fc53 fix race condition when switching fullscreen with threaded_video on 2017-01-17 19:09:25 -05:00
twinaphex
e862abfe12 Initialize frame_count to 0 2017-01-18 00:54:36 +01:00
Brad Parker
a220815b40 fix race condition in frame count with video_threaded on 2017-01-17 18:42:58 -05:00
twinaphex
4fbd41852a Revert "Don't manipulate buffer if we are fullscreen - no text writing"
This reverts commit 51976d496f.
2017-01-18 00:26:56 +01:00
twinaphex
552144c24d Revert "Make 'Show FPS" work again"
This reverts commit b433ccab09.
2017-01-18 00:25:55 +01:00
twinaphex
b433ccab09 Make 'Show FPS" work again 2017-01-18 00:23:57 +01:00
twinaphex
51976d496f Don't manipulate buffer if we are fullscreen - no text writing
to display window then or internal buffer
2017-01-18 00:18:27 +01:00
twinaphex
dbed4d4fc6 Add video_info->fullscreen 2017-01-17 23:54:24 +01:00
twinaphex
0354ced675 Style nits 2017-01-17 19:02:49 +01:00
twinaphex
4743230b09 Some header includes shouldn't be system includes 2017-01-17 18:15:11 +01:00
twinaphex
7931436f5b Apply xerpi diff 2017-01-17 18:12:23 +01:00
twinaphex
805c4c2d12 (android_ctx.c) Initialize these variables 2017-01-17 17:28:19 +01:00
twinaphex
4bae3032dd (X context) Fix CXX_BUILD and C89_BUILD 2017-01-17 14:51:24 +01:00
twinaphex
724b68d5cb (gdi_gfx.c) Style nits 2017-01-17 10:54:48 +01:00
Brad Parker
76b7235dc5 msvc2005 buildfix 2017-01-16 22:20:59 -05:00
Brad Parker
7dc558344b GDI: do not draw background with rgui 2017-01-16 21:11:47 -05:00
Brad Parker
afb94e2b96 GDI: draw a gradient background for xmb 2017-01-16 20:41:09 -05:00
Brad Parker
5eaf00b39d GDI: fix rendering of 32-bit color cores 2017-01-16 20:41:09 -05:00
Brad Parker
e4bdc5ce8b GDI: remove unused code and fix menu toggle in rgui and xmb 2017-01-16 20:41:09 -05:00
Brad Parker
240b43e0ba windows buildfix 2017-01-16 20:41:09 -05:00
Brad Parker
e1f4db8081 Win2000 buildfixes 2017-01-16 20:41:08 -05:00
Brad Parker
7acfa39fb9 GDI: MSVC2010 build fix 2017-01-16 20:41:08 -05:00
Brad Parker
7c6bf6aaf7 fix msys2 compilation when opengl, vulkan and d3d9 are disabled 2017-01-16 20:41:08 -05:00
Brad Parker
8d9a43eec6 GDI: pitch seems to be reported wrong? this looks correct now 2017-01-16 20:41:07 -05:00
Brad Parker
c09996cd22 GDI: don't need to store the padding 2017-01-16 20:41:07 -05:00
Brad Parker
d6300a7946 GDI: video correctly fills the screen now, but resolution is poor. why is it scaled down by half? 2017-01-16 20:41:07 -05:00
Brad Parker
0ee3f39d76 GDI: no more flicker 2017-01-16 20:41:07 -05:00
Brad Parker
f51472395a GDI: fix bad color due to reading as RGB555 instead of 565 2017-01-16 20:41:07 -05:00
Brad Parker
6b89064242 GDI: no more alternating black lines, but now video only takes up half the window 2017-01-16 20:41:07 -05:00