207 Commits

Author SHA1 Message Date
Stenzek
178a659a98 GPU: Move graphics API reset state to System
Stops us trying to reset state on objects which don't exist if
initialization failed (apparently some Android devices.. of course).
2023-02-05 13:12:45 +10:00
Stenzek
14cf865905 Misc: Correctness fixes for OpenGL
GLES2 fallback should be functional again.
2023-01-30 19:17:11 +10:00
Connor McLaughlin
8c7a192128 Misc: Add copyright/license statement to applicable files
Should've did this in the beginning.
2022-12-04 21:03:49 +10:00
Connor McLaughlin
5f6490f68b GPU/Vulkan: Fix downloads messing up later commands 2022-10-05 18:29:43 +10:00
Connor McLaughlin
8f39ad3555 GPU/OpenGL: Don't recreate context on sw switch when using GLES 2022-10-04 00:00:56 +10:00
Connor McLaughlin
a9038133c8 HostDisplay: Common texture base class for all APIs 2022-10-04 00:00:56 +10:00
Connor McLaughlin
12d400b76a OpenGLHostDisplay: Replace GL ID handle with texture class 2022-10-03 21:08:42 +10:00
Connor McLaughlin
971bba07d6 GPU: Make perspective-correct color interpolation toggleable 2022-10-03 21:08:41 +10:00
Connor McLaughlin
e7fb42347f GL/Texture: Add multi-layer/level support 2022-09-26 22:15:50 +10:00
Connor McLaughlin
1aa7facda8 Frontends: Pick best render API based on renderer
Stops unnecessary display recreation in big picture UI.
2022-08-26 23:30:45 +10:00
Connor McLaughlin
cac2714555 GPU/OpenGL: Also disable texture buffer for ANGLE
Hopefully resolves issues with Exynos S22+.
2022-08-26 01:26:13 +10:00
Connor McLaughlin
b42b5501f6 UI: Massive revamp, new features and improvements 2022-07-22 21:19:54 +10:00
Connor McLaughlin
b7fbde31a7 Move utility classes from common to own static lib 2022-07-21 17:29:58 +10:00
Connor McLaughlin
1e88d04430 GPU: Set display parameters even when disabled 2021-08-24 11:57:14 +10:00
Connor McLaughlin
70209db402 GPU/HW: Implement oversized VRAM fills in hardware
Fixes downscaling in Bugs and Taz PAL.
2021-07-21 19:24:10 +10:00
Connor McLaughlin
18df8d48e7 GPU/OpenGL: Use linear sampling for VRAM write replacement blit 2021-07-13 14:17:04 +10:00
Connor McLaughlin
c0352eb19f GPU/HW: Clear host display texture on interlace switch 2021-07-11 14:09:11 +10:00
Connor McLaughlin
096a92ba84 GPU/HW: Simplify shader compile progress updates 2021-07-11 13:21:41 +10:00
Connor McLaughlin
f7587eaeac GPU/HW: Fix incorrect range for shader compiling progress 2021-06-25 13:56:06 +10:00
Connor McLaughlin
1644a0762d GPU/OpenGL: Disable MSAA on GLES3.1 2021-06-20 13:10:26 +10:00
Connor McLaughlin
51fb23c850 GPU/OpenGL: Invalidate display framebuffer where possible 2021-06-11 20:47:46 +10:00
Connor McLaughlin
350049826f Fix a bunch of compiler warnings 2021-06-04 13:14:30 +10:00
Connor McLaughlin
245dd5b27a GPU/HW: Fix crash with oversized writes and sw readback 2021-05-20 14:14:26 +10:00
Connor McLaughlin
5d877250e9 GPU/HW: Add an option to use software renderer for readbacks 2021-05-20 13:28:36 +10:00
Connor McLaughlin
327e8f3f59 GPU/OpenGL: Switch back to framebuffer blits over shader copy
Ends up being slower on Mali.
2021-04-10 14:52:15 +10:00
Connor McLaughlin
4ed12bcb52 GPU/OpenGL: Support MSAA without texel/SSBO buffers 2021-04-06 02:55:00 +10:00
Connor McLaughlin
2ed482132d GPU/OpenGL: Use shader instead of framebuffer blit 2021-04-06 02:19:56 +10:00
Connor McLaughlin
ddea2818d9 Qt: Add renderer/resolution to status bar 2021-03-28 13:47:53 +10:00
Connor McLaughlin
b13c51a2e2 GPU/SW: Use new 5-to-8 converters for RGBA8 display 2021-03-18 13:00:58 +10:00
Connor McLaughlin
391114ccae GPU/OpenGL: Only use one upload path and clamp to max SSBO size 2021-03-18 13:00:58 +10:00
Connor McLaughlin
a559139105 GPU/OpenGL: Also check number of fragment storage blocks 2021-03-08 11:40:34 +10:00
Connor McLaughlin
9eae20128d GPU/OpenGL: Remove now-unnecessary geometry shader check 2021-03-08 11:37:03 +10:00
Connor McLaughlin
24c2165bb3 GPU: Allow closing window/app to interrupt shader compilation 2021-02-19 01:48:44 +10:00
Connor McLaughlin
c043643c4d GPU/HW: Fix typo in –IncludeVRAMDirtyRectangle() name 2021-02-07 20:00:16 +10:00
Connor McLaughlin
4a240958ff GPU/HW: Work around VRAM copy glBlitFramebuffer broken in Mali 2021-02-07 19:59:50 +10:00
Connor McLaughlin
837fb6128b GPU/HW: Fix mask bit when rendering with transparency and no DSB
Fixes some sprites in Bloody Roar on Mali GPUs.
2021-02-06 20:14:28 +10:00
Connor McLaughlin
701edb335a Various warning fixes 2021-02-06 19:19:55 +10:00
C.W. Betts
662d6e9711 Fix possible log formatting errors. 2021-02-04 17:54:51 -07:00
Connor McLaughlin
43bb69fb6b GPU/SW: Fix 576-line scanout of PAL games 2021-02-01 18:39:36 +10:00
Connor McLaughlin
23e102b90a GPU: Make display texture 720x576 instead of 1024x512
Some PAL games render in the full permissable 576 height, not 512.
2021-02-01 01:10:32 +10:00
Connor McLaughlin
3f96473fb5 System: Reuse existing texture/buffers for runahead/rewind 2021-01-25 01:15:46 +10:00
Connor McLaughlin
516d685dd0 System: Add memory-only save states and rewind 2021-01-25 01:15:45 +10:00
Connor McLaughlin
fd166a4485 ShaderCache: Add a data version field
We can increment this to prevent people's shader caches from growing too
large with shader changes.
2021-01-11 15:24:38 +10:00
Connor McLaughlin
3cb2cd8235 GPU: Add adaptive and box downsampling modes 2020-12-30 17:41:39 +10:00
Connor McLaughlin
8db961042a GPU: Support replacing VRAM writes with new textures 2020-12-26 00:47:03 +10:00
Connor McLaughlin
aa1543271e GPU: Support emulating a depth buffer from PGXP depth values 2020-12-23 01:39:49 +10:00
Connor McLaughlin
7b6d30a994 GPU/HW: Fix possible VRAM corruption when live switching resolutions
Mask bit was getting lost based on guest state.
2020-12-17 01:20:06 +10:00
dankcushions
e7139fe0d1 OES_copy_image support 2020-11-30 14:08:26 +00:00
dankcushions
82b4edfaf4 OES_geometry_shader can be supported by non-GLES 3.2 conformant devices (eg Pi 4) 2020-11-28 17:48:46 +00:00
Connor McLaughlin
b554c133ea GPU/OpenGL: Add a version check and display message when unsupported 2020-11-21 18:39:04 +10:00