sonninnos
f1c144ea50
(XMB) Color + background adjustments ( #15556 )
...
* (XMB) Color + background adjustments
* (XMB) Improve font selector
2023-08-06 09:17:38 +02:00
libretroadmin
770b9920f5
Cleanups:
...
* No implicit memsets for texture_image
* Replace some calls with concatenated strlcpys
* Some style nits
2023-07-18 16:46:54 +02:00
libretroadmin
2eee87f714
(Vulkan) Cleanups
2023-07-18 00:08:55 +02:00
libretroadmin
11d5775318
(D3D12) Get rid of some implicit memsets
2023-07-17 23:45:34 +02:00
libretroadmin
62e4779fee
(D3D12) Get rid of some implicit memsets
2023-07-17 23:12:40 +02:00
libretroadmin
ae4e5d34f8
Get rid of some implicit memsets
2023-07-17 19:51:18 +02:00
libretroadmin
f8bda96fa4
(Vulkan) Get rid of some implicit memsets
2023-07-17 17:30:17 +02:00
libretroadmin
f1c651053f
- Use VK_FALSE/VK_TRUE consistently for Vulkan structts
...
- Some minuscule changes to file_path.c
2023-07-17 15:27:34 +02:00
libretroadmin
be65a13102
Cut down on update_title code duplication
2023-07-16 08:00:49 +02:00
libretroadmin
57906892d8
Revert "On mobile in portrait mode, don't override custom viewport"
...
This reverts commit 6a1320bcfb
.
2023-06-21 08:37:19 +02:00
libretroadmin
bdc398d79f
- Safer code - use strlcpy where possible instead of manual character
...
assignments for strings longer than 2 chars
- Use strlcpy concatenation instead of strlcat
- Make sure that what remains of iteration of the '_len' variable
for manual char assignment
is done in a safer way so mistakes are less possible
2023-06-20 16:33:55 +02:00
libretroadmin
c0d3b8f14b
Buildfix for X11 - rename win32_suppress_screensaver to
...
win32_suspend_screensaver
2023-06-20 11:56:25 +02:00
libretroadmin
5e2bfcbe09
x11_show_mouse and win32_get_video_output_size - get rid of duplicate
...
code
2023-06-20 11:46:00 +02:00
libretroadmin
08ba0b53c6
Standardize x11_suspend_screensaver
2023-06-20 11:37:29 +02:00
Bernhard Schelling
4518b117c9
Fix build error "conflicting types for ‘drm_free’"
...
Function name conflicts with different function in drm_free drm_common.h
2023-06-19 18:17:50 +02:00
libretroadmin
e8242253a7
Reduce strlcat calls where possible
2023-06-19 06:00:10 +02:00
libretroadmin
0517354181
* replace more strlcat calls with strlcpy
...
* Get rid of unnecessary string copies by clever usage of strlcpy
* Get rid of unnecessary temp variables when not needed
2023-06-18 22:37:01 +02:00
libretroadmin
631301b3f7
* Cut down on strlcat calls when possible and replace them with clever
...
usage of strlcpy (when position/offset of previous strlcpy/snprintf call
is known. strlcat implementation in libretro-common makes implicit strlen
call, using strlcpy avoids this
* Reduce a bunch of local char variables by use of said clever usage,
should save up on local stack size usage
2023-06-18 12:06:12 +02:00
libretroadmin
b8951de6fd
(GX2) Cleanups
2023-06-15 13:34:08 +02:00
libretroadmin
d342a4a04a
Signedness warning fixes
2023-06-14 23:25:50 +02:00
libretroadmin
246cceeb27
Silence more signedness warnings
2023-06-14 19:51:31 +02:00
Grisly Glee
4202f8650d
Fix trivial signedness warnings ( #15377 )
...
* Fix trivial signedness warnings
* Followup on trivial signedness warnings
2023-06-14 04:43:11 +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
Grisly Glee
1150e2b8f7
Fix xvideo gfx driver ( #15365 )
...
* Add menu support to xvideo gfx driver, making it usable
* Disable xvideo gfx driver by default
2023-06-11 02:21:42 +02:00
libretroadmin
0093817da1
(PSL1GHT) Buildfix
2023-06-05 00:49:18 +02:00
libretroadmin
2fa9e5cbb1
(D3D10) Cleanups for render_line and style nits
2023-06-04 02:00:40 +02:00
libretroadmin
691c09ef09
(Video drivers) Small cleanups/optimizations to render_line - hose
...
out some variables that are never subject to change
2023-06-03 20:56:19 +02:00
libretroadmin
eb509b8d8e
get_line_metrics always implemented for font rendering backend, take
...
out code parts for hypotheticla font rendering backends that don't implement
it
2023-06-03 18:34:47 +02:00
libretroadmin
51a8150e45
Do away with some NULL checks for font rendering backend
2023-06-03 17:21:19 +02:00
libretroadmin
31751a3945
Cleanups
2023-06-01 22:52:05 +02:00
libretroadmin
f49bfd2262
(CTR) Buildfix
2023-06-01 22:19:08 +02:00
libretroadmin
c1166ee823
Cleanups
2023-06-01 21:34:34 +02:00
libretroadmin
f3fe46393c
Cleanups
2023-06-01 20:29:05 +02:00
libretroadmin
27aeb314a1
merge d3d8_common.c into d3d8.c
2023-06-01 20:14:19 +02:00
libretroadmin
36cf7f00a8
Cleanups
2023-06-01 19:59:11 +02:00
libretroadmin
0a06ace36e
(vita) Fix vita2d_init symbol conflict
2023-06-01 02:30:45 +02:00
libretroadmin
e51d1a3d2a
Get rid of some old libtransistor files/codepaths
2023-06-01 00:08:00 +02:00
libretroadmin
0ee2f93ca4
Combine gfx_display files into video drivers
2023-05-31 23:58:06 +02:00
libretroadmin
d1b9badf41
Rename common files to _defines.h
2023-05-31 22:46:34 +02:00
libretroadmin
2bf08f5457
vulkan_font_render_msg - don't use video_st
2023-05-31 22:01:00 +02:00
libretroadmin
f08958dbc1
Move inline functions to files that actually need them,
...
move enums at the top of the header files
2023-05-31 21:50:07 +02:00
libretroadmin
7402d6ec94
(D3D11/D3D12) Small cleanups/micro-opts
2023-05-31 20:51:03 +02:00
libretroadmin
29584b9960
Move d3d8_texture_new to d3d8.c and make it static
2023-05-31 19:43:20 +02:00
libretroadmin
923b756926
Turn inline function into macro and move it to vulkan.c
2023-05-31 19:38:49 +02:00
libretroadmin
40fb10fd4e
- Move Vulkan common functions over to vulkan.c
...
- Fix some platforms
2023-05-31 19:32:33 +02:00
libretroadmin
4f6010bea7
COmbine font raster files and video driver files
2023-05-31 19:03:45 +02:00
libretroadmin
696dae6e70
Refactor away some video driver functions
2023-05-31 01:09:38 +02:00
libretroadmin
e70eb9ded2
Refactor video_driver_cached_frame_has_valid_framebuffer
2023-05-31 00:39:01 +02:00
libretroadmin
3737b99b05
Cleanups
2023-05-30 22:10:03 +02:00
libretroadmin
de63016bd3
(xshm_gfx) Silence warning
2023-05-30 21:29:21 +02:00
libretroadmin
c09fb6d95d
Cleanups
2023-05-30 12:19:53 +02:00
libretroadmin
85011c782e
move vulkan context driver code to vulkan.c
2023-05-29 19:13:47 +02:00
Eric Warmenhoven
6a1320bcfb
On mobile in portrait mode, don't override custom viewport
2023-05-27 02:50:32 +02:00
libretroadmin
b2582f443f
Move macro outside of HAVE_OVERLAY
2023-05-11 17:03:02 +02:00
libretroadmin
e613d05da7
Remove some gfx_display_{set|get}_ functions
2023-05-08 22:17:18 +02:00
libretroadmin
ced83c41e6
(Font) Less casting
2023-05-07 21:13:44 +02:00
libretroadmin
2304faf7f0
(D3D12) Undo commit a79dc19b6c
- allows us to
...
set RGUI aspect ratio again and internal upscale - going from upscaling
to no upscaling causes a crash though
2023-05-07 05:41:25 +02:00
libretroadmin
5ac380ec39
(D3D10) Fix RGUI
2023-05-07 03:50:18 +02:00
libretroadmin
fe8221a259
(D3D12) Remove unused function
2023-05-06 03:18:11 +02:00
libretroadmin
c400fa761c
(UI companion driver) Remove unused notify_content_loaded
2023-04-27 03:02:00 +02:00
libretroadmin
08d1b847fd
(D3D12) Go through local variables for graphics command list
2023-04-25 14:08:21 +02:00
libretroadmin
dcefb6e028
(D3D12) Get rid of the small inline wrapper functions
2023-04-24 18:11:26 +02:00
libretroadmin
238f887931
Get rid of initial for loop C89 noncompliance
...
* uwp_main.c - code style cleanups
2023-04-23 10:47:09 +02:00
aliaspider
50b9454f69
d3d12: enable blending when drawing the menu. ( #15181 )
2023-04-11 06:56:48 +01:00
libretroadmin
d48bd7244a
Libretro API update - add new context hardware render enums - enables
...
autodetection of DX12 for PS2 core
2023-04-11 00:54:02 +02:00
aliaspider
a79dc19b6c
D3D12: move fence signaling out of d3d12_gfx_sync. ( #15179 )
2023-04-10 16:37:36 +02:00
aliaspider
0adbd6905f
add D3D12 HW_render support. ( #15177 )
2023-04-10 01:08:44 +01:00
OsirizX
6cc05ab5ce
(PSL1GHT) Add overlay support ( #15149 )
2023-04-04 15:05:59 +01:00
libretroadmin
223f063894
Simplify win32_common.c
2023-04-03 20:26:04 +02:00
aliaspider
d3fad528ce
fix memory corruption in d3d11_gfx_init. ( #15139 )
2023-03-27 16:04:55 +01:00
barbudreadmon
1fb9853a93
(Shaders) pass rotation index to shaders ( #15136 )
2023-03-26 21:20:27 +01:00
andymcca
989359479c
Fix no on-screen notifications ( #15052 )
...
This was broken in commit 083b14b85c
- my bad, as I forgot to re-add the call to sdl_render_msg when reorganising sdl_gfx_frame!
2023-03-03 17:51:29 +01:00
Gabriel Morazán
9b2a4e6c88
(UWP/Xbox) Major Build Overhaul ( #15040 )
...
* (UWP) Major Build Overhaul
* (UWP) Add Back Assets
GitHub Desktop is stupid and ignored these files
* (UWP) Fix D3D12 Regression
2023-03-01 14:13:24 +01:00
sonninnos
6622cbb69d
(D3D11/12) Cleanups ( #15025 )
2023-02-26 13:27:05 +01: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
581b9e0b0d
(RSX) Updates to video driver
2023-02-23 16:11:01 +01:00
libretroadmin
7ebab640d7
Cleanups/style nits
2023-02-23 13:15:14 +01:00
OsirizX
c0ccb8cda3
(PSL1GHT) Code cleanup ( #15006 )
...
* (PSL1GHT) Use RSX_SHADER_STOCK_BLEND and RSX_SHADER_MENU defines
* (PSL1GHT) Cleanup compiler warnings
* (PSL1GHT) Make sure we compile with librt
2023-02-22 08:14:38 +01:00
warmenhoven
9c2f908d44
Fix initial blurriness on Metal ( #15002 )
...
This reverts #14963 and part of #14942 . Instead of forcing a size
change on mac the way we do on tvos, bring back the old way of making
two setContentSize calls.
2023-02-21 20:09:21 +01:00
libretroadmin
cdade2860f
(PSL1GHT/RSX) Buildfix
2023-02-20 18:45:54 +01:00
libretroadmin
f8db0b86a9
(RSX) Style nits
2023-02-20 18:32:40 +01:00
libretroadmin
a858101b80
(RSX/PSL1GHT) Buildfix
2023-02-20 16:31:46 +01:00
libretroadmin
ed8b378b62
(GL1) Fix signed/unsigned mismatch warnings
2023-02-20 16:29:49 +01:00
libretroadmin
4620b55476
(RSX/PSL1GHT) Cleanups and getting rid of warnings - array bounds exceeding
...
was troublesome so bumped up max shaders to 10 for now, some style nits in
RSX video driver, variable center_y could be uninitialized so fixed that
in psl1ght_input.c
2023-02-20 16:13:23 +01:00
libretroadmin
a4dda41739
(PSL1GHT) Buildfixes/warning fixes
2023-02-20 15:33:54 +01:00
libretroadmin
fed60c62b6
(PSL1GHT) Newer PSL1GHT versions since Mar 3, 2021 have renamed SetZControl
...
to SetZMinMaxControl
2023-02-20 14:58:09 +01:00
libretroadmin
7b413b667e
(RSX) Silence some warnings
2023-02-20 14:18:40 +01:00
reallibretroadmin
dc35763677
(Mac) Silence warnings
2023-02-18 17:15:52 +01:00
libretroadmin
6624126885
(MSVC) silence warnings
2023-02-18 17:04:23 +01:00
OsirizX
217656454c
[PSL1GHT] Fix video rotation ( #14990 )
2023-02-18 10:44:58 +01:00
warmenhoven
5685b5a9a1
mFI on OSX ( #14975 )
...
This adds mFI as a controller driver for OSX, as well as adding rumble
support for mFI controllers. Also add support for the Home button.
Also fixed a couple warnings.
2023-02-13 21:49:35 +01:00
Hans-Kristian Arntzen
89d2d66e98
[Vulkan] Fix regression with RGB565 and OriginalHistory. ( #14968 )
...
Need to let filter chain know that we remapped the format.
Otherwise we end up trying to copy RGBA8888 to RGB565.
2023-02-12 18:10:07 +01:00
libretroadmin
d5dc405ac1
(GL3) Buildfix for GL_DEBUG
2023-02-10 09:21:35 +01:00
OsirizX
0549223677
(PSL1GHT) Add improvements to the RSX driver ( #14965 )
...
* remove var error in psl1ght input
* (psl1ght) add modern_alpha_blend and modern_opaque rsx shaders
* (psl1ght) add perf improvements to the rsx driver
* add rsx gfx for psl1ght
* (psl1ght) set rsx as a compatible video driver
* Do xmb menu scaling for psl1ght
* (psl1ght) update Makefile to use latest shaders and more UI menu options
2023-02-10 08:29:45 +01:00
warmenhoven
9195de67c0
Fix metal driver for osx. This is safe to do everywhere. ( #14963 )
2023-02-10 06:29:23 +01:00
Hans-Kristian Arntzen
a77ada403e
[Vulkan] Use compute shaders to upload RGB565. ( #14953 )
...
A compatible path that is still fast. No reason to bother checking for
compat here really.
2023-02-05 19:23:48 +01:00
warmenhoven
338430d1ec
Fix tvos metal driver ( #14943 )
...
The drawableSizeWillChange notification was never coming, so the
viewport size was never getting set properly.
2023-02-03 07:32:44 +01:00
warmenhoven
8edbf51323
Fix warnings ( #14918 )
2023-01-28 17:29:53 +01:00
libretroadmin
7583e3d903
(Vulkan) Some refinements
2023-01-28 16:51:17 +01:00