Eric Warmenhoven
b557bc9523
Fixing compiler warnings ( #17001 )
2024-09-14 13:11:20 -07:00
Joseph C. Osborn
2805694378
Refactor viewport handling/aspect ratio scaling.
...
This mirrors the use of video_viewport_get_scaled_integer for
non-integer scaling at various aspect ratios. Two variants are
provided, one with implicit device and desired ratios and one with
explicit ratios.
Also added a flag to video_viewport_get_scaled_integer to indicate the
direction of positive y.
2024-06-25 08:18:39 -05:00
LibretroAdmin
466e82f55d
Update sdl2_gfx.c
2023-10-31 12:01:00 -07:00
libretroadmin
bc41e0fdf4
video_frame_info - start passing flags
2023-08-16 19:17:23 +02:00
libretroadmin
08ba0b53c6
Standardize x11_suspend_screensaver
2023-06-20 11:37:29 +02:00
Grisly Glee
6f0c48b4c4
Clean up gfx driver interface structs ( #15379 )
2023-06-14 04:42:34 +02:00
Grisly Glee
a2285de73e
Have sdl2 gfx driver use "nearest" scaling in menus ( #15366 )
2023-06-11 06:35:45 +02:00
libretroadmin
4f6010bea7
COmbine font raster files and video driver files
2023-05-31 19:03:45 +02:00
libretroadmin
c09fb6d95d
Cleanups
2023-05-30 12:19:53 +02:00
libretroadmin
ced83c41e6
(Font) Less casting
2023-05-07 21:13:44 +02:00
libretroadmin
51d238875e
Get rid of obsolete HAVE_VIDEO_LAYOUT - obsolete spec, was only
...
ever implemented for OpenGL2 driver, lots of code debt, best to
instead just keep improving the overlay system instead which is
already available for most video drivers
2023-02-23 21:03:41 +01:00
libretroadmin
e272edc8c0
(SDL2) Cleanups
2023-01-24 21:54:06 +01:00
jdgleaver
0a08437e0a
Add OpenDingux Beta support
2021-03-25 16:19:42 +00:00
twinaphex
15b9bd47b9
(SDL2) Fix jump to label crosses initialization of const char* video_driver
2021-03-22 14:38:10 +01:00
twinaphex
732fce9a04
(SDL2) Add ifdefs for HAVE_X11 and HAVE_WAYLAND
2021-02-01 23:18:06 +01:00
Keith Bowes
125154e831
Get the SDL2 video driver to work in Wayland/KMS
2021-01-21 09:42:06 -05:00
twinaphex
5166eebcaf
for loop cleanups - use space after 'for'
2020-08-19 03:06:22 +02:00
twinaphex
72afa2f932
Cleanups
2020-08-03 16:33:54 +02:00
twinaphex
3e41cbc381
Revert "Add get_metrics to poke interface"
...
This reverts commit 119689c9405b5e4a321fafc340f6f0294b0338c3.
2020-08-02 23:44:28 +02:00
twinaphex
119689c940
Add get_metrics to poke interface
2020-08-02 19:25:45 +02:00
twinaphex
60f3265017
Cleanups
2020-07-27 13:16:14 +02:00
twinaphex
d717f3537a
Update sdl2_gfx.c
2020-05-22 22:58:41 +02:00
twinaphex
9ace693ec0
Refactor menu_driver_frame
2020-05-19 16:20:43 +02:00
valadaa48
6e4228b054
Add drm_go2_ctx for odroidgo2
...
- Revert odroidgo changes to drm_ctx
- Introduce new drm_go2_ctx specifically for odroidgo2 (and libgo2)
- Add hw_scaling option to mitigate builtin gl scaling/filtering and to
use libgo2 and rga's hw scaling and bicubic filtering via librga. The
quality of the image is improved by this and should be a bit faster.
Credits to CrashOverride for the initial libgo2 port and
commit to RA. And to natinusala for the initial cleanup/commit in the original
drm_ctx driver. NOirBRight for finding this setting and testing.
2020-03-28 03:30:28 +00:00
twinaphex
f4c5036c3c
Get rid of video_frame_info dep for fonts
2020-03-10 03:24:59 +01:00
twinaphex
4c92d43fe2
(Gfx drivers) More cleanups
2020-03-07 19:54:58 +01:00
twinaphex
1b0ab1c05f
Cleanups
2020-02-21 07:34:53 +01:00
twinaphex
ec302bc4fc
video_set_nonblock_state - remove settings dependency
2020-02-16 22:26:07 +01:00
twinaphex
c5b3428408
Add sdl2_common.c/.h
2019-09-22 12:40:40 +02:00
twinaphex
c7fd375120
Create video_driver_display_userdata_{set/get}
2019-09-22 07:35:05 +02:00
twinaphex
a45c9b6eb4
Duplicate aspect ratio code that was being ran twice
2019-08-12 12:52:40 +02:00
twinaphex
65b4c2595e
Update set keyboard mapping code for input driver
2019-07-27 02:21:24 +02:00
Huw Pascoe
2c56011f84
video_layout interface
2019-05-11 09:58:48 +01:00
twinaphex
a0b2d97ca3
Hide 'Take Screenshot' for video drivers that don't support
...
taking screenshots yet
2019-05-05 13:46:26 +02:00
twinaphex
f67bfa24ef
Get rid of video_poke_interface set_mvp
2019-03-18 15:19:11 +01:00
twinaphex
fe1255094f
Get rid of now unused set_coords in video_driver_poke_interface
2019-03-18 05:04:23 +01:00
Brad Parker
433cbb021f
temporary crash fix
2019-02-26 23:37:08 -05:00
orbea
e062b98088
Remove trailing blank lines.
...
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08: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
0d39701145
Get rid of double void argument
2018-07-14 00:54:14 +02: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
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
7dcd46a20f
Get rid of HAVE_MENU ifdefs for video_driver_poke interface
2018-01-30 22:14:47 +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
f928e57064
Combine video_context_driver.c and video_driver.c
2017-05-09 01:25:59 +02:00