Commit Graph

501 Commits

Author SHA1 Message Date
twinaphex bc5c2c13f8 Remove unused member 2017-01-19 23:09:50 +01:00
twinaphex 849315e844 Prevent some minor computations in video_monitor_get_fps 2017-01-19 18:07:01 +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
Brad Parker b44c8c9995 store buffer for window title, only update actual title when it changes 2017-01-19 00:33:52 -05: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 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 f3e700aa76 Add width/height members to video_frame_info 2017-01-18 22:30:16 +01:00
Brad Parker c089a925b1 fix race condition when toggling menu with threaded_video on 2017-01-18 16:23:56 -05:00
twinaphex a6a4808e94 Refactor frame monitor code 2017-01-18 17:41:27 +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
Brad Parker 05c37bd39f initial GDI driver skeleton 2017-01-16 20:41:04 -05:00
twinaphex 9feb430b58 Don't pass video_info_t as pointer 2017-01-16 18:03:00 +01:00
twinaphex c875d95f7a Revert "Free font data inside gfx/font_driver.c's free function"
This reverts commit b3f1bbc15e.
2017-01-14 21:02:30 +01:00
twinaphex b3f1bbc15e Free font data inside gfx/font_driver.c's free function 2017-01-14 14:26:56 +01:00
twinaphex 08e9f64e43 Get rid of early return in video_driver_build_info 2017-01-14 14:00:39 +01:00
twinaphex 326e1e3fac Cleanup video_driver_frame 2017-01-14 13:55:49 +01:00
twinaphex a4523e0b2b Initialize variable 2017-01-13 18:17:36 +01:00
twinaphex 1fa3475d79 Add parameter to video_context_driver's 'init' function 2017-01-13 16:52:07 +01:00
twinaphex 8c9e0405fb Create video_driver_build_info 2017-01-13 16:09:32 +01:00
twinaphex 24dc890b78 (gfx) Cleanups/style nit 2017-01-12 10:52:04 +01:00
twinaphex 0b03e95d95 We no longer need the settings struct inside gl_init 2017-01-10 18:08:05 +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 36fb6776b2 Don't grab settings pointer in video_monitor_get_fps function 2017-01-09 15:42:14 +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 be2f921ee2 Don't use settings pointer inside video_frame function 2017-01-09 14:25:59 +01:00
Twinaphex faa8ddf413 Remove unused variables 2017-01-07 08:11:23 +01:00
twinaphex bbcdc18801 Remove unused variables 2017-01-05 22:18:09 +01:00
Logan McNaughton 017d9cea9d This fixes the XMB menu for me
When using threaded video and shared context

Threaded video gets disabled for GL contexts, so you can't rely on the settings value
2017-01-05 12:53:55 -08:00
twinaphex c028f56016 Turn video_driver_is_threaded into a static function 2017-01-05 08:52:30 +01:00
twinaphex e75633064a Add 'Y button' callback function for input binds 2017-01-05 04:52:04 +01:00
twinaphex b13d069578 - Silence Coverity warning in platform_linux.c
- Don't do settings lookup when calling runloop_msg_queue_push
2017-01-03 18:47:34 +01:00
twinaphex 9657bbd998 Get rid of set_rgba/unset_rgba inside image_texture.c 2016-12-29 23:22:40 +01:00
twinaphex 6a166faa0c Revert "Remove supports_rgba varaible from image_texture.c"
This reverts commit bd0c97fdc4.
2016-12-29 22:53:10 +01:00
twinaphex bd0c97fdc4 Remove supports_rgba varaible from image_texture.c 2016-12-29 22:39:52 +01:00
twinaphex f067ecce50 (video_driver.c) Cleanups 2016-12-27 14:48:04 +01:00
twinaphex 77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex b07fd17258 Revert "Initialize message queue first"
This reverts commit b0c97e901f.
2016-12-22 23:34:21 +01:00
Brad Parker 42307a322a missing ../ 2016-12-22 11:25:49 -05:00
twinaphex b0c97e901f Initialize message queue first 2016-12-22 14:31:19 +01:00
twinaphex ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex 97c9eab9ba (menu_displaylist.c) Indenting breaks syntax formatting for vim 2016-12-15 08:36:28 +01:00
twinaphex 6200c3a1e0 Clean up mutex functions 2016-12-07 08:51:38 +01:00
twinaphex a12d0d082d Move input_translate_coord_viewport to video_driver.c 2016-12-07 08:07:11 +01:00
twinaphex 94528ed28d (Drivers) Cleanups/style nits 2016-12-05 02:09:32 +01:00
twinaphex 9e2717e927 Revert "Create drivers_data array and no longer use recording_data"
This reverts commit e049b7e1f0.
2016-12-05 02:02:59 +01:00
twinaphex e049b7e1f0 Create drivers_data array and no longer use recording_data 2016-12-05 01:56:06 +01:00
twinaphex eea1b3790b Try to prevent superfluous calls to recording functions
if not necessary
2016-12-04 06:31:29 +01:00
twinaphex 0284853681 (xbox OG) Use flicker_filter_index 2016-12-02 01:04:46 +01:00
Brad Parker ba54f20626 initial libcaca video driver 2016-12-01 12:13:45 -05:00
radius 8a16ec393c remove WIN32 ifdefs 2016-11-23 20:37:29 -05:00
radius 8cb5ed0d95 (win) add fixed window size mode 2016-11-23 19:43:50 -05:00
twinaphex b93c759d3c (gfx/video_driver.c) Simplifications 2016-11-21 13:31:04 +01:00
twinaphex 6c3a5fe634 Buildfix 2016-11-21 13:23:36 +01:00
twinaphex 05d6735720 Simplify video_driver.c code - turn some functions into macros 2016-11-21 13:17:28 +01:00
twinaphex 69b57bad34 Fix comment 2016-11-20 15:23:43 +01:00
twinaphex a7585f9988 Move video_frame.h to libretro-common 2016-11-08 15:35:24 +01:00
twinaphex 279a90a01b Remove dependencies from gfx/video_frame.c 2016-11-08 15:26:15 +01:00
twinaphex 7e5d2321c5 Create video_driver_reinit 2016-11-06 14:18:29 +01:00
twinaphex feacc56fff Prevent crash by checking if msg is NULL before doing strlcpy call 2016-11-06 14:10:25 +01:00
twinaphex 9a87dabca1 One less leaf function inside video_driver_frame 2016-11-06 14:06:47 +01:00
twinaphex fbcefd02b9 (video_driver.c) Copy message if runloop_ctl returns true 2016-11-06 14:05:00 +01:00
twinaphex 49893c10f5 Prevent early returns for video_frame_pixel_scale 2016-11-06 13:57:27 +01:00
twinaphex 483cd0077c Move code 2016-11-06 13:42:34 +01:00
twinaphex 777f2df35c Remove video_driver_unset_active 2016-11-06 13:38:31 +01:00
twinaphex 8acb4cac78 video_driver_frame_filter - make early returns unnecessary 2016-11-06 13:34:48 +01:00
twinaphex ea46c4a532 Turn video_driver_lock functions static 2016-11-04 14:16:55 +01:00
twinaphex 5214c29295 gfx/video_driver.c - get rid of struct 2016-11-03 23:03:50 +01:00
twinaphex 01bbca9c95 Cleanup 2016-10-28 08:23:54 +02:00
aliaspider a4d745a471 preliminary port to the wiiu platform 2016-10-27 01:34:10 +01:00
twinaphex 2d2628dbbf Update ST_UINT settings too dynamically 2016-10-26 09:08:02 +02:00
twinaphex 7a09ffe6bc Values start changing now upon language switch 2016-10-26 09:03:56 +02:00
twinaphex 71a1e4eca7 Cleanups 2016-10-26 08:30:56 +02:00
twinaphex 170febb72c (NGC/Wii) Buildfix 2016-10-26 06:04:42 +02:00
twinaphex 24e9f8dc09 Simplify CONFIG_BOOL/menu_setting.c 2016-10-26 05:04:24 +02:00
twinaphex 456c4c4d58 Remove video_driver_cached_frame_render wrapper function 2016-10-25 00:42:26 +02:00
twinaphex 3702fde113 Simplify some input/video functions 2016-10-24 03:05:55 +02:00
twinaphex d1b90a8b6d Get rid of unused variable 2016-10-18 04:11:31 +02:00
twinaphex 778e742470 Make video_driver_is_threaded a public function 2016-10-18 04:05:51 +02:00
twinaphex 911acb8ead Create video_driver_is_threaded 2016-10-18 04:04:40 +02:00
twinaphex a777f52423 (video_driver.c) Simplify 2016-10-01 04:28:18 +02:00
twinaphex 35c52b1602 Move frame_cache variables outside of video_driver_state struct 2016-10-01 04:24:57 +02:00
twinaphex ae607a29b7 Take variables out of video_state 2016-10-01 04:21:33 +02:00
twinaphex 32220c042b (video_driver.c) Style nit 2016-09-29 10:27:49 +02:00
aliaspider 4ebe84d89c (3DS) use Makefile.commmon for non griffin builds 2016-09-28 15:01:46 +01:00
hizzlekizzle 9fe3bd9b62 add 9:16 AR and fix typo
9:16 is useful for people with widescreen monitors running in portrait mode. I replaced 4:4 with it because 4:4 was redundant with 1:1 anyway, and I fixed the double-close-parentheses typo in the 1:1 PAR's DAR string.
2016-09-19 08:31:08 -05:00
twinaphex 7d5b9f172a Cleanups 2016-09-14 22:46:29 +02:00
twinaphex d2dbe63b2b Cleanup 2016-09-12 18:37:32 +02:00
twinaphex 1fea80c630 Another header cleanup 2016-09-11 18:49:38 +02:00