Commit graph

1624 commits

Author SHA1 Message Date
Henrik Rydgård
62a8329c33 Remove sstream from stringutil.h. See #13267 2020-08-10 14:33:00 +02:00
Henrik Rydgård
6b6ecf4427
Merge pull request #13267 from unknownbrackets/headers
Reorganize DoState headers and cut back on common header includes
2020-08-10 13:45:57 +02:00
Unknown W. Brackets
1bcafafdbb UI: Fix an override warning. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
667a8522cc Global: Cut down on file/string includes. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
d90630c263
Merge pull request #13262 from hrydgard/depth-texturing
Implement texturing from depth buffers (Vulkan only so far)
2020-08-10 03:42:17 -04:00
Henrik Rydgård
0aa2ceb372 Address feedback 2020-08-10 09:16:28 +02:00
Henrik Rydgård
dd79d33f14 Minor: Initialize a struct. Decrease logging in sceMt19937. 2020-08-09 21:45:42 +02:00
Henrik Rydgård
86355779d7 Remove partial comment 2020-08-09 20:49:08 +02:00
Henrik Rydgård
ba0d04a142 Vulkan: Implement depth texturing through depal. 2020-08-09 20:31:04 +02:00
Henrik Rydgård
375da0a2fe Some fixes 2020-08-09 19:47:22 +02:00
Henrik Rydgård
cf122e9333 Vulkan/generic: Initial prep for depth texturing 2020-08-09 19:47:15 +02:00
Henrik Rydgård
fd41c9cd57 These convenience overloads don't work in 32-bit builds, remove them. 2020-08-09 10:28:37 +02:00
Henrik Rydgård
fbf6008a03 Set debug names for more framebuffers and textures 2020-08-09 09:36:54 +02:00
Henrik Rydgård
2f5de1987e Allow passing in an object name tag when creating framebuffers 2020-08-09 09:36:45 +02:00
Henrik Rydgård
11f9df33ba Vulkan: Start adding object names for easier validation debugging 2020-08-08 21:29:29 +02:00
Henrik Rydgård
3fd8f3d86d Add a setting. Various tweaks to sound triggering. 2020-08-03 12:08:11 +02:00
Henrik Rydgård
434b717ba0 Add a couple of more sounds. Rename some vars. 2020-08-03 12:08:11 +02:00
Henrik Rydgård
55eb2844fd Hook up a couple more sounds. Unfortunately clickable back buttons now play both back and confirm sounds... 2020-08-03 12:08:11 +02:00
Henrik Rydgård
5423f76e25 Hook up the first UI sound, make it play. 2020-08-03 12:08:11 +02:00
Henrik Rydgård
b30be913c0 Read in WAV files for UI sounds 2020-08-03 12:08:11 +02:00
Henrik Rydgård
6aa3681f7c Minor logging improvements 2020-08-02 15:41:00 +02:00
Henrik Rydgård
ce31d3e375 Update Vulkan headers to the latest, just to keep up. 2020-08-01 23:37:15 +02:00
Unknown W. Brackets
5c1bb52ce6
Merge pull request #13221 from hrydgard/android-minor-cleanup
Android: Various minor cleanup
2020-07-29 02:51:50 -04:00
Henrik Rydgård
73166def93 Android: Reduce asserts during startup. 2020-07-28 19:06:29 +02:00
Henrik Rydgård
06d57b1656 GL: Add some paranoid checks. Remove a useless option. 2020-07-28 14:24:36 +02:00
Henrik Rydgård
51f080dfd0 Remove unnecessary vector from thin3d_gl texture handling. 2020-07-27 18:22:23 +02:00
ANR2ME
596fad3f42 Provides quick IP fill on Adhoc Server IP address setting to makes player's life easier :) 2020-07-23 12:41:13 +02:00
Henrik Rydgård
0829543987 Third part of getting rid of PanicAlert 2020-07-19 20:34:02 +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
Henrik Rydgård
6560192d8e Support full VSync control in SDL OpenGL.
(Not yet Qt).

Forgot about iOS

SDL headless buildfix

Additional iOS buildfix
2020-07-19 12:07:16 +02:00
Henrik Rydgård
f5afb2dbbd Improve some logging, and print the line number from PanicAlerts. 2020-07-19 11:10:51 +02:00
Henrik Rydgård
82bc6f6cc5 Windows ARM fix, cleanup 2020-07-14 13:47:25 +02:00
Henrik Rydgård
b5e7220ed1 Switch to a fence instead for readbacks. Some sources suggest this is better than idling a queue or device.
Like https://stackoverflow.com/questions/39537176/in-what-situations-is-vkfence-better-than-vkqueuewaitidle-for-vkqueuesubmit .

Additionally, this is easier to refactor and loosen up if we can in the
future.
2020-07-14 09:06:07 +02:00
Henrik Rydgård
e66f034fb3 Readback: Downgrade from vkWaitDeviceIdle to vkWaitQueueIdle. Probably effectively pretty much the same. 2020-07-14 09:06:07 +02:00
Unknown W. Brackets
9ebb402e4f Vulkan: Buildfix. 2020-07-13 18:19:36 -07:00
Henrik Rydgård
131a1eedfb Vulkan: Make sure textures/samplers are unbound at the end of PresentationCommon::CopyToOutput.
Validation caught an issue where old stuff lingered in sampler 1 and texture 1.

Bug probably introduced in #12921, but could also be others.
2020-07-13 23:32:37 +02:00
Henrik Rydgård
bb6219e402
Merge pull request #12921 from unknownbrackets/postshader
Use less FBOs for chained post-processing shaders
2020-07-13 18:52:53 +02:00
Henrik Rydgård
e8370b94c0 Remove irrelevant comment 2020-07-13 18:14:12 +02:00
Henrik Rydgård
dc6e7a7938 Move the Vulkan swapchain out-of-date checking to the vkQueuePresentKHR call. 2020-07-13 18:14:12 +02:00
Unknown W. Brackets
dbbcaa9eca GLES: Invalidate framebuffers bound DONT_CARE.
Let's try to invalidate when it's possible.  We move the invalidate to the
end of the render when detected.
2020-07-13 08:00:24 -07:00
Henrik Rydgård
b58ca8af12
Merge pull request #12945 from unknownbrackets/io-timing
Make file open timing a bit more accurate
2020-07-13 13:37:53 +02:00
twinaphex
f958ed5817 Add custom GLEW - interfaces with libretro get_proc_address -
we need this for compatibility with DRM/KMS and Wayland contexts -
otherwise we're limited to GLX context
2020-07-12 23:51:57 +02:00
Henrik Rydgård
406c06ccaf
Merge pull request #12972 from unknownbrackets/gl-step-debug
Label steps using GL debug groups
2020-07-12 23:27:09 +02:00
Henrik Rydgård
7e5527285d Screen: Unlock the inputLock_ mutex slightly earlier in processFinishDialog
It's really just there to protect the stack.
2020-07-05 11:56:04 +02:00
Unknown W. Brackets
4d47715e41 http: Check cancel flag more often.
Would be better to use non-blocking sockets, but this code is working,
so not planning to rewrite it right now.
2020-07-04 21:18:41 -07:00
Henrik Rydgård
bd8083fb26 Downloader: Join threads in CancelAll 2020-06-28 18:34:00 +02:00
Henrik Rydgård
1a8084cdbc Different handling of Download lifetimes. Might help an issue from #13057 (1.10 crash mysteries) 2020-06-28 13:26:12 +02:00
Henrik Rydgård
4bcd8df079 Logging improvements and warning fixes.
(Had a super odd crash that I can't repro anymore in PPGe init...)
2020-06-22 22:46:03 +02:00
Henrik Rydgård
cd1d73436d Vulkan: Recreate the swapchain if we get too many "out of date" frames.
Should help an issue on my Linux laptop with Intel GPU.
2020-06-22 00:45:05 +02:00
iota97
804b673d8e Vulkan: Correct secondary texture binding in Draw. 2020-06-12 12:40:53 -07:00