1601 Commits

Author SHA1 Message Date
twinaphex
1887aee7c4 (D3D11) Cleanup some inline functions 2022-04-23 09:07:00 +02:00
twinaphex
5d82b36f9c (D3D11) Use less inlined functions 2022-04-22 22:58:35 +02:00
twinaphex
7f8a0e352f (D3D11) Get rid of some inline functions 2022-04-22 21:12:05 +02:00
twinaphex
90f53bf6f4 (D3D9) Cleanups 2022-04-22 16:21:27 +02:00
twinaphex
845a469d4c (D3D8/9) Cleanups 2022-04-22 16:02:21 +02:00
twinaphex
45c901ca53 (D3D8) Cleanups - get rid of many inline functions 2022-04-22 15:05:28 +02:00
twinaphex
0117228fec (D3D9 HLSL) Buildfix 2022-04-22 14:41:50 +02:00
twinaphex
afb04b419b (D3D9) Cleanups 2022-04-22 14:37:39 +02:00
twinaphex
b231ae7c41 (D3D9) Start getting rid of inline D3D9 functions 2022-04-22 14:25:13 +02:00
twinaphex
cedf77d87f Move d3d9_renderchain_blit_to_texture to d3d9_common.c 2022-04-22 13:50:36 +02:00
twinaphex
b43039f7b0 (D3D8) Buildfixes 2022-04-20 18:25:34 +02:00
twinaphex
5b97ba65c0 (D3D8) Buildfix 2022-04-20 18:06:20 +02:00
twinaphex
437051c112 (D3D8) Replace inline function calls with straight function calls 2022-04-20 17:26:03 +02:00
twinaphex
8c27e58e20 (D3D8/D3D9) Cleanups 2022-04-20 16:00:00 +02:00
twinaphex
3cf86d3093 Get rid of d3d9_SDKVersion 2022-04-20 15:47:32 +02:00
twinaphex
e1f74d3959 Merge renderchain code 2022-04-20 12:32:44 +02:00
twinaphex
6195711bb3 (D3D9) Move functions to d3d9.c 2022-04-19 14:49:08 +02:00
twinaphex
6a032fc1f8 (D3D9) Move global over to d3d9_common.c 2022-04-19 14:27:40 +02:00
twinaphex
4114545564 (D3D9) Remove d3d9_clear 2022-04-19 14:03:29 +02:00
twinaphex
7c37f9c053 Get rid of some inline functions 2022-04-19 13:49:32 +02:00
twinaphex
bceb753993 Turn it into static function 2022-04-19 13:19:14 +02:00
twinaphex
df3927dd33 Cleanups 2022-04-19 12:12:03 +02:00
twinaphex
a5802ce757 (D3D9) Cleanups 2022-04-19 11:03:24 +02:00
twinaphex
9a354982a9 Move common D3D9 common out to file d3d9_common.c 2022-04-19 10:32:15 +02:00
twinaphex
7bdcc8bfe1 (D3D9) Cleanups 2022-04-17 02:23:28 +02:00
nfp0
d13fec5db5
Bring back number of swapchain images log (#13836)
Co-authored-by: nfp0 <nf.pereira@live.com>
2022-04-06 19:52:22 +02:00
twinaphex
14578c0b18 (gl3/glcore) Remove gl3_build_default_matrix 2022-04-02 23:48:34 +02:00
twinaphex
8cdfc8e8b6 Fix CXX_BUILD errors 2022-04-02 20:37:54 +02:00
twinaphex
5319b592e9 Silence some Wayland warnings 2022-03-30 17:29:07 +02:00
Autechre
4c3a4d66df
Cxx buildfixes (#13803)
* CXX_BUILD buildfixes
* (D3D11) Buildfixes for CXX_BUILD
* (Linux/qb) Disable KMS for Linux when building for C89, headers use inline which is not
available for C89
2022-03-30 17:30:20 +02:00
OsirizX
4d367a2b59 [PSL1GHT] Add RSX graphics support for ps3 2022-03-27 18:03:30 +02:00
Colin Kinloch
d95bc2dd54 (Wayland) Dynamically load libdecor at runtime 2022-03-22 06:58:41 +01:00
Colin Kinloch
47c850c7fd (Wayland) Dedupe VK/GL code 2022-03-21 07:50:34 +01:00
twinaphex
4d112da58d Silence some MSVC code analysis warnings 2022-03-07 19:02:46 +01:00
Vladimir Serbinenko
4e24fb3d01
Add osx-ppc compilation for frontend (#13532)
* Fix old osx condition

Current code assumes that osx < 10.12 is equivalent to ppc osx. It's not
true as Leopard x86 is still < 10.12 but not ppc. As xcode compiles fat
binaries it includes osx x86 and compilation fails.

* Disable crtswitchres when no c++11 is available

Crtswitchres altually needs c++11. Since it's not that important to make
it compatible with lower c++, just disable if no c++11 is available

* Don't use firstObject on old Mac OS X.

It was introduced in 10.6, so on old ones just implement it ourselves

* Compile osx-ppc frontend

* osx-ppc: Build a fat binary

On 10.6 i386 xcode apparently refuses to build a pure ppc.
Settle for a fat binary.
2022-01-24 16:22:07 +01:00
Tony
49d3a947b8
(D3D10/11) Add vsync swap interval (#13521) 2022-01-21 04:35:22 +01:00
MajorPainTheCactus
ad4f6176ff
Vulkan driver fixes for HDR (#13468)
* Fixed crash on boot with xmb and vulkan driver Fixed wrong blend state affecting the ribbon shader Fixed up C++ style comments with C style

* Fixed compilation issue - I made a last minute change and thought I had compiled it but obviously hadn't! No wonder it worked.
2022-01-10 06:26:02 +01:00
MajorPainTheCactus
1a228a4e78
Added HDR support to Vulkan driver (#13456) 2022-01-08 13:22:34 +01:00
Tony
5b85339839
(Vulkan) Emulate mailbox only with vsync (#13460) 2022-01-07 17:08:24 +01:00
MajorPainTheCactus
9151326b73
Added support for HDR shaders - if we detect a shader that uses SLANG_FORMAT_A2B10G10R10_UNORM_PACK32 or SLANG_FORMAT_R16G16B16A16_SFLOAT as the format for the last render target in the shader chain AND hdr is switched on then this disables the internal HDR shader and allows the shader chain to define an inverse tonemapper and hdr10 shader. The first use of this is for my hdr shader crt\crt-sony-pvm-4k-hdr.slangp - submitted seperately (#13390) 2021-12-22 02:17:17 +01:00
Francisco Javier Trujillo Mata
1cd0938cc3
[PS2] Improve Compilation (#13359)
* Allow parallel compilation in PS2

* Allow to compile with griffin or common compilation in PS2

* Enable dummy core to be used in other platforms

* Use threads in YML config

* Add the compilation to PS2 in GitHub Actions
2021-12-15 19:01:56 +01:00
Tony
09880e92d2
Logging cleanups (#13320) 2021-12-04 14:21:12 +01:00
twinaphex
0a40e1f771 (gl_core/gl3) Rename gl_core internally to gl3 2021-11-23 08:45:54 +01:00
twinaphex
e4ccc2508e Move code over from retroarch.c to video_driver.c 2021-11-05 02:33:22 +01:00
Autechre
0a888f7868
Move video state to gfx/video_driver.c - reduces filesize of retroarch.c to 809kb (#13104)
* Move video state to gfx/video_driver.c - reduces filesize of retroarch.c
to 809Kb
2021-10-13 14:56:22 +02:00
twinaphex
849ed7fc3d Buildfix for MSVC 2021-10-12 11:58:22 +02:00
Soar Qin
290bc214e3
win32: fix broken win9x builds caused by #13089 (#13106)
Co-authored-by: Soar Qin <soarchin@gmial.com>
2021-10-12 11:24:58 +02:00
Soar Qin
39fd4677d9
win32: fix non-ASCII text display in window title (#13089) 2021-10-09 06:28:17 +02:00
Autechre
3f179a5762
Merge pull request #12632 from Sunderland93/remove-xdg-shell-v6
[Wayland] Remove xdg-shell-v6 protocol
2021-10-07 05:10:53 +02:00
Francisco Javier Trujillo Mata
3bbfcf7b39 Adding to get_video_output_size 2 parameters for additional info 2021-10-04 23:53:55 +02:00