Commit Graph

960 Commits

Author SHA1 Message Date
twinaphex c7615fdf00 Add RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT 2017-08-07 18:06:03 +02:00
twinaphex b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex e0cc113689 Try to fix this regression https://github.com/libretro/RetroArch/issues/5060 2017-06-18 18:50:46 +02:00
twinaphex 4850af8eac Revert "Try to set use_hw_ctx in advance for Android"
This reverts commit c010c5b258.
2017-06-18 17:09:27 +02:00
twinaphex c010c5b258 Try to set use_hw_ctx in advance for Android 2017-06-18 16:45:36 +02:00
twinaphex c7ac70a923 Combine video_renderchain_driver.c and video_driver.c 2017-06-12 15:45:58 +02:00
Jean-André Santoni 364440813f Merge pull request #5009 from psyke83/xmbtrans
xmb: enable menu transparency support when emulation is paused (v2)
2017-06-11 21:23:24 +02:00
twinaphex f6c2d97ed5 Don't do these constant checks 2017-06-07 03:41:36 +02:00
twinaphex ae98ea7210 Remove unused function 2017-06-06 03:49:21 +02:00
Conn f413b23f06 xmb: enable menu transparency support when emulation is paused (v2)
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame during driver reinit if game was loaded
                  (fixes missing menu background/paused foreground on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-06-02 02:55:59 +01:00
twinaphex 44b4a4e028 Revert "xmb: enable menu transparency support when emulation is paused"
This reverts commit 17d0037bd5.
2017-06-01 17:21:55 +02:00
Conn 17d0037bd5 xmb: enable menu transparency support when emulation is paused
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.

Issues fixed:

gfx/video_driver: enable menu transparency only when game is loaded (as a loaded core can display
                  black or corrupt image)
gfx/video_driver: don't clobber cached frame (fixes missing background on full screen toggle)
menu/drivers/xmb: ensure transparency is applied when game is loaded and no shader pipeline active.
menu/menu_driver: explicitly apply transparency only for existing textures (i.e. wallpapers), to
                  avoid background of cores with no content yet loaded mixing with wallpaper.
2017-05-31 23:45:16 +01:00
Twinaphex 1be1386161 Revert "xmb: allow transparency when emulation paused" 2017-06-01 00:27:44 +02:00
Conn 57503051ea xmb: allow transparency when emulation paused
Allow xmb menu driver transparency when "Pause when menu activated" is enabled (default setting).
This is also the default behaviour of the rgui driver and is helpful for users to preview
video/shader changes on the fly.
2017-05-29 23:49:40 +01:00
Arto Vainiolehto 766e4f5110 Fix scaling bug in video_driver_translate_coord_viewport()
- now scaled_x and height are correctly calculated, using viewports's width and height, respectively, as the scaling factor
-- previously the scaling factor was the screen's width/height, which meant that if screen and viewport had different bounds, scaled_x/scaled_y were incorrectly calculated
2017-05-30 00:00:56 +03:00
twinaphex a0924a414f Get rid of some unnecessary function callback wrapper functions 2017-05-21 09:30:32 +02:00
twinaphex b7b7c67ca3 Windows buildfix 2017-05-20 17:47:56 +02:00
twinaphex c0431b34c9 Turn some variables static 2017-05-20 14:31:07 +02:00
twinaphex 6fea8f14c5 Call video_driver_cb_has_focus directly 2017-05-20 14:11:50 +02:00
twinaphex bd424da015 Turn video_driver_data and current_video into static variables again 2017-05-20 14:09:24 +02:00
twinaphex 5bcacf9b49 Create video_driver_cb_has_focus 2017-05-20 12:02:24 +02:00
twinaphex efce4d0abf Revert "Add cb_set_shader_coords"
This reverts commit 06df028722.
2017-05-19 21:21:40 +02:00
twinaphex 06df028722 Add cb_set_shader_coords 2017-05-19 21:13:44 +02:00
twinaphex d8f5065d64 Add cb_set_shader_mvp 2017-05-19 19:52:33 +02:00
twinaphex c5485152aa Do away with conditional inside build_info 2017-05-19 15:59:28 +02:00
twinaphex 2a54544eb3 Add cb_shader_use to video_frame_info 2017-05-19 14:24:19 +02:00
twinaphex 4144c8de35 Prevent coverity warning 2017-05-19 13:54:43 +02:00
twinaphex b0398c1482 C89 build fixes 2017-05-19 03:34:53 +02:00
twinaphex 89dddaf9f0 Cleanups 2017-05-19 01:19:38 +02:00
twinaphex 4d24153870 Turn into static function 2017-05-19 00:07:24 +02:00
twinaphex 59b3344e72 Combine video_driver.c and video_shader_driver.c 2017-05-18 14:47:24 +02:00
twinaphex 49bf9b62ae Cleanups 2017-05-18 09:46:04 +02:00
twinaphex d181f70303 Don't call video_viewport_get_system_av_info inside gfx/video_driver.c 2017-05-18 09:44:51 +02:00
twinaphex c9af58494b Set video_context_driver functions to null functions if not
already set
2017-05-18 03:53:05 +02:00
twinaphex 3f7a30a4b3 Start hooking up dummy callback functions to video_context_data
so that conditionals aren't necessary
2017-05-18 03:37:02 +02:00
twinaphex 941a5d4f94 Go through function callback for swap_buffers as well 2017-05-18 03:05:07 +02:00
twinaphex 86ee08b7a7 Add video context driver update window title callback
to video_frame_info_t
2017-05-18 02:53:12 +02:00
twinaphex 4df6151e14 video_driver_init_filter - cleanup 2017-05-16 21:36:33 +02:00
twinaphex bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
twinaphex 0e34d362d3 Fix video_driver_is_focused - keyboard should work again with
threaded video
2017-05-14 18:52:36 +02:00
twinaphex 581333f222 Get rid of implicit memset 2017-05-13 23:24:27 +02:00
twinaphex b22d7902f1 Turn macro back into function 2017-05-13 19:37:16 +02:00
twinaphex 17a15273ba Create function out of video_driver_is_focused - no longer
call video_driver_context_focus from video driver
2017-05-13 19:19:49 +02:00
twinaphex d4756f83e5 Stop calling video_driver_context_has_windowed from within video
drivers
2017-05-13 19:11:32 +02:00
twinaphex f6c8aba119 Move video_context_driver_update_window_title to video_driver_frame 2017-05-13 18:58:13 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
twinaphex bac9973354 Cleanups 2017-05-09 00:58:01 +02:00
twinaphex c147604103 Update 2017-04-29 18:33:50 +02:00
twinaphex 7bdef1fde4 Buildfixes 2017-04-29 18:30:23 +02:00
twinaphex b5e97238ac Optimize video_driver_threaded_{lock|unlock} 2017-04-29 17:38:47 +02:00
twinaphex d86f466fe9 Turn video_driver_is_threaded into macro 2017-04-29 17:33:36 +02:00
twinaphex 03145a0424 Pass video_is_threaded variable to video_driver_init 2017-04-29 17:10:59 +02:00
twinaphex e84adb504f Don't try to call video_driver_is_threaded from outside
gfx/video_driver.c - only exception right now - menu_display.c
2017-04-29 16:52:52 +02:00
twinaphex 63504cd9c8 No longer need to grab threaded variable from settings struct 2017-04-29 16:37:49 +02:00
twinaphex 2322e77795 Add to video_frame_info 2017-04-29 16:07:02 +02:00
twinaphex 79c7627651 Move video_viewport_custom to gfx/video_driver.c 2017-04-29 13:10:01 +02:00
twinaphex e6ab06a701 Move path variables 2017-04-29 00:39:29 +02:00
twinaphex f0c2d786ae Update arrays struct 2017-04-28 22:59:13 +02:00
twinaphex 05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex d1b6a865c4 Buildfixes 2017-04-28 15:29:20 +02:00
twinaphex 0da40fb3aa Move all float settings 2017-04-28 14:57:55 +02:00
twinaphex ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex b792c5deae move bool setting 2017-04-28 12:26:01 +02:00
twinaphex cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +02:00
twinaphex 2a13af52fc Revert "video_init function - video_info_t should not be const -"
This reverts commit c8bcbad4a7.
2017-04-24 12:25:14 +02:00
twinaphex 023599366c Revert "Cleanups"
This reverts commit 0021970c16.
2017-04-24 12:25:00 +02:00
twinaphex 0021970c16 Cleanups 2017-04-24 12:19:47 +02:00
twinaphex c8bcbad4a7 video_init function - video_info_t should not be const -
try to set video_driver_width/video_driver_height outside
of video driver init function
2017-04-24 12:03:21 +02:00
twinaphex 34852e159a Cut down on amount of times video_driver_build_info is called 2017-04-23 22:20:11 +02:00
twinaphex 087002d9c5 Get rid of unused video_driver_get_frame_count - locking/unlocking
around this variable should no longer be necessary
2017-04-23 21:39:49 +02:00
twinaphex 2dfe441381 Get rid of video_info->frame_count 2017-04-23 19:21:12 +02:00
twinaphex 7c6b93f58f More cleanups 2017-04-23 17:44:24 +02:00
twinaphex 3ec5816259 Rewrite RUNLOOP_CTL_SYSTEM_INFO_GET 2017-04-23 16:41:26 +02:00
twinaphex caafee006c Get rid of performance counter for softfilter 2017-04-23 11:26:10 +02:00
twinaphex 7104d329fd Update logs 2017-04-18 06:02:43 +02:00
Twinaphex 216e7bcdaf Silence more warnings on iOS 2017-02-26 21:46:19 +01:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex 5d8c191df7 Cleanup 2017-02-16 01:30:50 +01:00
twinaphex 374fd57270 Remove the few performance counters that depend on runloop_ctl 2017-01-25 18:15:58 +01:00
twinaphex a9164b7124 Try to use performance counter plus functions in most cases 2017-01-25 17:12:43 +01:00
twinaphex 41349621cf Add extra param to runloop_get_status 2017-01-25 16:57:22 +01:00
twinaphex 6661c0fb94 Rewrite performance counter stop/start/init into macros 2017-01-25 16:53:06 +01:00
twinaphex 5ddcadcb2f video_monitor_get_fps only used from frame function, so get rid
of separate function
2017-01-25 16:33:44 +01:00
twinaphex c21fd538a9 Minor cleanups 2017-01-25 16:08:50 +01:00
twinaphex 41a647945b Create video_driver_get_record_status 2017-01-25 15:30:51 +01:00
twinaphex 4b01726f48 (video driver) Minor cleanups 2017-01-25 15:22:12 +01:00
twinaphex 631ee03df4 Expand video_driver_get_status 2017-01-25 04:42:19 +01:00
twinaphex a151c24117 Create video_driver_get_status 2017-01-25 04:39:21 +01:00
twinaphex fb84259742 Refactor some functions 2017-01-23 15:24:33 +01:00
twinaphex 68dc34d5a4 Move comment 2017-01-23 14:40:48 +01:00
twinaphex 34d3b88759 Cleanups 2017-01-23 14:19:32 +01:00
twinaphex b7ebcd6948 Simplify video_monitor_get_fps 2017-01-23 14:04:00 +01:00
twinaphex 9b1c0abf5e Create runloop_msg_queue_pull 2017-01-23 13:56:05 +01:00
twinaphex 0d5b3b9273 Create menu_driver_is_alive 2017-01-23 00:37:52 +01:00
twinaphex a104c73738 Go back to this 2017-01-22 23:19:35 +01:00
twinaphex d3707fe3b0 See if this works 2017-01-22 22:28:24 +01:00
twinaphex 2f504b4057 (gfx/drivers) Get rid of remaining runloop.h / runloop_ctl
references inside gfx/drivers
2017-01-22 18:17:48 +01:00
twinaphex d4b7edff4a Cut down on menu_driver_ctl usage from within video drivers 2017-01-22 17:30:32 +01:00
Brad Parker c4bfa6b0d2 DOS: initial VGA int13 graphics driver 2017-01-22 10:47:11 -05:00
twinaphex a1594615f0 Create runloop_get_status 2017-01-22 16:22:20 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex 23c35c39b5 Add more video_frame_info_t members 2017-01-22 02:04:58 +01:00
twinaphex e6c4327a1c (GL) Fix lockup at startup 2017-01-20 21:05:55 +01: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
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 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
twinaphex 22022f8133 Cleanup 2016-09-11 17:55:46 +02:00
twinaphex 8a9ae155a2 Cleanups 2016-09-08 08:10:31 +02:00
Alcaro e243614db8 Create half-broken XShm driver, to perform evil experiments on 2016-09-07 13:39:00 +02:00
twinaphex c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00
twinaphex f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex 82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex 075aea2289 Header include cleanups 2016-09-06 00:56:00 +02:00
twinaphex acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
hizzlekizzle 20a27822f3 make 1:1 PAR option more descriptive
should help avoid confusion about what it actually does.
2016-08-27 19:25:36 -05:00
twinaphex 5d70242dee Check against libdrm version 2.4.68 in order to enable/disable
plain DRM video driver
2016-07-03 22:08:56 +02:00
twinaphex d53cbfbdfb Backport DRM video driver 2016-07-03 10:37:07 +02:00
twinaphex acd68519de Create MSG_FRAMES 2016-06-30 05:41:53 +02:00
twinaphex 668b4b5d26 Remove duplicate fill_string_concat 2016-06-29 18:14:42 +02:00
twinaphex 1226c71b98 Use fill_string_concat 2016-06-29 18:14:42 +02:00
twinaphex f4ef5e82c2 Create and use fill_string_concat 2016-06-29 17:41:32 +02:00
twinaphex 2a9bf91e0d Use MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE 2016-06-29 02:40:05 +02:00
twinaphex 481e7d2f34 (libretro-common) Move STRING_REP_UINT64 to retro_common_api.h 2016-06-28 08:50:22 +02:00
Hans-Kristian Arntzen 10a6d7a458 Vulkan: Begin hooking up negotiation interface. 2016-06-25 21:01:36 +02:00
twinaphex 284f8cfd23 Remove menu_hash_ files 2016-06-20 03:35:09 +02:00
twinaphex 65dff0a03a menu_hash_to_str_enum has now become msg_hash_to_str 2016-06-20 00:31:13 +02:00
twinaphex e1316cb7ba Use menu_hash_to_str_enum 2016-06-15 23:43:24 +02:00
twinaphex d3d5d80e62 (video_driver.c) Buildfix 2016-06-15 17:40:09 +02:00
twinaphex dd04705d25 Turn menu_settings_list_current_add_enum_idx into public scope
function so we can use it in gfx/video_driver.c
2016-06-15 17:13:28 +02:00
FIX94 b80bba2061 (GX) only apply better gamma setting to wii and use old setting on ngc
(GX) show gamma setting in the video options on ngc, was hidden before
2016-06-05 18:57:29 +02:00
twinaphex 5a4ada4311 Avoid some warnings by using return value for config_get_int 2016-05-24 23:53:35 +02:00
twinaphex 7e36dcb27f move video_texture_image to libretro-common and rename it to image_texture.c 2016-05-18 12:58:00 +02:00
twinaphex 265c931c46 (gfx/video_texture_image.c) remove dependencies 2016-05-18 12:49:52 +02:00
twinaphex 281a33d61f Rename function to performance_counter_init 2016-05-16 09:58:45 +02:00
twinaphex f5bc75c640 Rename retro_perf_start/retro_perf_stop 2016-05-16 09:53:54 +02:00
twinaphex 18355d4748 Rename retro_perf_stop 2016-05-16 09:48:14 +02:00
twinaphex df3b090d7a Revert "Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info"
This reverts commit 35bf38e05c.
2016-05-12 09:37:21 +02:00
twinaphex 35bf38e05c Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info 2016-05-12 09:25:52 +02:00
twinaphex 9aed52ac65 Move performance.c to libretro-common/features/features_cpu.c 2016-05-10 20:31:27 +02:00
twinaphex 35ea37b37f Revert "Move cpu_features to libretro-common"
This reverts commit 2b8ff3bf38.
2016-05-10 09:32:24 +02:00
twinaphex 2b8ff3bf38 Move cpu_features to libretro-common 2016-05-10 09:27:29 +02:00
twinaphex 0d371def5c Refactor performance.c code 2016-05-10 09:17:04 +02:00
twinaphex b79b2dca13 Create performance_counters 2016-05-10 08:53:14 +02:00
twinaphex 7c20f2b868 Change namespace of thread functions 2016-05-10 03:14:23 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex 523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex 5f3f578311 Further otpimization 2016-05-09 08:03:36 +02:00
twinaphex c82505ed9e Show FPS in title bar only when 'Display Framerate' is enabled 2016-05-09 07:44:13 +02:00
twinaphex f8a7154557 Rename rarch_ functions 2016-05-09 07:09:26 +02:00
twinaphex e87f030246 C89_BUILD fixes 2016-05-09 05:50:08 +02:00
twinaphex 725c202498 Remove input_driver_ctl 2016-05-08 23:12:04 +02:00
twinaphex b20d550cc4 Rename video context driver functions 2016-05-08 20:32:56 +02:00
Torsten Paul 50a3cc3cf7 Ensure video_driver_frame_count is reset when the driver is (re-)initialized. 2016-05-08 18:48:38 +02:00
Hans-Kristian Arntzen d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
twinaphex e165954395 Rename libretro_version_1 to core_impl 2016-05-08 05:29:10 +02:00
twinaphex 6544772fb8 De-ioctl ify core_ctl 2016-05-08 01:33:57 +02:00
Twinaphex a85bc7bab6 RARCH_DISPLAY_CT_LOCK_NEW - make sure lock is freed beforehand 2016-05-06 18:55:42 +02:00
twinaphex 895783d854 Move some variables 2016-04-28 20:49:13 +02:00
twinaphex 60681195f8 Fix some concurrency bugs 2016-03-24 03:06:03 +01:00
twinaphex 61bae588fb Header include changes 2016-03-22 02:45:25 +01:00
twinaphex f59e334ceb Cleanups 2016-03-20 17:44:13 +01:00
twinaphex 5c0f4f4ac8 Cleanups 2016-03-20 17:41:28 +01:00
twinaphex ac6362cae4 Combine list_special files 2016-03-20 17:28:24 +01:00
twinaphex 2e080967b0 Reimplement grab mouse code a bit - we really need to drastically
rewrite this
2016-03-14 14:37:18 +01: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 a9d29041a3 (gfx/video_driver.c) Cleanup 2016-03-04 20:14:53 +01:00
twinaphex 90fbc6330c Create RARCH_DISPLAY_CTL_SET_TITLE_BUF 2016-03-04 19:38:15 +01:00
twinaphex 05ce32efe4 Add RUNLOOP_CTL_FORCED_NONBLOCK_{} actions 2016-03-04 19:20:00 +01:00
twinaphex fe9ad4825d (gfx/video_driver.c) Cleanups 2016-03-04 19:12:54 +01:00
twinaphex 6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
twinaphex d9b86c4f6b Remove stub xshm video driver for now 2016-02-26 17:29:35 +01:00
twinaphex ef1feca097 Some C89_BUILD fixes 2016-02-22 12:25:41 +01:00
twinaphex 25c1c6202f Silence warning 2016-02-20 19:46:35 +01:00
twinaphex fde9f1ce2c Start making GL optional (previously we assumed pretty much - hardware
context = GL) Still have the issue where the menu driver auto-switches
back to rgui instead of glui/xmb
2016-02-20 06:16:34 +01:00
twinaphex 2e853b3f04 Another ifdef 2016-02-17 01:24:38 +01:00
twinaphex 22452f6cb2 Ifdef hw_render_context_is_vulkan 2016-02-17 01:23:55 +01:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex f1a572822b Create RARCH_DISPLAY_CTL_VIEWPORT_INFO 2016-02-14 05:42:27 +01:00
twinaphex d078682a3c Add RARCH_DISPLAY_CTL_GET_CURRENT_SOFTWARE_FRAMEBUFFER 2016-02-14 05:31:33 +01:00
twinaphex 4fcb1469cc Cleanups 2016-02-14 05:26:17 +01:00
twinaphex 5516ff05b5 Create GFX_CTL_SET_VIDEO_MODE 2016-02-14 02:12:18 +01:00
twinaphex ef6ef13143 Add GFX_CTL_GET_VIDEO_OUTPUT_PREV/GFX_CTL_GET_VIDEO_OUTPUT_NEXT 2016-02-13 18:47:38 +01:00
twinaphex 6d8ee1f8d4 Remove input_driver_data_ptr_is_same 2016-02-13 07:40:02 +01:00
twinaphex 8c8ea6c167 Cleanups 2016-02-13 05:22:07 +01:00
twinaphex f1ea400456 Refactor away runloop_msg_queue_pull 2016-02-13 05:17:36 +01:00
netux79 a2851ab70b (GX) Resolution Saving's Video Corruption Fix.
Also some cleanups for the RA GX version included.
2016-02-12 16:58:59 -05:00
twinaphex c75557d204 Cleanups 2016-02-11 01:42:47 +01:00
twinaphex 712a38083b Style nits 2016-02-11 01:40:43 +01:00
twinaphex f8051d846f Turn function static 2016-02-08 00:36:32 +01:00
twinaphex c30a2ec990 Cleanups 2016-02-08 00:28:05 +01:00
twinaphex 95deab8f1d Cleanup 2016-02-08 00:26:33 +01:00
twinaphex 29d1326c4f We assume deinit/init is going to be correct from now on on
console
2016-02-08 00:24:20 +01:00
twinaphex cd578521e4 Cleanups 2016-02-08 00:23:03 +01:00
twinaphex b578ffb056 Create RARCH_DISPLAY_CTL_HW_CONTEXT_GET 2016-02-07 21:53:38 +01:00
twinaphex a2b2869ca6 Cleanup 2016-02-07 21:46:57 +01:00
twinaphex 0584b3c072 Create RARCH_DISPLAY_CTL_IS_HW_CONTEXT 2016-02-07 20:32:53 +01:00
twinaphex d8bfa7ab7d Rename RARCH_DISPLAY_CTL_DEINIT_VIDEO_CACHE_CONTEXT to RARCH_DISPLAY_CTL_DEINIT_HW_CONTEXT 2016-02-07 20:15:58 +01:00
twinaphex 702d9d4728 Create RARCH_DISPLAY_CTL_DEINIT_VIDEO_CACHE_CONTEXT 2016-02-07 20:11:16 +01:00
twinaphex 3e69eb5a8e video_driver_unset_callback - have destroy_callback do this
implicitly
2016-02-07 20:06:07 +01:00
twinaphex 71a8098037 Refactor RARCH_DISPLAY_CTL_HAS_WINDOWED 2016-02-07 01:11:07 +01:00
twinaphex b8b7ee530c Respect 80-char width limits 2016-02-06 21:51:37 +01:00
Twinaphex 9c9fdcfa58 (iOS 9) Fix iOS 9 build 2016-02-04 20:17:26 +01:00
Twinaphex 667e33e82b Buildfix 2016-02-04 20:05:20 +01:00
twinaphex 12d1de4232 Set these static variables initially to NULL 2016-02-04 20:03:31 +01:00
twinaphex 2cbb18b4e4 Create RARCH_DRIVER_CTL_FIND_INDEX 2016-02-01 13:15:53 +01:00
twinaphex 6151e1c425 Create CORE_CTL_RETRO_CTX_FRAME_CB and CORE_CTL_RETRO_CTX_POLL_CB 2016-01-27 04:49:38 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex 3a16acaa40 Prevent crash 2016-01-14 07:23:11 +01:00
twinaphex 54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex 08e73ea144 Non_HAVE_MEN codepath fixes - courtesy of Karlton
t # Please enter the commit message for your changes. Lines starting
2016-01-02 02:54:20 +01:00
twinaphex 4fd5f1cad6 Improvements to unsetting the video driver callback 2015-12-28 21:34:57 +01:00
twinaphex dde68de466 Add new environment callback - RETRO_ENVIRONMENT_GET_CURRENT_SOFTWARE_FRAMEBUFFER 2015-12-25 19:29:14 +01:00
twinaphex 7df9efbffe Get rid of some warnings when compiling for targets with no threaded
video defined
2015-12-25 07:11:34 +01:00
twinaphex fd644cb434 Revert "(video_driver.c) Ensure input is initialized in init_video_input"
This reverts commit d191e29d1b.
2015-12-20 23:52:50 +01:00
Higor Eurípedes d191e29d1b (video_driver.c) Ensure input is initialized in init_video_input 2015-12-20 19:12:14 -03:00
twinaphex aa488dda25 Create video driver poke load_texture / unload_texture 2015-12-20 20:52:23 +01:00
twinaphex fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
twinaphex b4fa396470 Cleanup 2015-12-09 10:14:43 +01:00
twinaphex 7bdc1da676 Create RARCH_DISPLAY_CTL_CACHED_FRAME_SET_PTR 2015-12-09 10:13:48 +01:00
twinaphex ebb0906f3e Remove function 2015-12-09 09:10:21 +01:00
twinaphex 39499eb107 Silence 'cannot be reached' warnings 2015-12-08 19:54:36 +01: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 9736713279 Create RARCH_DISPLAY_CTL_SET_STUB_FRAME/UNSET_STUB_FRAME 2015-12-07 21:16:15 +01:00
twinaphex 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex 0df4a8d2a2 Put message from video_driver_frame into separate buffer
temporarily for safety
2015-12-07 10:59:53 +01:00
twinaphex c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex 0389474e12 Set dangling pointers to null for RARCH_DISPLAY_CTL_DEINIT
and RARCH_AUDIO_CTL_DEINIT too
2015-12-06 18:15:00 +01:00
twinaphex a3033c2f66 Buildfixes 2015-12-06 18:12:49 +01:00
twinaphex 09ecd04d67 Make sure gpu_buffer is set back to NULL too upon
RARCH_DISPLAY_CTL_DESTROY time
2015-12-06 17:33:51 +01:00
twinaphex 0f9ba38b76 Make sure all static local variables from video_driver_ctl are
reset back to default state after calling RARCH_DISPLAY_CTL_DESTROY
2015-12-06 17:17:08 +01:00
twinaphex 083d1fec69 video_driver_frame - cleanup 2015-12-06 15:24:06 +01:00
twinaphex bbbf6513fd move gpu record buffer to video_driver.c 2015-12-06 15:22:20 +01:00
twinaphex a23598e553 Don't need video_driver_current_msg anymore 2015-12-06 14:32:30 +01:00
twinaphex 39e9d5c5ba Start cutting down on the size of some char local variables - we
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
twinaphex ec1b1c3e54 Header cleanups 2015-12-05 21:23:34 +01:00
twinaphex 5b939e810c Get rid of driver_t and driver_get_ptr 2015-12-05 16:54:13 +01:00
twinaphex 18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex 7e5d1f3117 Only rcord_driver.c references driver->recording now 2015-12-05 16:05:35 +01:00
twinaphex 89721b8837 Start creating font driver wrapper functions 2015-12-05 10:31:15 +01:00
twinaphex ddff980161 Remove unused variables 2015-12-05 09:14:55 +01:00
twinaphex f72b69e8d1 Don't include frontend_driver.h as part of driver.h 2015-12-05 09:09:31 +01:00
twinaphex c36b8e1ae9 Don't touch driver->frontend outside of frontend_driver.c anymore 2015-12-05 08:52:01 +01:00
twinaphex 351077dc78 Start reimplementing audio/video/input driver deiniting 2015-12-04 14:30:59 +01:00
twinaphex bdb54d91b7 video_monitor_fps_statistics - small cleanup 2015-12-04 08:27:47 +01:00
twinaphex 6411a7d0d9 Make video_driver_current_msg smaller 2015-12-04 08:04:16 +01:00
twinaphex 830b3052e5 (video_driver.c) Turn some variables into local static variables 2015-12-04 02:29:49 +01:00
Higor Eurípedes f63468d783 Fix some potential null derefs 2015-12-03 21:22:29 -03:00
twinaphex faa02023ce Check if video_driver_poke is false 2015-12-04 01:21:46 +01:00
twinaphex d8b9be9349 Put parentheses around earlier check 2015-12-04 00:26:53 +01:00
twinaphex b6be555809 Try to prevent a NULL pointer dereference for global - rename video_frame 2015-12-04 00:26:09 +01:00
twinaphex eda3e06898 (GL) Guard against possible segfaults in threaded video mode 2015-12-03 23:16:37 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex d1486464fe Turn video_driver_frame_filter into a static function 2015-11-30 07:22:08 +01:00
twinaphex 2fe9ef736c (video_driver.c) Uniquely namespace static variables 2015-11-30 07:14:23 +01:00
twinaphex ef591c416d Cleanups 2015-11-29 23:01:37 +01:00
twinaphex b62738465c Move video_active to gfx/video_driver.c 2015-11-29 21:38:47 +01:00
twinaphex e2fde41124 Move current_msg to gfx/video_driver.c 2015-11-29 20:59:52 +01:00
twinaphex a2399bc2cf Remove unused variable 2015-11-29 20:45:23 +01:00
twinaphex 1d44619f41 Move driver->video_cache_context and driver->video_cache_context_ack
to video_driver.c
2015-11-29 20:44:51 +01:00
twinaphex df9f0fc6d1 Move input_data_own to input_driver.c 2015-11-29 20:34:35 +01:00
twinaphex c62150c2a2 Move video_data_own to gfx/video_driver.c 2015-11-29 20:23:16 +01:00
twinaphex d181870caa No more dependency on driver_t for driver->input 2015-11-29 19:18:59 +01:00
twinaphex 7a6f444823 No more references to driver->input from outside 2015-11-29 19:07:02 +01:00
twinaphex 778c9a25d6 Remove another call to driver->input from inside 2015-11-29 19:03:23 +01:00
twinaphex 4ff0492e3d Start getting rid of driver->input references 2015-11-29 19:02:27 +01:00
twinaphex d76d9d3411 (gfx/video_driver.c) Cleanup 2015-11-29 18:30:22 +01:00
twinaphex be0857aff2 move video_pixel_scalar struct to gfx/video_driver.c 2015-11-29 01:48:25 +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 3b903adea1 Don't try to access driver->input_data from outside 2015-11-28 18:26:05 +01:00
twinaphex be71e654f3 Create input_driver_get_data_ptr 2015-11-28 18:22:05 +01:00
twinaphex 2b4464f30a Implement RARCH_MAIN_CTL_IS_IDLE 2015-11-28 15:03:59 +01:00
twinaphex 73ce9c0d23 Add another RARCH_INPUT_CTL_* command 2015-11-25 18:33:18 +01:00
twinaphex 14b2b8ada7 Start creating input_driver_ctl 2015-11-25 18:21:21 +01:00
twinaphex d2f771440b Contain driver->input_data usage 2015-11-25 03:15:22 +01:00
twinaphex 1639f27f8c Turn check_block_hotkey into static function 2015-11-24 01:54:21 +01:00
twinaphex cd51102281 Remove scaler_get_ptr 2015-11-24 01:50:37 +01:00
twinaphex 51291067eb video_driver.c) Turn some functions static 2015-11-24 01:30:52 +01:00
twinaphex 1f62479068 move video_frame to gfx/video_driver.c 2015-11-24 01:26:59 +01:00
twinaphex deae90e0bb Move use_rgba to gfx/video_driver.c - get rid of driver_t dependencies 2015-11-23 23:58:40 +01:00
twinaphex 06035875f2 Divorce video poke interface from driver_t struct 2015-11-23 22:14:39 +01:00
twinaphex 3ad52d0f08 Cleanups 2015-11-23 21:00:56 +01:00
twinaphex 1f87c6d9e2 Dont' try to access driver->video_context_data directly 2015-11-23 20:56:06 +01:00
Higor Eurípedes d665f8a6e4 (video_driver) Fix crash in deinit_pixel_converter() 2015-11-23 15:46:56 -03:00
twinaphex 24400bc797 Divorce audio_data from driver_t struct 2015-11-23 19:22:18 +01:00
twinaphex be7e4ad96b Move video_data to gfx/video_driver.c 2015-11-23 19:05:49 +01:00
twinaphex 389cf13db5 Don't reference driver->video_data outside of gx/video_driver.c anymore 2015-11-23 18:51:04 +01:00
twinaphex f9671333b5 Divorce current_video from driver_t struct 2015-11-23 18:11:17 +01:00
twinaphex 672a3814d6 Create more VIDEO_DRIVER_CTL_ commands 2015-11-23 18:01:46 +01:00
twinaphex c7dc83533a Add param to video_driver_get_ptr for grabbing the nonthreaded
data state
2015-11-23 16:06:09 +01:00
twinaphex 76d6378228 Go through video_driver_ctl 2015-11-23 15:01:49 +01:00
twinaphex 2e3c3d25b5 Create video_driver_frame 2015-11-23 14:53:56 +01:00
twinaphex 9b41061143 Rename driver->video 2015-11-23 14:14:12 +01:00
twinaphex 1bd2f2eb8a Make some pixel converter functions static 2015-11-23 13:05:50 +01:00
twinaphex beceaf4a8c Merge video_pixel_converter.c with video_driver.c 2015-11-23 13:02:24 +01:00
twinaphex 86504392b9 Create video_driver_set_size 2015-11-23 12:54:15 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex 85dbeeb8f9 No more video_monitor.h 2015-11-22 13:32:46 +01:00
twinaphex aa1e8dc543 (menu_setting) Refactor this macro mess 2015-11-21 16:32:22 +01:00
twinaphex 892d99b3a6 Add SET_VIEWPORT_CONFIG 2015-11-21 13:13:55 +01:00
twinaphex 806c124eae Merge video_viewport.c and video_driver.c 2015-11-21 13:01:23 +01:00
twinaphex 5b44bd0e6b Create RARCH_DISPLAY_CTL_SET_VIEWPORT_SQUARE_PIXEL 2015-11-21 12:54:38 +01:00
twinaphex 4db97a5300 Refactor away video_viewport_set_core 2015-11-21 12:45:36 +01:00
twinaphex cf5533ccaa Refactor away video_viewport_reset_custom 2015-11-21 12:36:14 +01:00
twinaphex 96b41b43b5 Cleanups 2015-11-21 11:24:02 +01:00
twinaphex e3c09e00b9 Move setting to function 2015-11-21 11:22:34 +01:00
twinaphex 35aef696ea Add RARCH_DISPLAY_CTL_DEFAULT_SETTINGS 2015-11-21 09:55:08 +01:00
twinaphex 30272dd413 Create 'loading and saving' of configuration settings for video_driver_ctl 2015-11-21 09:32:51 +01:00
twinaphex de44911092 (PS3/Wii) Reimplement video resolution code 2015-11-21 08:39:46 +01:00
twinaphex 1c3ba76e67 (PS3) Implement video output get prev/next 2015-11-21 07:54:42 +01:00
twinaphex e09e65e348 Add RARCH_DISPLAY_CTL_GET_NEXT_VIDEO_OUT 2015-11-20 21:20:12 +01:00
twinaphex b4ec6e208b init_video_input - cleanups 2015-11-20 21:07:15 +01:00
twinaphex d0ccd7065b Turn another function static 2015-11-20 21:05:27 +01:00
twinaphex daadda2553 Cleanups 2015-11-20 20:49:49 +01:00
twinaphex a7cb5b8491 Add RARCH_DISPLAY_CTL_MONITOR_ADJUST_SYSTEM_RATES 2015-11-20 20:47:47 +01:00
twinaphex e1ac9aed6b Add RARCH_DISPLAY_CTL_MONITOR_RESET 2015-11-20 19:04:00 +01:00
twinaphex 21cabec759 Add RARCH_DISPLAY_CTL_{DEINIT/INIT} 2015-11-20 19:01:13 +01:00
twinaphex c1fa9dc637 Make video_driver_unset_callback a static function 2015-11-20 18:57:04 +01:00
twinaphex 0184a73de8 init_video - cleanups 2015-11-20 18:55:01 +01:00
twinaphex ddde58caf4 Simplify video_driver_get_ptr 2015-11-20 18:50:21 +01:00
twinaphex 9ea40f5e32 Add RARCH_DISPLAY_CTL_SET_ASPECT_RATIO 2015-11-20 18:45:00 +01:00
twinaphex 5069d71295 Cleanups 2015-11-20 18:41:25 +01:00
twinaphex 225757f68c video_driver_ctl - cleanups 2015-11-20 18:38:08 +01:00
twinaphex 993da04e3b simplify video_driver_ctl 2015-11-20 18:36:38 +01:00
twinaphex d68401aa4d Add RARCH_DISPLAY_CTL_SHOW_MOUSE 2015-11-20 17:26:39 +01:00
twinaphex 3e986f9562 Add RARCH_DISPLAY_CTL_SET_NONBLOCK_STATE 2015-11-20 17:22:19 +01:00
twinaphex a59ca22457 Add RARCH_DISPLAY_CTL_FIND_DRIVER 2015-11-20 15:59:01 +01:00
twinaphex 704ff87b12 Add RARCH_DISPLAY_CTL_APPLY_STATE_CHANGES 2015-11-20 15:55:09 +01:00
twinaphex 09dda14549 Add RARCH_DISPLAY_CTL_READ_VIEWPORT 2015-11-20 15:41:20 +01:00
twinaphex d8eeed0a9e Add RARCH_DISPLAY_CTL_CACHED_FRAME_HAS_VALID_FB 2015-11-20 15:38:10 +01:00
twinaphex 6286e4b74c Add RARCH_DISPLAY_CTL_CACHED_FRAME_RENDER 2015-11-20 15:34:10 +01:00
twinaphex 0d5c928e68 video_driver_ctl - avoid cost of grabbing the pointers for actions
where it isn't needed
2015-11-20 15:25:25 +01:00
twinaphex 5cea9e5400 Add RARCH_DISPLAY_CTL_IS_FOCUSED 2015-11-20 15:24:24 +01:00
twinaphex 7141210d15 Remove video_driver_has_windowed 2015-11-20 15:20:54 +01:00
twinaphex ba4643a7c1 Add RARCH_DISPLAY_CTL_FRAME_FILTER_IS_32BIT 2015-11-20 15:16:58 +01:00
twinaphex 7b1f57b1cd Add RARCH_DISPLAY_CTL_FRAME_FILTER_ALIVE 2015-11-20 15:14:12 +01:00
twinaphex 533b799692 Create video_driver_ctl and get rid of video_driver_get_frame_count 2015-11-20 15:08:27 +01:00
aliaspider 75b57f1567 (3ds) improve performance when using video filters by allocating the
output buffer in linear memory.
2015-11-12 14:57:26 +01:00
twinaphex db5d8d248b Create new char_list_new_special 2015-10-26 19:41:20 +01:00
twinaphex b9febe2eed Add void pointer to string_list_special_new 2015-10-26 19:16:20 +01:00
twinaphex aff1bd03de Code deduplication 2015-10-26 08:55:59 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
Alcaro 4746e44992 Add this to the list. 2015-10-11 16:30:17 +02:00
twinaphex 4ca5d31f9b Some more static code analysis nits when ran with enable=all 2015-09-28 18:12:02 +02:00
twinaphex 1eb80f6c93 More static code analysis fixes 2015-09-28 17:18:48 +02:00
twinaphex d482dba2eb More static code analysis fixes 2015-09-28 16:57:22 +02:00