oltolm
554c05ec9b
d3d11: remove unnecesarry workaround
2026-01-31 11:54:31 +01:00
Henrik Rydgård
5fc6dee1f2
Update comment
...
See #20877
2025-10-17 08:58:48 +02:00
Henrik Rydgård
f037b1ce13
Add Windows version check before trying to even check for Win10-exclusive D3D features
...
Should fix #20877
2025-10-16 11:20:21 +02:00
Henrik Rydgård
b445f59e36
D3D11: If debug layer requested but not available, try again without it.
2025-08-01 17:19:37 +02:00
Henrik Rydgård
fa04337654
On Windows 11, start defaulting to Vulkan.
2025-06-10 21:24:31 +02:00
Henrik Rydgård
6cfea96e58
Remove D3D9 support, to make future changes easier
2025-06-10 15:07:16 +02:00
Henrik Rydgård
b0ccfbfe5d
Fix exit crash on Windows ARM64 with D3D11 (and probably also x64 Windows, but couldn't repro that)
2025-06-09 17:26:29 +02:00
oltolm
c75c2992b3
D3D11: use ComPtr in more places
2025-05-17 23:35:41 +02:00
oltolm
b09eb3dd23
use ComPtr for D3D11
2025-02-17 22:58:44 +01:00
Henrik Rydgård
359f58be69
Workaround for retroarch's buildserver using an old SDK
2025-02-14 19:06:00 -06:00
Nukem
0e623450c0
d3d11: Use modern flip model and tearing flags for swap chain creation
2025-02-12 19:50:05 -06:00
oltolm
9566065455
make compile on mingw-w64
2025-01-11 01:25:27 +01:00
Henrik Rydgård
ff6e118fff
Get rid of a lot of ifdefs around presentation mode. Instead, set things dynamically.
2023-08-14 11:02:29 +02:00
Henrik Rydgård
ed9b033f7d
D3D9/11: Move away from using context->SwapBuffers(), instead move present to draw_->Present().
2023-08-11 01:57:02 +02:00
Henrik Rydgård
1bdbef487b
D3D11: Pass the swapchain pointer into the thin3d context
2023-08-11 01:57:02 +02:00
Henrik Rydgård
96506544b7
Just some random driveby code cleanup
2023-08-10 10:28:25 +02:00
Henrik Rydgård
5533d5ec57
More lenient emoji check, remove unused variable
2023-08-06 17:17:24 +02:00
Henrik Rydgård
39d25ce91f
D3D11: Allow setting the max frame latency
2023-08-04 11:53:51 +02:00
haorui wang
ec4927069e
1. remove some unused code
...
2. add some missing header
3. fix error address offset operation
2023-07-30 12:31:31 +08:00
Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Unknown W. Brackets
49f6c461ad
Reporting: Fix some header includes.
...
Particularly in Common, avoid including Core/Reporting.h.
2022-12-27 14:58:20 -08:00
Unknown W. Brackets
83272c5e25
D3D11: Avoid crash if debug/info queue unavailable.
...
We don't fail init already, so we shouldn't fail shutdown.
2021-01-02 20:47:21 -08:00
Henrik Rydgård
5ee9cfef0d
Remove support for D3D11_level_9 (previously only really used for Windows Phone, probably).
...
Can always fall back to D3D9, which is not going away anytime soon and
still needs to be there. One less HLSL variant to care about.
2020-10-29 00:52:19 +01:00
Henrik Rydgård
0e3a84b4a8
Move most GPU things to Common.
...
It works after the move, on Windows and Android at least.
Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
b7edf75437
Move Display.cpp/h to Common.
2020-10-04 11:42:16 +02:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Unknown W. Brackets
6b8f7294b3
Global: Remove ARM64 define.
...
Was barely used anymore, and some users are specifying it when it's not
the case, so better to detect consistently.
2020-08-29 08:45:50 -07:00
Henrik Rydgård
5d64fc5ff1
Switch to PPSSPP's assert functions (don't use the system's)
2020-08-16 10:01:10 +02:00
Henrik Rydgård
b43698a13d
Remove most instances of base/logging.h from Common, Core, GPU, more
2020-08-15 19:08:44 +02:00
Henrik Rydgård
c5e0b799d9
Remove category from _assert_msg_ functions. We don't filter these by category anyway.
...
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Unknown W. Brackets
6f86b6fdbe
D3D11: Respect vsync setting.
...
Fixes #12493 .
2020-02-29 22:48:58 -08:00
Unknown W. Brackets
5009698cc0
Core: Use a shared_ptr for i18n categories.
...
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Henrik Rydgård
aff429ee09
For the non-vulkan backends, zero display rotation settings just to be sure.
2019-06-24 10:30:32 +02:00
Henrik Rydgård
33c53eebe9
D3D11 init: Release pFactory at the appropriate place.
2019-05-16 00:37:06 +02:00
Henrik Rydgård
6117e37a14
D3D11: Also properly check for the no-adapters case.
2019-05-15 22:58:45 +02:00
Henrik Rydgård
0320b4961b
Add a missing error check to the D3D11 device creation. May help #12039 ?
2019-05-15 22:55:24 +02:00
driver1998
7b7dede420
Fix D3D11 context on Windows ARM Debug
...
debug layers are not available on ARM32/ARM64 (D3D*SDKLayers.dll not available), so disable it.
2019-05-05 01:19:16 +08:00
Henrik Rydgård
d91f706206
Log why the config is being saved (we seem to do it a bit much at times)
2019-02-23 11:55:44 +01:00
Henrik Rydgård
429a1fce01
Assert even in release mode if preset shaders fail to compile. This is just to help track down a Play crash.
2018-11-21 18:14:26 +01:00
Unknown W. Brackets
7ee4d2d5a1
UI: Ask for restart when changing graphics device.
...
Only for D3D11 and Vulkan.
Also, makes Vulkan follow D3D11 in not changing the setting if the device
is not found on startup.
2018-09-30 00:53:21 -07:00
Unknown W. Brackets
f906fbed35
Core: Track graphics startup failures and cycle.
...
If the graphics driver segfaults, or some plugin segfaults, let's try a
different one next time. This gives better hope of starting up next time.
2018-09-01 19:59:13 -07:00
Unknown W. Brackets
b4496f1975
Core: Move config enums to separate file.
...
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Henrik Rydgård
238521a297
Rename device choice config options as requested.
2018-06-06 10:24:16 +02:00
Henrik Rydgård
8ee3cd52e8
D3D11: Allow the user to select rendering device.
2018-06-06 10:20:12 +02:00
aliaspider
54d9406713
fix mingw and msvc cmake builds.
2018-03-23 03:18:13 +01:00
Henrik Rydgård
5f8118b82b
Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases.
2018-02-25 10:27:59 +01:00
Unknown W. Brackets
766b40aad8
GPU: Reset GPUBackend on graphics init.
...
This way, when using a port that doesn't support Vulkan, it doesn't just
silently use upside down GL, etc.
2017-12-26 16:02:55 -08:00
Unknown W. Brackets
d6da758ed3
GPU: Remove duplicate BACKEND constants.
2017-12-26 15:55:24 -08:00
Henrik Rydgård
b9ba525de1
Don't call functions in asserts, they get compiled out in release...
2017-10-20 14:45:00 +02:00