Commit Graph

1701 Commits

Author SHA1 Message Date
Henrik Rydgård
d9edc68966 Remove unnecessary use of thread local storage 2020-09-29 15:51:51 +02:00
Henrik Rydgård
311fe431d0 Move buffer.cpp/h from base to Common 2020-09-29 15:51:51 +02:00
Henrik Rydgård
17a9767585 Buildfixes 2020-09-29 15:51:51 +02:00
Henrik Rydgård
40ec0d8358 Finish getting rid of basictypes.h 2020-09-29 15:51:51 +02:00
Henrik Rydgård
3162f30158 Merge base/basictypes.h into Common/Common.h (mostly). 2020-09-29 15:51:51 +02:00
Henrik Rydgård
ed88761ecc Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h. 2020-09-29 15:51:51 +02:00
Henrik Rydgård
5411a40f2a TimeUtil.cpp cleanup 2020-09-29 00:36:29 +02:00
Henrik Rydgård
054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
Henrik Rydgård
a9fef066b5 Reduce string allocations in Vulkan memory allocator 2020-09-24 00:32:52 +02:00
Henrik Rydgård
28b58ca05d More asserts 2020-09-17 20:52:32 +02:00
Henrik Rydgård
6bcff8cbda Linux: Use MAP_NORESERVE when finding a memory base pointer. See #13187 2020-09-13 17:13:07 +02:00
Unknown W. Brackets
2b49c3e464 MemMap: Check for MAP_FAILED in mmap call. 2020-09-13 00:37:20 -07:00
Henrik Rydgård
f595f7368f Optimize a couple more single color conversion functions 2020-09-12 16:10:17 +02:00
Henrik Rydgård
60a6bf6d43 Optimize the DarkStalkers software rendering path a little more. 2020-09-12 16:10:17 +02:00
Henrik Rydgård
a22181df1c Partially fix Katamari (flicker due to choice of the wrong depth buffer still happening). 2020-09-01 22:54:36 +02:00
Henrik Rydgård
cb3ed8f4a1
Merge pull request #13343 from unknownbrackets/xxhash
Switch to XXH3
2020-08-28 12:20:26 +02:00
Unknown W. Brackets
15c25be42b GPU: Switch vertex/lookup hashes to XXH3.
This is faster pretty much everywhere.
2020-08-27 20:37:49 -07:00
Henrik Rydgård
3607f0ab32 Log validation errors normally as well as using OutputDebugString. 2020-08-27 21:50:05 +02:00
Unknown W. Brackets
90344fdee5 Exception: Don't trust sigaltstack().
Let's just track our allocation separately and free it, always.
2020-08-26 21:44:38 -07:00
Henrik Rydgård
479dedf0ba Some logging improvements. Show more coordinates for block transfers, etc. 2020-08-16 22:27:21 +02:00
Henrik Rydgård
0bf6bd9175 More Log.h cleanup. 2020-08-16 14:48:54 +02:00
Henrik Rydgård
9561a4f80a Move MsgHandler into Log.cpp/h 2020-08-16 14:48:54 +02:00
Henrik Rydgård
5704ebfb61 More cleanup of Log.h, move AndroidAssert into MsgHandler.cpp/h. 2020-08-16 14:48:54 +02:00
Henrik Rydgård
e8a9845d93 First step of cleaning up Log.h. Plus a few other bits and bobs. 2020-08-16 14:48:54 +02:00
Henrik Rydgård
61bf512244
Merge pull request #13291 from hrydgard/assert-cleanup
Assert function cleanup
2020-08-16 13:57:22 +02:00
Henrik Rydgård
8db6599e77 Buildfixes 2020-08-16 12:48:09 +02:00
Henrik Rydgård
449f80b74f Address feedback. 2020-08-16 10:15:17 +02: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
c5147c01a0 Fix newlines in logging before the manager is initialized. 2020-08-16 10:01:09 +02:00
Henrik Rydgård
c8a06d40c9 Buildfix 2020-08-16 10:00:26 +02:00
Henrik Rydgård
7aacf3df37 Remove time_now() - time_now_d() is the replacement. Absolute time values can't be stored reliably in floats. 2020-08-16 09:37:18 +02:00
Henrik Rydgård
80aa527f1a
Merge pull request #13288 from hrydgard/move-timeutil
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 23:44:23 +02:00
Henrik Rydgård
761ea58fb8 Merge branch 'cmake' of https://github.com/Kingcom/ppsspp into Kingcom-cmake 2020-08-15 21:35:46 +02:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
99a5a9aac5 Address feedback 2020-08-15 20:02:07 +02:00
Henrik Rydgård
3c412ea21e Fix build of ZimTool/AtlasTool. Had to break the ugly backwards dependency from LogManager to g_Config. 2020-08-15 19:09:09 +02:00
Henrik Rydgård
80e0f85332 Getting really close to getting rid of base/logging.h now.
Qt buildfix
2020-08-15 19:09:01 +02:00
Henrik Rydgård
b22083e7a6 Even more base/logging.h removal and fixes 2020-08-15 19:09:01 +02:00
Henrik Rydgård
cca7511e6a More base/logging.h cleanup 2020-08-15 19:09:01 +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
8835728f87 Replace base/logging.h in VulkanContext and parts of native 2020-08-15 19:08:44 +02:00
Henrik Rydgård
0fcc0994b4 Recategorize some logging, in preparation for what's to come. 2020-08-15 11:51:22 +02:00
sorgts
0ae12da3a7 Fix SSE detection with clang-cl
clang-cl advertises its SSE support through the macros and expects the
program to adhere to them, so check if any macro definition is available
before falling back to the latest level as a default
2020-08-13 16:48:19 +02:00
Henrik Rydgård
b2d6eef65d UninstallExceptionHandler: Zero-initialize some structs. I've seen some weird crashes on the free() on Android. 2020-08-10 21:54:49 +02:00
Unknown W. Brackets
850df75c45 Merge remote branch remove-sstream-from-stringutil. 2020-08-10 07:18:49 -07:00
Unknown W. Brackets
e59951382a Global: Make stringutil includes more explicit. 2020-08-10 07:05:22 -07:00
Henrik Rydgård
5ec2da0f2d Move Section out of IniFile so it can be forward declared. Unlocked further improvements to build speed. 2020-08-10 15:53:52 +02:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
d0f3cfeb9b Global: Remove some unused header code. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
1dc5ee424b SaveState: Split out Do types to reduce headers. 2020-08-10 08:03:44 +00:00