Commit Graph

163 Commits

Author SHA1 Message Date
twinaphex 4738ef545c Change interval type to signed int 2018-09-12 00:08:13 +02:00
twinaphex 0d39701145 Get rid of double void argument 2018-07-14 00:54:14 +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 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 f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +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 0da40fb3aa Move all float settings 2017-04-28 14:57:55 +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 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 5a3b78bad3 Get rid of more performance counters 2017-04-24 11:24:16 +02:00
twinaphex 365c7f9c8b (Video drivers) Cleanups 2017-04-24 10:08:32 +02:00
twinaphex 1b27c3dec1 Make some log messages more consistent 2017-03-24 00:28:21 +01:00
twinaphex a9164b7124 Try to use performance counter plus functions in most cases 2017-01-25 17:12:43 +01:00
twinaphex 6661c0fb94 Rewrite performance counter stop/start/init into macros 2017-01-25 16:53:06 +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 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex b97b40af75 (vg.c) Buildfix 2017-01-21 18:54:13 +01:00
twinaphex fe84312340 Add some header includes 2017-01-19 17:20:42 +01:00
twinaphex c5445d2980 Reduce amount of times video_driver_get_size is called 2017-01-18 23:02:24 +01:00
twinaphex d010a852e4 Call menu_driver_frame once per video_frame call 2017-01-18 22:20:47 +01:00
twinaphex a6a4808e94 Refactor frame monitor code 2017-01-18 17:41:27 +01:00
twinaphex 76ae7ac4a0 Cleanup some of the video drivers - add some members to
video_info_t to reduce the need for accessing the settings
struct
2017-01-10 18:16:22 +01:00
twinaphex 6b3cc9068d Pass video_info to swap_buffers too 2017-01-09 14:59:15 +01:00
twinaphex 3d92ce140e Pass video_frame_info_t to update_window_title 2017-01-09 14:42:07 +01:00
twinaphex be2f921ee2 Don't use settings pointer inside video_frame function 2017-01-09 14:25:59 +01:00
Brad Parker 1f27773fe0 C89_BUILD fix 2016-10-04 12:15:46 -04:00
Alcaro 9485263555 Fix implicit strstr 2016-09-15 21:16:25 +02:00
twinaphex 202e3e796e Get rid of more general.h includes 2016-09-11 14:46:53 +02:00
dankcushions cdc4bff3fb Fix build on Raspberry Pi (3) 2016-09-06 21:54:53 +01: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 4a7ab8366b Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
twinaphex b79b2dca13 Create performance_counters 2016-05-10 08:53:14 +02:00
Torsten Paul 737e2832f2 Fix typos in VideoCore driver causing compile error on Raspberry Pi. 2016-05-08 21:55:46 +02:00
twinaphex b20d550cc4 Rename video context driver functions 2016-05-08 20:32:56 +02:00
twinaphex 7399ba386a Rename gfx_ctx_ prefix 2016-05-08 19:24:23 +02:00
twinaphex 65dec874a8 Move some path settings 2016-04-28 19:52:25 +02:00
twinaphex 414c63b59a (VG) Silence some warnings
(Libretro-common) Add some headers
2016-03-02 23:09:31 +01:00
twinaphex ac3cb48302 (VG) Style nits 2016-02-26 17:36:39 +01:00
twinaphex c2d7b330aa vg.c - buildfix 2016-02-14 16:15:01 +01:00
twinaphex 68969d1363 Add GFX_CTL_GET_VIDEO_SIZE 2016-02-14 02:26:20 +01:00
twinaphex 5516ff05b5 Create GFX_CTL_SET_VIDEO_MODE 2016-02-14 02:12:18 +01:00
twinaphex 6413449944 (Android/EGL Images) Buildfixes 2016-02-14 02:00:14 +01:00
twinaphex 154f85c6fa Add GFX_CTL_SUPPRESS_SCREENSAVER 2016-02-13 23:39:12 +01:00
twinaphex f6afe72a1e Add GFX_CTL_IMAGE_BUFFER_WRITE 2016-02-13 23:35:47 +01:00
twinaphex 0a9787ec49 Create GFX_CTL_INPUT_DRIVER 2016-02-13 23:26:33 +01:00
twinaphex ce41c5bbca Create GFX_CTL_TRANSLATE_ASPECT 2016-02-13 22:07:56 +01:00
twinaphex f94e9c532e Create GFX_CTL_PROC_ADDRESS_GET 2016-02-13 22:02:49 +01:00
twinaphex 9e186b4587 Create GFX_CTL_SWAP_INTERVAL 2016-02-13 20:45:45 +01:00
twinaphex 46c9ff36ef Create GFX_CTL_CHECK_WINDOW 2016-02-13 19:53:14 +01:00
twinaphex 7c28ddbfc5 Add GFX_CTL_IMAGE_BUFFER_INIT 2016-02-13 18:51:16 +01:00
twinaphex 8721c857e9 Add GFX_CTL_SET 2016-02-13 18:27:05 +01:00
twinaphex 425a290ced Remove gfx_ctx_destroy 2016-02-13 16:33:38 +01:00
twinaphex ef1b0b0965 Add GFX_CTL_UPDATE_WINDOW_TITLE 2016-02-13 08:50:22 +01:00
twinaphex f079ca29e4 Add GFX_CTL_HAS_WINDOWED 2016-02-13 08:37:10 +01:00
twinaphex 752e9abd4e Add GFX_CTL_SWAP_BUFFERS 2016-02-13 08:33:33 +01:00
twinaphex 0a7c481ff0 Create GFX_CTL_FOCUS 2016-02-13 08:29:58 +01:00
twinaphex fab6c9b8c4 Add GFX_CTL_FREE 2016-02-13 08:26:54 +01:00
Alcaro 03e9577686 Fix compile fail. 2016-02-12 15:27:48 +01:00
Higor Eurípedes 962455fafa (vg) Fix build again 2015-12-08 21:59:59 -03:00
Higor Eurípedes dc371da6ed (vg) Fix build 2015-12-08 21:51:29 -03:00
twinaphex df1c6344be Merge font_renderer_driver.c and font_driver.c 2015-12-05 12:07:22 +01:00
twinaphex 32b363c75e Cleanups 2015-11-23 21:32:05 +01:00
twinaphex 6f18656baa driver->video_context should be self-contained now to video_context_driver.c 2015-11-23 21:20:21 +01:00
twinaphex 8030f91667 Don't use video_driver_get_ptr inside shader_null 2015-11-23 16:41:50 +01:00
twinaphex 86504392b9 Create video_driver_set_size 2015-11-23 12:54:15 +01:00
twinaphex 806c124eae Merge video_viewport.c and video_driver.c 2015-11-21 13:01:23 +01:00
twinaphex 9d98bfbe6b (GX) Move defines to defines/gx_defines.h 2015-11-18 12:55:28 +01:00
twinaphex 7e592df3e8 (vg.c) Variable rename 2015-11-11 03:28:40 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex e986b9e42a Static code analysis cleanups 2015-09-29 17:35:28 +02:00
twinaphex 2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
twinaphex 0c023dcb68 Reimplement frame count 2015-08-03 23:01:07 +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 79db0c2ab5 Start using video_driver_get_size in video drivers 2015-05-20 00:45:42 +02:00
twinaphex 4ecfe639b3 Create local frame_count variables again in video_drivers 2015-05-09 15:41:10 +02: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 0ba4e81e63 (VG) Build fixes 2015-04-26 23:19:19 +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 1860f06926 (VG) Cleanups 2015-04-26 06:04:16 +02:00
twinaphex be96b95dda Style nits 2015-04-11 08:45:55 +02:00
twinaphex 4f43e4b363 Go through gfx_ctx_get_proc_address 2015-04-10 09:24:10 +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 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 901662caad (vg.c) Use gfx_ctx_translate_aspect 2015-04-10 06:52:51 +02:00
twinaphex d16b22fa80 (vg.c) Start going through gfx_ctx wrapper functions 2015-04-10 06:51:00 +02:00
twinaphex 8616a9bf28 (VG) Go through gfx_ctx_get_ptr 2015-04-09 18:46:24 +02:00
twinaphex e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex f130b00596 Updates pt. 3 2015-03-20 22:08:36 +01:00