Commit Graph

150 Commits

Author SHA1 Message Date
twinaphex fe1255094f Get rid of now unused set_coords in video_driver_poke_interface 2019-03-18 05:04:23 +01:00
orbea bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex c4c8699ee3 Only show max swapchain images if supported by video driver and/or
context driver
2018-04-23 13:34:30 +02:00
Brandon Wright 7a00534378 Add poke interface for get_refresh_rate. 2018-04-15 17:56:11 -05:00
twinaphex 9b8713aebd Fix Coverity defects 2018-03-24 11:59:01 +01:00
twinaphex 4d1b4f905f Start adding OSD statistics - doesn't work yet for SDL2/SDL 2018-03-23 17:43:49 +01:00
twinaphex 08e61230e9 Update video_poke_interface 2018-01-30 22:29:57 +01:00
twinaphex 82d44e9ad3 Cut down on more HAVE_MENU ifdefs 2017-12-31 18:02:14 +01:00
twinaphex cf3a010ead Remove some HAVE_MENU ifdefs 2017-12-31 17:42:07 +01:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex 683c437941 Updates 2017-11-14 21:34:03 +01:00
twinaphex d4756f83e5 Stop calling video_driver_context_has_windowed from within video
drivers
2017-05-13 19:11:32 +02:00
twinaphex f928e57064 Combine video_context_driver.c and video_driver.c 2017-05-09 01:25:59 +02:00
twinaphex dd83b4a043 (Vita) Buildfix 2017-04-29 17:52:16 +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 91abbdd4f1 video_viewport_get_custom will never be NULL 2017-04-29 16:22:07 +02:00
twinaphex c8bf28842f Get rid of some calls to video_driver_viewport_get_custom 2017-04-29 16:11:31 +02:00
Francisco José García García afe173c883 [VITA] Really fix build 2017-04-29 12:02:26 +02:00
twinaphex 552845a94d Buildfixes 2017-04-29 02:39:32 +02:00
twinaphex 05e4ec733e Move uint variables 2017-04-28 21:03:04 +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 e5b38315fe Revert "Add real_width and real_height to video_info struct - let"
This reverts commit 831ea1a507.
2017-04-24 12:25:07 +02:00
twinaphex 831ea1a507 Add real_width and real_height to video_info struct - let
the drivers set this depending on the video width/height they
get back from the video context driver
2017-04-24 12:18:28 +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 257410d058 Turn matrix_4x4_multiply into macro 2017-04-16 07:55:02 +02:00
twinaphex 32cebbbcba Turn more matrix_4x4 functions into macros 2017-04-16 04:00:20 +02:00
twinaphex fbd6d0ebc6 Turn more matrix 4x4 functions into macros 2017-04-16 03:53:07 +02:00
twinaphex 0d3703bc13 (Vita) Buildfix 2017-01-25 18:39:55 +01:00
twinaphex 3a4963b474 (vita2d_gfx.c) Cleanups 2017-01-24 14:08:28 +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 fe84312340 Add some header includes 2017-01-19 17:20:42 +01:00
twinaphex e0ff0541a2 Pass video_info pointer to font drivers 2017-01-19 16:30:40 +01:00
twinaphex d010a852e4 Call menu_driver_frame once per video_frame call 2017-01-18 22:20:47 +01:00
twinaphex bf511b72e6 Create menu_driver_frame 2017-01-18 21:23:18 +01:00
twinaphex a6a4808e94 Refactor frame monitor code 2017-01-18 17:41:27 +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 c1c35c5120 More platform build fixes 2017-01-10 21:15:52 +01:00
twinaphex 36fb6776b2 Don't grab settings pointer in video_monitor_get_fps function 2017-01-09 15:42:14 +01:00
twinaphex be2f921ee2 Don't use settings pointer inside video_frame function 2017-01-09 14:25:59 +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 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 feae0823ce Prevent some implicit memsets 2016-12-17 14:40:06 +01:00
twinaphex d57d672d15 Remove unused variable 2016-11-28 02:25:38 +01:00
twinaphex 275814e291 Replace font_driver_free(NULL) calls with font_driver_free_osd()
inside video drivers
2016-10-20 00:39:33 +02:00
Higor Eurípedes 6f2cb9742d (font) Create font_data_t and update font_driver_init_first() 2016-10-18 20:07:00 -03:00
Francisco José García García 81e7a60759 (VITA) Try to use NEON 2016-10-17 18:39:53 +02:00
Francisco José García García 8e631df6c4 (VITA) Temporal fix for clear screen 2016-10-16 17:45:06 +02:00
Francisco José García García bcfa865569 (VITA) Wait for rendering before free overlays 2016-10-10 19:35:14 +02:00
Francisco José García García 8a6625753d (Vita) Add get framebuffer 2016-09-27 23:39:24 +02:00
twinaphex 202e3e796e Get rid of more general.h includes 2016-09-11 14:46:53 +02:00
Francisco José García García 04b5dbdb5c (VITA) Silence texture load 2016-09-07 23:53:20 +02:00
Francisco José García García 4221374072 (VITA) Add XMB support 2016-08-23 02:49:53 +02:00
Francisco José García García 70f16cddda (VITA) Fix setting aspect ratio 2016-08-15 02:39:34 +02:00
Francisco José García García cddef9827d (VITA) Fix rgb32 2016-08-08 01:51:23 +02:00
Francisco José García García d514963a95 (VITA) Show fps 2016-08-03 02:02:44 +02:00
Francisco José García García 95b630636d (VITA) Rotation workaround 2016-08-01 20:26:29 +02:00
Francisco José García García b4bd9cf830 (VITA) Fix rotation 2016-07-31 19:48:55 +02:00
Hans-Kristian Arntzen 66c4f608e6 Clear out rest of video_driver_ctl use. 2016-05-08 14:10:28 +02:00
twinaphex 2c77616ec3 (gfx/drivers) Cleanups 2016-05-05 01:59:05 +02:00
twinaphex 65dec874a8 Move some path settings 2016-04-28 19:52:25 +02:00
twinaphex 157eb71606 Use string_is_equal more 2016-01-20 06:16:55 +01:00
twinaphex 54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
twinaphex aa488dda25 Create video driver poke load_texture / unload_texture 2015-12-20 20:52:23 +01:00
twinaphex c8d8176c0c Get rid of unused variables 2015-12-05 12:50:56 +01:00
twinaphex 988162ed62 Cut down on code duplication 2015-12-05 11:29:06 +01:00
twinaphex 5f27366cb3 Expand font_driver_init_first 2015-12-05 11:18:05 +01:00
twinaphex a26e64e24d Expand font_driver_free 2015-12-05 10:54:53 +01:00
twinaphex e196fdf141 font_driver_render_msg - make it possible to pass special font data 2015-12-05 10:49:28 +01:00
twinaphex c88d795734 Start using font driver wrapper functions 2015-12-05 10:33:50 +01:00
twinaphex 32b363c75e Cleanups 2015-11-23 21:32:05 +01:00
twinaphex 85dbeeb8f9 No more video_monitor.h 2015-11-22 13:32:46 +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
Francisco José García García 8e652f613a (Vita) OSD messages 2015-10-02 00:11:54 +02:00
Francisco José García García 4f7be65f32 (Vita) Add Overlays 2015-09-29 20:01:42 +02:00
twinaphex e986b9e42a Static code analysis cleanups 2015-09-29 17:35:28 +02:00
twinaphex 4ca5d31f9b Some more static code analysis nits when ran with enable=all 2015-09-28 18:12:02 +02:00
Francisco García 9060feba92 (Vita) Set background color to black 2015-09-17 11:08:06 +02:00
Francisco José García García 08f5db24b4 (Vita) vita2d updated 2015-09-15 00:12:10 +02:00
twinaphex ea6119c1c7 (Vita) Add forward declaration for scePowerSetArmClockFrequency 2015-09-14 03:50:34 +02:00
Francisco José García García f5eba9f8a6 (Vita) Add Rotation 2015-09-11 18:02:59 +02:00
Francisco José García García 1e0526b9c7 (Vita) Add viewport resizing 2015-09-09 01:10:48 +02:00
Francisco José García García 76e13a6957 (Vita) Add texture filtering 2015-09-08 20:40:38 +02:00
twinaphex 1310263470 (Vita) Cleanups 2015-09-05 16:22:25 +02:00
Sergi Granell 4dfaa33ad1 (Vita) Update the vita2d video driver 2015-09-02 18:56:24 +02:00
Sergi Granell 5d920aa045 (Vita) vita2d_gfx_free: Set textures to NULL 2015-09-01 01:36:27 +02:00
Sergi Granell dbb91c85e6 (Vita) Check vita->texture before freeing it 2015-08-31 21:41:45 +02:00
Sergi Granell 56af52a268 (Vita) Fix spaces 2015-08-31 21:37:50 +02:00
Sergi Granell 6c5d250ff1 (Vita) Prepare code for fullscreen 2015-08-31 21:31:34 +02:00
Sergi Granell 96146e5313 (Vita) Update vita2d driver
(Vita/PSP) Name some stuff to vita
2015-08-31 15:26:37 +02:00
Sergi Granell 94e893634d (Vita) Update gfx driver 2015-08-31 00:56:14 +02:00
Sergi Granell 5deceb35ba (Vita) Update Vita frontend 2015-08-30 22:48:44 +02:00
Sergi Granell 3b04de6a5f (Vita) Update vita2d video driver 2015-08-30 20:12:16 +02:00
Sergi Granell 3b54e81d00 (Vita) Start vita2d_gfx video driver 2015-08-30 20:12:16 +02:00