Commit Graph
5006 Commits
Author SHA1 Message Date
Henrik Rydgård d4d92e39ff Implement DrawUP for D3D11
This is so we can do simple drawing without buffer management through
thin3d on all backends.
2022-08-03 13:28:54 +02:00
Lubos cb6448ff2d Merge branch 'master' into feature_openxr_6dof 2022-08-02 21:01:05 +02:00
Henrik Rydgård 19931c003f Clean up blit/copy feature detection. Don't need fast GPU flags for these. 2022-08-02 09:53:46 +02:00
Lubos 2103874c0f OpenXR - Estimate world unit scale 2022-08-01 19:28:50 +02:00
Lubos aea91bda1d OpenXR - Refactor the common math methods 2022-08-01 17:11:23 +02:00
Henrik Rydgård 7b7d16d2fb D3D9 fix 2022-08-01 12:11:42 +02:00
Henrik Rydgård e1956b47a0 Merge pull request #15727 from hrydgard/texture-3d
Implement the PSP's equal-size mips "3D texturing"
2022-08-01 08:35:43 +02:00
Lubos e6b14cb473 OpenXR - 6DoF head movement support added 2022-07-31 20:05:08 +02:00
Lubos 8117f05395 OpenXR - Renderer support for axis mirror added 2022-07-31 19:08:47 +02:00
Lubos d129870d44 Merge branch 'master' into feature_openxr_6dof 2022-07-31 16:37:54 +02:00
Henrik Rydgård 392d83fb22 Merge pull request #15659 from lvonasek/feature_openxr_quest
Oculus Quest native support
2022-07-31 16:34:45 +02:00
Henrik Rydgård 46d6b43618 Support 3D textures in OpenGL ES, add feature check 2022-07-31 10:43:48 +02:00
Henrik Rydgård 129f3fe997 Testfix, cleanup 2022-07-31 10:43:48 +02:00
Henrik Rydgård fecf9127a0 Implement 3D texturing in the OpenGL backend too. Assorted fixes. 2022-07-31 10:43:48 +02:00
Henrik Rydgård f061eadc04 Initial implementation of 3D texturing through equal-size mips (see #6357)
Vulkan-only currently, though all the other backends except ES 2.0
without GL_OES_texture_3d can support it with some work.
2022-07-31 10:43:47 +02:00
Henrik Rydgård 3e39f62c3d Merge pull request #15743 from hrydgard/build-texture-refactor
TextureCache "BuildTexture" refactor and cleanup
2022-07-30 11:21:57 +02:00
Henrik Rydgård 3fc7023d82 Vulkan stencil fixes 2022-07-30 10:47:18 +02:00
Henrik Rydgård a0febce3a9 Make the D3D9 backend handle stencil state in more similar ways to the others. 2022-07-30 10:47:18 +02:00
Henrik Rydgård 08c33f8e54 More thin3d d3d11 fixes 2022-07-30 10:47:18 +02:00
Henrik Rydgård e43b5e2081 thin3d: Make writeMask and compareMask dynamic in all backends. D3D11 needs emulation. 2022-07-30 10:47:18 +02:00
Henrik Rydgård 4a18629e63 thin3d: Remove dual sided stencil, not supported by all backends anyway 2022-07-30 10:47:18 +02:00
Henrik Rydgård 9f1fdc6c02 Use PrepareBuildTexture from the Vulkan backend too 2022-07-30 10:45:03 +02:00
Henrik Rydgård d0d53091a8 Change from maxLevel to levelsToLoad, for better readability. Cleanup. 2022-07-30 10:45:02 +02:00
Henrik Rydgård 512382c4db Merge pull request #15723 from hrydgard/d3d9-state-cache-cleanup
D3D9 state cache cleanup
2022-07-30 08:51:17 +02:00
Lubos 60d8a102f9 OpenXR - Switching between 2D/VR fixed 2022-07-29 10:19:11 +02:00
Lubos d29b9011db OpenXR - VR settings added, better UI detection 2022-07-27 19:47:11 +02:00
Henrik Rydgård a44bee6f85 Fix bug in blue-to-alpha - alpha blending could be on when it shouldn't be.
Fixes #15732. (Split/Second environment mapping problem in the menu).
2022-07-27 10:59:39 +02:00
Lubos e5f17824cd Merge branch 'feature_openxr_quest' into feature_openxr_6dof 2022-07-26 18:06:33 +02:00
Lubos 89f5038c01 OpenXR - Move VR folder under Common 2022-07-26 18:06:08 +02:00
Lubos 9b8a9d3b32 Merge branch 'feature_openxr_quest' into feature_openxr_6dof 2022-07-26 18:00:40 +02:00
Lubos c543c8fd52 Merge branch 'master' into feature_openxr_quest 2022-07-26 17:22:04 +02:00
Lubos 5c95fd244f OpenXR - Automatically switch between fullscreen/VR 2022-07-26 17:20:46 +02:00
Henrik Rydgård 62ded69344 Switch to using the D3D9 state cache in thin3d, to avoid confusion 2022-07-24 21:49:03 +02:00
Henrik Rydgård 16d4545967 Clarity improvement in dx state cache stencil func 2022-07-24 21:44:12 +02:00
Henrik Rydgård e758506bdb Remove unnecessary complexity from the D3D9 state cache 2022-07-24 21:26:40 +02:00
Lubos 8f2904ecac OpenXR - Default device config added 2022-07-24 15:38:30 +02:00
Lubos 8daba0d881 OpenXR - Finalize VR renderer interface 2022-07-24 14:14:21 +02:00
Henrik Rydgård 881cc23965 Delete some unused code. 2022-07-24 13:54:04 +02:00
Lubos 67821ca942 OpenXR - Controller mapping better 2022-07-22 18:47:37 +02:00
Henrik Rydgård 26850d80f0 Remove a redundant mutex lock in logging.
Really can't see any purpose at all... Weird.
2022-07-19 16:58:57 +02:00
Henrik Rydgård 2933ace02f Remove log noise 2022-07-17 23:03:43 +02:00
Henrik Rydgård 1fd80646cb Mali driver bug workaround for driver 32+.
See #15661

Hope this small bias won't break things.
2022-07-17 22:53:10 +02:00
Lubos a08325e52f OpenXR - UI scale/resolution fixed 2022-07-17 14:55:20 +02:00
Lubos 48cd392861 OpenXR - Rendering UI fixed 2022-07-15 21:52:34 +02:00
Lubos 553363a5b5 OpenXR - Rendering into VR framebuffer works 2022-07-15 15:41:21 +02:00
Unknown W. Brackets 656576c283 Io: Correct access field on dir listings. 2022-07-13 23:40:38 -07:00
Lubos d109e7c1d7 Merge branch 'master' into feature_openxr_quest 2022-07-12 18:54:47 +02:00
Henrik Rydgård a831cab14c Remove unmotivated check preventing texture ini creation on mobile. (#15647)
* Remove unmotivated check preventing  texture ini creation on mobile.

Fixes #15644

* Show a "toast" message on platforms that don't support opening a text editor, when you try to create/open a texture ini file.

* Avoid the need to ifdef around calls to SystemToast

* UWP buildfix (and some warning fixes).

And possibly libretro fix

* Rename for a bit more consistency
2022-07-10 22:34:44 +02:00
Jan Beich 303efbc268 Common: add explicit <signal.h> for BSDs after 3ed7435012
Common/ExceptionHandlerSetup.cpp:298:6: error: no matching constructor for initialization of 'sigaltstack'
        if (sigaltstack(&signal_stack, nullptr)) {
            ^           ~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/signal.h:449:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
struct __stack_t {
       ^
/usr/include/sys/signal.h:434:19: note: expanded from macro '__stack_t'
 #define __stack_t sigaltstack
                   ^
/usr/include/sys/signal.h:449:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
/usr/include/sys/signal.h:434:19: note: expanded from macro '__stack_t'
 #define __stack_t sigaltstack
                   ^
/usr/include/sys/signal.h:449:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
/usr/include/sys/signal.h:434:19: note: expanded from macro '__stack_t'
 #define __stack_t sigaltstack
                   ^
2022-07-09 16:09:37 +00:00
iota97 d4698d43fd Double quote 2022-07-08 10:49:33 +02:00