Commit Graph
28 Commits
Author SHA1 Message Date
Henrik RydgårdandClaude Sonnet 5 bb6164e799 Move ten inline vendor libraries out of root CMakeLists.txt into ext/
gason, vma, cityhash, 7zip (ext/lzma-sdk), basis_universal, pugixml,
kirk (ext/libkirk), sfmt19937, xbrz, and xxhash were each defined with
a small add_library() block directly in the root CMakeLists.txt, even
though ext/CMakeLists.txt already exists and handles every other vendor
library (freetype, imgui, naett, discord-rpc, libchdr, zstd, miniupnp,
armips, glew, snappy, ...) via add_subdirectory(). Gave each one its
own ext/<name>/CMakeLists.txt to match that established pattern; xxhash
stays a loose file pair in ext/ (it never had its own directory) so its
add_library() lives directly in ext/CMakeLists.txt instead.

ext/libkirk/CMakeLists.txt already existed but was dead - nothing
add_subdirectory()'d it, and its source list was stale (missing
amctrl.c/.h, which the live inline definition in root had). Replaced
its contents with the current, correct list instead of leaving two
diverging definitions around.

Dropped several target_include_directories()/include_directories()
calls that came along with these (e.g. cityhash, kirk, xbrz, xxhash,
and the lzma-sdk one for 7zip): traced their actual consumers and found
each library's own sources resolve their sibling headers via the
default same-directory quote-include rule, and every external consumer
already uses the full "ext/<name>/..." path resolved through the global
root include - so these were dead weight regardless of position.

Replaced two single-value alias variables (LIB7ZIP_LIBRARY, always
"7zip"; BASISU_LIBRARIES, always "basis_universal") with their target
names directly in Common/CMakeLists.txt, rather than trying to carry
them across the new add_subdirectory boundary - plain set() variables
don't propagate back up out of a child scope without PARENT_SCOPE, so
keeping them as-was would have silently broken Common's link line.

Verified with a fully clean rebuild (removed build/ entirely), a
HEADLESS=ON UNITTEST=ON build, and a LIBRETRO=ON build.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PSNaZnHCjmryS3ziVN9gZU
2026-07-24 20:16:07 +02:00
Unknown W. Brackets 5119d79082 Build: Remove IOS define. 2021-03-02 21:04:03 -08:00
shenweip a66cb1237d Warning fixes. 2020-10-10 19:18:46 +02:00
Henrik Rydgard 16053c08a0 Buildfix _DEBUG-builds on non-win32 2016-01-01 14:30:03 +01:00
Henrik Rydgård 3492c05771 MacOSX buildfix and warning fix 2016-01-01 13:34:52 +01:00
Unknown W. Brackets c3a031d276 Update xBRZ to 1.4.
Now a lot of our customizations aren't needed, yay.
2015-12-30 13:09:38 -08:00
Unknown W. Brackets 1075a394ce Optimize xBRZ with ARGB a bit.
Alpha is quite common with PSP textures.  Measured by Zenju to provide a
15% performance improvement in Visual Studio.
2015-02-21 15:51:03 -08:00
Unknown W. Brackets 0982336565 Oops, fix race in xBRZ buffer alloc. 2015-02-21 15:51:02 -08:00
Unknown W. Brackets 10049e62a8 Allocate the xBRZ buffer only when actually used.
This way if scaling is off, we don't have to worry about potentially
eating more RAM on any platform.
2015-02-21 15:51:02 -08:00
Unknown W. Brackets 3c9150231d Update to xBRZ 1.2, with perf improvements.
Performance improvements in PPSSPP not measured, but xBRZ expects 30%
improvement.  Fixes #7443.
2015-02-21 15:51:01 -08:00
Unknown W. Brackets 5065570c1b Burn troublesome debugging code with fire.
This wasn't doing anything on any platform, even in debug mode, it was
just in upstream in case someone wanted to debug xbrz.

Removing it, will have to remember to remove again when syncing upstream.
It makes Linux still break and does not help cross-compat.
2015-01-19 19:06:32 -08:00
Henrik Rydgård a346b70341 Fix debug build on mac 2014-12-15 18:52:27 +01:00
xSacha df5b9b301c Buildfix for MIPS in debug mode.
Also, remove assumption that EGL means GLES2. My board supports EGL+Desktop GL too.
2014-11-18 13:39:25 +10:00
TwistedUmbrella 07f0478425 Xcode 6 / iPhone 6 compatibility updates 2014-11-04 03:37:40 -05:00
Unknown W. Brackets 416182b4ba Update to xBRZ 1.1.
Keeping the channel swap stuff and other changes, though.
2014-11-02 14:17:24 -08:00
Sacha 946deda4b3 Remove some redundancy (Symbian/Qt). Symbian has cstdint now. 2014-06-24 08:29:04 +10:00
Sacha ea17e17ebd Join both Maemo platforms (Maemo5 + Meego Harmattan/Maemo 6) to MAEMO define. Technically they are very similar and anything that wasn't already defined for both probably needed to be. 2014-06-18 03:42:31 +10:00
Sacha e57ae29e4a Symbian: Switch to GCC 4.7.3. Blackberry: Switch to GCC 4.8.2 2014-06-09 23:49:30 +10:00
Henrik Rydgard cc6681cd0b Compile Ced's DX9 GPU on Windows. Not hooked up yet.
This needs work, has several problems that must be fixed to run on Windows.

Ced, you'll have to fix up your xb project file a bit, sorry.
2013-09-15 12:52:44 +02:00
Peter Thoman ed870dbcc9 Better alpha component fix for xbrz 2013-05-03 02:44:27 +02:00
Peter Thoman 64146f343a xbrz: fixed byte order, made distance function alpha-aware 2013-05-02 18:24:23 +02:00
Unknown W. Brackets c73657e39a Buildfix for iOS and Android. 2013-05-01 23:31:18 -07:00
Sacha ae9490ad30 Use boost to do C++11 features on Symbian. Use namespaces. 2013-05-02 15:46:41 +10:00
Sacha 29651c026b Windows buildfix. Harmattan buildfix (it doesn't have lambdas). Tabify XBRZ. 2013-05-01 12:58:51 +10:00
Sacha 5ea37772d7 pre-C++11 buildfix. Linux buildfix. 2013-05-01 11:19:01 +10:00
Sacha e698af9924 Symbian buildfix. 2013-05-01 04:53:44 +10:00
Henrik Rydgård 69e168a293 another buildfix 2013-04-30 18:45:49 +02:00
Peter Thoman 392087f26b Added xBRZ library 2013-04-30 03:44:54 +02:00