Commit graph

2023 commits

Author SHA1 Message Date
Henrik Rydgård
989e353482 Common.h shouldn't include Log.h.
Buildfixes

More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
342ed97291 Move input utilities from native to Common/Input. 2020-10-01 09:42:32 +02:00
Henrik Rydgård
15382d5f94 Move threading utils from native to Common 2020-10-01 09:27:25 +02:00
Unknown W. Brackets
137f03c71d Adnroid: Add back arm32 files for libpng. 2020-09-29 23:04:30 -07:00
Unknown W. Brackets
af307d05e2 Android: Fix include paths. 2020-09-29 22:51:53 -07:00
Unknown W. Brackets
af57eb582c Global: Add back arm files for libpng. 2020-09-29 22:41:43 -07:00
Henrik Rydgård
65617889dd Merge ext/native/ext/... directly into ext. 2020-09-30 00:30:42 +02:00
Henrik Rydgård
4d3ec20082 ByteSwap.h results in a file name collision on some systems with byteswap.h. Fix this by merging it into BitSet.h. 2020-09-30 00:09:13 +02:00
Henrik Rydgård
5e976ff842 Buildfixes 2020-09-29 19:33:18 +02:00
Henrik Rydgård
11ab77b995 Remove some TLS. 2020-09-29 15:51:51 +02:00
Henrik Rydgård
835b819faa Remove some color util functions 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
656adf1fcd Remove old define for thread local storage 2020-09-29 15:51:51 +02:00
Henrik Rydgård
ecceeaa810 We no longer use TCHAR. 2020-09-29 15:51:51 +02:00
Henrik Rydgård
51e2e7f8d5 Remove our usage of ssize_t 2020-09-29 15:51:51 +02:00
Henrik Rydgård
ec7458b6a9 Delete more useless math code 2020-09-29 10:13:27 +02:00
Henrik Rydgård
db9cc41a1a Delete unused math code 2020-09-29 10:07:53 +02:00
Henrik Rydgård
1e6c13cb56 Delete more old detritus 2020-09-29 10:07:07 +02:00
Henrik Rydgård
30ecde5bc9 Delete some unused string functions 2020-09-29 00:41:32 +02:00
Henrik Rydgård
204fbe463e Delete unused backtrace.cpp 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
9cdf4941f2 Revert a bad optimization in word wrapper 2020-09-24 00:32:36 +02:00
Henrik Rydgård
cea7c1b6bb Remove an allocation in the word wrapper. 2020-09-22 21:29:01 +02:00
Henrik Rydgård
437818aa45 Minor optimization in wrap_text.cpp 2020-09-22 21:12:45 +02:00
Henrik Rydgård
707e9cf7ac Remove some unnecessary function parameters, improve some comments. 2020-09-20 20:44:18 +02:00
Henrik Rydgård
7c76f4e65c Minor improvement to gl_debug_log.h 2020-09-17 20:53:02 +02:00
Henrik Rydgård
d71ec8d82c The new asserts found something. 2020-09-17 20:53:02 +02:00
Henrik Rydgård
d0f7b1e30f Make the implementations of CopyFramebufferDepth more similar.
Also avoid matching framebuffers with bad z for copies.
2020-09-17 20:52:45 +02:00
Henrik Rydgård
7f1e35e761 Add missing asserts after some VK resource creation functions 2020-09-16 01:03:56 +02:00
Jean-André Santoni
6f2310b8ea
Fix libretro OSX build
Fixes these errors:

```
../ext/zlib/gzlib.c:492:14: error: implicit declaration of function 'lseek' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
../ext/zlib/gzwrite.c:84:15: error: implicit declaration of function 'write' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
  1 /* gzguts.h -- zlib internal header definitions for gz* operations
        got = write(state->fd, strm->next_in, strm->avail_in);
```
2020-09-13 15:07:08 +07:00
Unknown W. Brackets
37d7096703 SaveState: Update to latest Snappy v1.1.8. 2020-09-12 18:16:27 -07:00
ANR2ME
2040be06e1 Added another HexData printing with offset and ASCII contents to help dumping some data in the logs 2020-09-07 02:59:12 +07:00
ANR2ME
442d3685dc Fixed an issue where the 1st line showing 17 bytes of data instead of 16 bytes like the rest of the lines 2020-09-07 02:56:59 +07:00
Henrik Rydgård
cdf11dffd1 Shrink the "Cardboard VR Off" button.
Got a complaint through email that it was so large it could be visible with
the cardboard on, despite its location.
2020-08-30 17:50:42 +02:00
Henrik Rydgård
b86d26da42 Remove wrong assert. Should fix #13354 2020-08-30 10:13:16 +02:00
Henrik Rydgård
e33c31e187
Merge pull request #13353 from unknownbrackets/texcache
TexCache: Improve QuickTexHash a little, cleanup ARM64 defines
2020-08-29 18:35:06 +02:00
Unknown W. Brackets
6b8f7294b3 Global: Remove ARM64 define.
Was barely used anymore, and some users are specifying it when it's not
the case, so better to detect consistently.
2020-08-29 08:45:50 -07: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
184d4a1fc0 Vulkan: Type comparison warning fix. 2020-08-27 20:01:59 -07:00
Unknown W. Brackets
9b27cbd450 Common: Update to latest xxhash. 2020-08-27 20:01:04 -07:00
Henrik Rydgård
0b8e377872 Address feedback from #13341. 2020-08-27 22:59:27 +02:00
Henrik Rydgård
f64d36664e Fix final subpass dependency for depth 2020-08-27 22:59:18 +02:00
Henrik Rydgård
b58f5e46ae Correctly update image layout to the final one after a render pass. 2020-08-27 22:59:18 +02:00
Henrik Rydgård
95a4cd37fc Improve LogSteps further. Break out PreprocessSteps. 2020-08-27 21:50:05 +02:00