Commit graph

111 commits

Author SHA1 Message Date
Lubos
ab6c91c203 OpenXR - Integrate multiview into system 2022-08-14 18:51:45 +02:00
Lubos
47349b2c0d Merge branch 'master' into feature_openxr_stereo 2022-08-14 16:51:09 +02:00
Lubos
e76a68666a OpenXR - Config for stereoscopic vision added 2022-08-14 12:02:51 +02:00
Lubos
c71ecd7756 OpenXR - Unused parameter removed 2022-08-14 11:47:33 +02:00
Unknown W. Brackets
a6804c96bd GLES: Correct some variable shadowing.
Potentially fixes an issue with 3D textures?
2022-08-13 12:43:14 -07:00
Lubos
3542fbbc38 Merge branch 'master' into feature_openxr_6dof 2022-08-12 10:31:00 +02:00
Henrik Rydgård
79ee532609 Fix feature checks 2022-08-09 20:05:44 +02:00
Lubos
c00fea1b22 Merge branch 'master' into feature_openxr_6dof 2022-08-07 20:33:14 +02:00
Henrik Rydgård
5bf7b56305 Oops, this iOS check was still required. 2022-08-07 12:04:41 +02:00
Henrik Rydgård
1dabb54df5 Improve the NPOT check 2022-08-07 11:50:23 +02:00
Henrik Rydgård
4ff8f85110 Forgot these... 2022-08-07 11:48:59 +02:00
Henrik Rydgård
6f1f482432 Make GLQueueRunner/RenderManager aware of device caps, use it to check for NPOT and some other stuff 2022-08-07 11:15:23 +02:00
Unknown W. Brackets
20c2ec1392 GPU: Skip alpha stencil upload when safe.
Otherwise, let's not do things that give different behavior at 1x or are
inconsistent.
2022-08-06 21:12:59 -07:00
Henrik Rydgård
77535c8132 Fix feature check for wrapping of non-pow-2 textures
May fix some problems with using 3x/5x upscaling or 3x/5x resolution on some
hardware.
2022-08-06 23:54:03 +02:00
Henrik Rydgård
81c36578ca Feature detection fixes 2022-08-06 18:27:03 +02:00
Henrik Rydgård
da65af832a D3D11 prep 2022-08-06 18:27:03 +02:00
Henrik Rydgård
4e89174b85 OpenGL: Fix shader depal too. 2022-08-06 18:27:03 +02:00
Henrik Rydgård
8aebf0dca4 Port the OpenGL depal path to thin3d 2022-08-06 18:27:02 +02:00
Lubos
5f377f82eb Merge branch 'master' into feature_openxr_6dof 2022-08-05 13:49:42 +02:00
Henrik Rydgård
3e1ccf1311 Need a separate cap bit for stencil blits to prevent misuse on D3D9 2022-08-03 13:40:21 +02:00
Henrik Rydgård
9bead443c3 Unify stencil buffer upload using Draw. Only OpenGL tested yet (shaders need adaptation). 2022-08-03 13:31:13 +02:00
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
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
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
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
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
d0d53091a8 Change from maxLevel to levelsToLoad, for better readability. Cleanup. 2022-07-30 10:45:02 +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
Lubos
5c95fd244f OpenXR - Automatically switch between fullscreen/VR 2022-07-26 17:20:46 +02:00
Lubos
8daba0d881 OpenXR - Finalize VR renderer interface 2022-07-24 14:14:21 +02:00
Lubos
553363a5b5 OpenXR - Rendering into VR framebuffer works 2022-07-15 15:41:21 +02:00
Henrik Rydgård
122a0fa1f6 Oops, revert debugging commit 2022-06-19 18:10:27 +02:00
Henrik Rydgård
1d17b01c16 Workaround for strange driver hang on Raspberry Pi 3.
Strangely, this does not fix the text rendering in the UI, but might
still be enough for the libretro use case in #15469.

See #15469
2022-06-19 16:56:19 +02:00
Henrik Rydgård
e98e48e2e9
Merge pull request #15416 from unknownbrackets/gles-invalidate
GLES: Remove old invalidation code
2022-02-21 22:03:01 +01:00
Unknown W. Brackets
1ba8f1fa0a GLES: Remove old invalidation code.
We must've changed something to a KEEP, this never seems to catch anything
now.
2022-02-21 09:34:16 -08:00
Unknown W. Brackets
c20f352be2 GLES: Add asserts for correct blend usage.
Also make sure we don't try to use ARB blending on GLES.
2022-02-21 08:57:21 -08:00
Unknown W. Brackets
bbce43684c GLES: Use EXT not GLES3 for dualsrc blend support.
See #15413, thanks icecream95.
2022-02-20 23:19:43 -08:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
2718e81c0e GPU: Expand lines to triangles. 2021-10-31 14:46:46 -07:00
Unknown W. Brackets
b3a8e013f6 GPU: Expand points into triangles for higher res. 2021-10-31 13:06:06 -07:00