1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-05 09:48:42 +00:00
Commit Graph

246 Commits

Author SHA1 Message Date
barbudreadmon
1fb9853a93
(Shaders) pass rotation index to shaders (#15136) 2023-03-26 21:20:27 +01:00
Cthulhu-throwaway
e45958b25a
(Network) Get rid of the timeout_enable parameter for socket_connect (#14351) 2022-08-25 04:40:19 +02:00
Cthulhu-throwaway
9b10579a54
(Network) Fix getaddrinfo_retro (#14261) 2022-07-31 11:22:28 +02:00
Autechre
7b9cbc08d7
Add HDR support for D3D12 (rebased PR from MajorPainTheCactus) (#12917)
* Add HDR support

* Attempt to fix Mingw build and Metal builds

* (D3D12) Fix relative header includes

* Add missing hdr_sm5.hlsl.h

* (d3d12_common.c) Some C89 build fixes

* Fix MSVC build

* - Attempt to fix build on mingw/msys unix with dirty hack
- Fix shader compilation of hdr_sm5.hlsl.h on MSVC/Visual Studio -
the define was seen as an error and was causing the first pipeline
to error out
- Make sure we manually set handle of backBuffer to NULL

* Moving the release of the texture above the freeing of desc.srv_heap
and desc.rtv_heap solves the hard crashes on teardown/setup in RA -
it was crashing hard in d3d12_release_texture before

* Add HAVE_D3D12_HDR ifdef - needs to be disabled for WinRT for now
because of several things that are Windows desktop-specific right now
(GetWindowRect)

* Add dirty GUID hack - should work for both mingw/msys on Windows/Linux
as well as MSVC/Visual Studio (hopefully)

* Change HAVE_D3D12_HDR to HAVE_DXGI_HDR

* Move away from camelcase named variables

* Fix RARCH_ERR logs - they need a newline at the end

* d3d12_check_display_hdr_support - make it return a bool on return
and set d3d12->hdr.support and d3d12->hdr.enable outside of the
function

* (DXGI) Remove D3D12 dependencies from dxgi_check_display_hdr_support and
move it to dxgi_common.c instead

* (DXGI) move d3d12_swapchain_color_space over to dxgi_common.c and
rename it dxgi_swapchain_color_space

* (DXGI) move d3d12_set_hdr_metadata to dxgi_common.c and
rename it dxgi_set_hdr_metadata

* (DXGI) dxgi_check_display_hdr_support - better error handling?

* Fix typo

* Remove video_force_resolution

* (D3D12) Address TODO/FIXME

* (D3D12) Backport
c1b6c0bff2
- Fixed resource transition for present when HDR is off
Fixed cel shader displaying all black as blending was enabled when the hdr shader was being applied - turned off blending during this shader

* Move d3d12_hdr_uniform_t to dxgi_common.h and
rename it dxgi_hdr_uniform_t

* (D3D11) Add HDR support

* Add TODO/FIXME notes

* Cache hdr_enable in video_frame_info_t

* Update comment
2021-09-03 06:15:25 +02:00
twinaphex
12012b5041 (com-parser) Use STRLEN_CONST 2020-10-02 20:50:11 +02:00
twinaphex
f785e4b045 Replace while (1) with for (;;) - avoids MSVC warnings 2020-01-30 16:15:52 +01:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
orbea
4c56167446 Convert to linux line endings. 2019-02-03 15:43:42 -08: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
aliaspider
13f18afcd9 (D3D10/11/12) cleanups / fixes. 2018-01-30 19:34:53 +01:00
aliaspider
a5bf9d8dc6 (D3D10/11/12)
.add a d3d10 driver.
.add more utility functions to d3d*_common files.
.add an image transfer/convert function to dxgi_common.
.various refactors / style nits.
2018-01-23 18:04:55 +01:00
Twinaphex
4a6a97be60
Merge pull request #5429 from GregorR/netplay-input-upgrades-1
Netplay input upgrades 1
2018-01-23 05:01:45 +01:00
aliaspider
c8027ebe1d (tools) add the tool used to generate the d3d headers. 2018-01-21 04:28:06 +01:00
Gregor Richards
e20024ead9 Adjustments to make ranetplayer work with the new protocol. 2018-01-05 14:27:02 -05: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
a132e33231 Add copyright headers to ps3py 2017-12-02 05:17:14 +01:00
bparker06
bf72dafe5c ps3: use python2 for pkg.py script 2017-08-06 20:17:00 -04:00
Gregor Richards
4746bbc972 Make ranetplayer save the INFO packet as a sort of format header 2017-02-21 17:46:29 -05:00
Gregor Richards
0955667f0d Adding ranetplayer netplay regression testing tool 2017-02-16 19:59:40 -05:00
twinaphex
c90108a3fb chmod +x on pkg.py 2016-08-12 00:09:22 +02:00
Hans-Kristian Arntzen
54c1759f45 Vulkan: Make a more general purpose symbol loader.
Avoids painful manual loading and wrapping function pointers everywhere
...

Reusable for cores, so move to libretro-common.
Also update built-in Vulkan headers.
2016-06-26 13:10:58 +02:00
Johannes Schickel
3a658172f8 (tools/cg2glsl.py) Write uniform declarations for fragment shaders.
Formerly, the fragment shader conversion pass did not write required uniform
declarations. This resulted in use of undefined symbols in some cases. In turn
conversion of some shaders to GLSL were broken.

This fixes conversion of some shaders, most prominently the hq shaders.
2016-03-05 12:49:21 +01:00
twinaphex
1b7576aa64 Kill off IS_JOYCONFIG 2015-11-11 20:15:27 +01:00
twinaphex
848a060562 Some CXX_BUILD fixes 2015-11-02 23:33:02 +01:00
twinaphex
26983462f4 Add Windows ifdefs around it 2015-11-01 18:51:03 +01:00
twinaphex
996f5c907b Fix build for retroarch-joyconfig on Windows 2015-11-01 18:49:14 +01:00
twinaphex
a1749c3d1b (PS3) ps3py/crypt.c - style nits 2015-10-27 02:02:15 +01:00
twinaphex
3a3e702ede Fix retroarch-joyconfig-griffin 2015-10-27 00:30:44 +01:00
twinaphex
f6ed72b21c More code deduplication 2015-10-26 18:33:51 +01:00
twinaphex
8b978bc674 More code de-duplication 2015-10-26 09:06:11 +01:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex
5465da0139 Rename rarch_sleep to retro_sleep 2015-09-22 18:55:14 +02:00
twinaphex
571c49ca87 (retroarch-joyconfig-griffin.c) Add C99 checks 2015-09-22 16:43:59 +02:00
twinaphex
82f08c42a6 More C89_BUILD fixes 2015-09-22 16:06:22 +02:00
twinaphex
3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +02:00
twinaphex
b9ba75403e (GL) Fix mixe code declaration (for C89_BUILD) 2015-09-21 11:50:02 +02:00
twinaphex
249006fffd Move files around 2015-09-20 15:26:10 +02:00
twinaphex
4ed3d66c04 Have rhash.c use retro_file 2015-09-17 20:36:44 +02:00
Twinaphex
e8d266cb9d Revert "Revert "Add support for shader pass feedback."" 2015-08-30 18:37:41 +02:00
Twinaphex
ad1825ca50 Revert "Add support for shader pass feedback." 2015-08-30 18:21:07 +02:00
CautiousAlbino
aee5e74001 Add support for shader pass feedback. 2015-08-30 16:23:55 +02:00
Felix Laurie von Massenbach
c5930e5a0c More refactoring of cg2glsl.py. 2015-08-08 23:04:03 +01:00
Felix Laurie von Massenbach
867b83e352 More refactoring of cg2glsl.py. 2015-08-08 22:38:08 +01:00
Felix Laurie von Massenbach
f272431b5d Refactor cg2glsl.py. 2015-08-08 22:37:50 +01:00
Felix Laurie von Massenbach
da4cc54b8c Add a python2 compatability warning to cg2glsl.py. 2015-08-08 20:48:48 +01:00
Felix Laurie von Massenbach
1541db37e9 Make cg2glsl.py comply with PEP8. 2015-08-08 20:45:39 +01:00
Felix Laurie von Massenbach
1bfd83932c Fix indentation in cg2glsl.py. 2015-08-08 20:32:58 +01:00
Jose Ernesto Ramirez Ramirez
09f3c3ca77 Fixed nunchuk controller support, it was not correctly detected.
Fixed classic controller's analogs, were not working at all.
Restored sixaxis controller support, now with completely rewroten library.
Changed detection order (GC, Sixaxis, Wiimote/Nunchuck/Classic, left wiimote at the end, otherwise we needed to disconnect it to be able to use GC controller or sixaxis controller.
2015-07-13 22:58:01 -05:00
Toad King
d0866995bd set back button to menu toggle if not set through autoconf 2015-07-02 21:48:06 -05:00