Commit Graph

988 Commits

Author SHA1 Message Date
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
821817e6d4 Move the profiler to Common 2020-10-04 11:42:16 +02:00
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
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
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
40ec0d8358 Finish getting rid of basictypes.h 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
db9cc41a1a Delete unused math code 2020-09-29 10:07:53 +02:00
Henrik Rydgård
204fbe463e Delete unused backtrace.cpp 2020-09-29 00:36:29 +02:00
Unknown W. Brackets
e383b0279f Plugins: Support for loading game-specific plugins. 2020-09-08 09:12:19 -07: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
365c1402ca
Merge pull request #13293 from hrydgard/logmanager-cleanup
More log/assert cleanup
2020-08-16 16:10:53 +02:00
Henrik Rydgård
9561a4f80a Move MsgHandler into Log.cpp/h 2020-08-16 14:48:54 +02:00
sorgts
fce0fdb6dc Fix undesired re-builds after runnning CMake 2020-08-16 14:01:40 +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
f0d2f24658 Finally delete base/logging.cpp/h. Carefully preserve behaviour on Android.
There's more cleanup to do ...
2020-08-15 19:09:09 +02:00
sorgts
a8a1c67df0 Fix build with clang-cl 2020-08-13 16:48:48 +02:00
sorgts
60d249a909 Fix Windows/CMake build with Visual Studio 2020-08-13 16:47:22 +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
2da977bed2 SaveState: Add header to other makefiles. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
iota97
c392d95c63 UI sound fix 2020-08-04 23:36:35 +02:00
Henrik Rydgård
58ef0c8e80 Texture from framebuffer: Logging improvements 2020-08-04 14:45:14 +02:00
Henrik Rydgård
cb568b8f5e Rename FramebufferDX9.cpp/h to FramebufferManagerDX9.cpp/h 2020-08-03 23:24:50 +02:00
Henrik Rydgård
882cc6295e Rename FramebufferVulkan.cpp/h to FramebufferManagerVulkan.cpp/h 2020-08-03 23:22:11 +02:00
Henrik Rydgård
d57edfbdac Rename FramebufferCommon.cpp/h to FramebufferManagerCommon.cpp/h for consistency 2020-08-03 23:17:22 +02:00
Henrik Rydgård
aebbff55f1 Some renaming and cleanup in the Android audio code 2020-07-28 14:24:40 +02:00
parport0
fd62d30773 Debugger: Add memory.read_*, memory write_* 2020-07-26 01:18:16 +03:00
ANR2ME
33d3ac28de Added UPnP Support
Fix i18n type
2020-07-21 23:02:58 +02:00
Henrik Rydgård
fa0b9dc1bc Make the instance counter global and initialized at startup.
Turn off config saving for secondary instances.
2020-07-20 11:40:54 +02:00
Henrik Rydgård
626d173d10 Split the fault handling from MemMap.cpp to MemFault.cpp. 2020-07-15 12:12:57 +02:00
Henrik Rydgard
fdcf4f06f2 Add x64Analyzer to Android.mk. Some minor cleanup 2020-07-14 09:25:45 +02:00
Henrik Rydgard
1fce6de8b1 Simple exception handler so we can ignore accesses that happen within the PSP memory space. 2020-07-14 09:25:45 +02:00
Henrik Rydgård
53b2ab191b Revert "Disable a new compiler warning that doesn't do us much good"
This reverts commit e3a807fdc1.
2020-07-13 23:31:51 +02:00
Henrik Rydgård
e3a807fdc1 Disable a new compiler warning that doesn't do us much good 2020-07-13 19:54:08 +02:00
Henrik Rydgård
3d743a5ae7 Buildfixes 2020-06-22 00:01:31 +02:00
Henrik Rydgård
1793b65ec1 Vulkan: Remove support for the old VK_EXT_debug_report extension 2020-06-21 23:04:51 +02:00
Unknown W. Brackets
a36239473d GLES: Add dependency tracking for render passes.
Let's try to invalidate when it's possible.  We move the invalidate to the
end of the render when detected.
2020-05-17 11:06:39 -07:00
Unknown W. Brackets
d39b0bdca2 GPU: Split FramebufferCommon into two classes.
Only some things moved over so far.

FramebufferCommon does too much, we want to share it with softgpu without
all the buffer management stuff.
2020-05-13 18:07:22 -07:00
Florin9doi
bc948b9b94 iOS/macOS : set bundle version 2020-05-01 21:36:55 +03:00
Henrik Rydgård
bf73d3d663 Address Unknown's feedback
https://github.com/hrydgard/ppsspp/pull/7965/files
2020-04-26 11:19:31 +02:00
orbea
c8c7889f0f cmake: Improve building with the system libpng.
This also now requires at least libpng16 instead of libpng17.

v2: Require libpng17 on arm platforms.
v3: Fix the android and windows travis builds.
2020-03-22 18:43:51 -07:00
orbea
ee918a4535 cmake: Disable discord-rpc for libretro builds. 2020-03-17 12:32:07 -07:00
Unknown W. Brackets
51b94a9c9c Core: Quiet some warnings. 2020-03-10 22:19:59 -07:00
Henrik Rydgård
271f79ea63 UI: Break out the hierarchy functions into ui/root.cpp/h 2020-03-08 14:49:29 +01:00
Henrik Rydgård
8f2a52ccab Merge branch 'rechat' of https://github.com/ANR2ME/ppsspp into ANR2ME-rechat 2020-03-08 14:28:10 +01:00
Henrik Rydgård
efc206e8f2 CMake buildfix 2020-03-03 22:46:26 +01:00
ANR2ME
142e60974c Merge branch 'rechat' of https://github.com/adenovan/amultios-ppsspp into rechat 2020-03-02 22:25:18 +07:00
Henrik Rydgård
45d94c4877 Switch all images to dynamic lookup in the atlas by string ID.
SLN fix

It works, but with the wrong images and the wrong characters!

Fix another bug in atlastool's binary output

Get Android building again.

Oops, didn't mean to disable this permanently.

Error checking

Minor cleanup

Gotta tweak my git ignores...

Regenerate metadata
2020-03-01 12:06:47 +01:00
Henrik Rydgård
d35fd5040d Delete unused support for ETC1 texture compression 2020-02-29 17:50:35 +01:00
Florin9doi
58b04ef77b QT Api for Camera (Linux/macOS)
Allow the use of different resolutions (win/android/iOS)
2020-02-10 08:47:55 +02:00
Aaron Kling
427e40f46e libretro: android: Do not build in the standalone UI 2020-02-05 11:47:03 -06:00
李通洲
ace88bf473
Modify Info.plist automatically 2020-02-04 11:55:54 +08:00
Florin9doi
5fbf2d7713 Add camera/location support for iOS
Add front camera support for Android
Allow to change the active camera in-game
2020-01-25 16:54:45 +02:00
李通洲
7cd60549dd
Initial support for vulkan on macOS ( MoltenVK ) 2020-01-20 14:42:40 +08:00
Florin9doi
09e32223c2 Add camera support for linux (V4L2) 2020-01-16 23:25:34 +02:00
shenweip
034a257baf Add camera support for windows. 2020-01-13 15:06:02 +08:00
Andrés
67c0c36efb
Update CMakeLists.txt
SDL2 is not required for the libretro target
2019-11-10 13:47:15 -05:00
Henrik Rydgård
970adfbcc9 Isolate most of the softgpu specialization code to RasterizerRectangle.
See comments.
2019-10-28 09:33:30 +01:00
Unknown W. Brackets
daf07032a6 cmake: Ignore if madbundle.sh fails. 2019-10-07 20:15:25 -07:00
Henrik Rydgård
7f835d3301 MakeUnique.h in the CMakeLists.txt 2019-08-12 21:53:51 +02:00
Florin9doi
99c4a00dae sceUsbMic 2019-08-03 21:09:33 +03:00
Tomas Kelemen (vudiq)
8212236c44 libretro: don't fail on missing SDL
when building libretro core, cmake should not fail on missing SDL, as
libretro uses own code for handling the input. the core builds, links
and runs fine without SDL
2019-07-30 08:35:45 +02:00
Silent
0b5458f759
Remove KeyboardDevice which was essentially useless
Refactor InputDevice to simplify it
2019-07-02 19:17:52 +02:00
Henrik Rydgård
2ecec84c84
Merge pull request #12127 from unknownbrackets/ge-record
Cleanup GE dump playback
2019-06-24 12:28:32 +02:00
Unknown W. Brackets
93069756e6 GE Debugger: Split playback into a separate file. 2019-06-23 18:49:27 -07:00
Xie Yi
b37553fba2 fix indent 2019-06-24 08:49:47 +08:00
Xie Yi
0e7c85d89e Disable external display by default
Configuration is in system settings
2019-06-19 17:47:14 +08:00
Xie Yi
259f0ce22e Auto switch between internal and external display 2019-06-11 01:24:58 +08:00
Unknown W. Brackets
3e4faea6ad cmake: Automatically disable Wayland for Raspbian.
Also add a shortcut to b.sh since it has its own toolchain file.
2019-03-23 08:25:39 -07:00
Henrik Rydgård
536d61796a Android (and libretro): Turn off -ffast-math. Fixes #11880. 2019-03-13 14:15:52 +01:00
vit9696
2ccd0156f5 Bundle libSDL inside app on macOS, fixes #11830 2019-02-23 14:15:17 +03:00
Conn O'Griofa
99c2440d14
CMakeLists: fix EGL detection for ARM devices
ARM macro has been renamed to ARM_DEVICE; fixes Raspberry Pi builds.
2019-01-25 15:38:03 +00:00
mygizli04
266dd17c2a
Remove the duplicate 2019-01-06 15:24:39 +04:00
mygizli04
855df8b563
Typo 2019-01-06 14:38:35 +04:00
mygizli04
6dcf95781a
Changing it to import some logo files on the iOS port.
I searched EVERYWHERE but couldn't find anything even related to logos or fons.. Well reimporting them has no downside so why not
2019-01-06 14:12:55 +04:00
mygizli04
bef7b005dd
I don't know why i included it there haha 2019-01-01 01:29:22 +04:00
mygizli04
f71c7c5ffb
Configure CMake to include the new logo 2019-01-01 01:22:47 +04:00
Henrik Rydgård
04646fe678 Build system updates 2018-12-19 14:01:19 +01:00
Henrik Rydgård
683a4e0fb2
Merge pull request #11676 from unknownbrackets/gles-depth
WIP - GLES: Download depth values via shader
2018-12-19 09:58:38 +01:00
Henrik Rydgård
637b6ce79a Remove unused and unfinished SPIRV disassembler 2018-12-18 10:37:49 +01:00
Unknown W. Brackets
e49568f67d GLES: Move depth packing code to dedicated file. 2018-12-16 17:34:16 -08:00
orbea
9aed8908a2 cmake: Fix CMP0077 policy warnings.
Fixes https://github.com/hrydgard/ppsspp/issues/11629
2018-12-03 19:01:16 -08:00
orbea
828dcc26b7 cmake: Remove the unused RASPBIAN define. 2018-12-03 19:01:16 -08:00
Henrik Rydgård
b88b07ea00
Merge pull request #11550 from unknownbrackets/discord
Discord: Add cmake option to disable
2018-11-11 00:09:06 +01:00
Unknown W. Brackets
6bd6b86c05 Discord: Add cmake option to disable. 2018-11-10 09:49:08 -08:00
Rémi Verschelde
3cc7054831 CMake: Fix linking X11 when using EGL and not fbdev
Co-authored-by: Unknown W. Brackets <checkins@unknownbrackets.org>
2018-11-06 18:31:05 +01:00
Henrik Rydgård
b6742af077
Merge pull request #11538 from akien-mga/cmake-arm-linux-opengl
CMake: Link against OpenGL when using EGL but not GLES2
2018-11-06 16:17:04 +01:00
Rémi Verschelde
ea2025c291 CMake: Link against OpenGL when using EGL but not GLES2
At least for Linux armv7hl this seems to be necessary, otherwise build
fails with:

/usr/bin/ld: lib/libnative.a(GLQueueRunner.cpp.o): undefined reference to symbol 'glStencilOp'
2018-11-06 14:31:46 +01:00
Rémi Verschelde
3bc89f3d1c CMake: Allow disabling Wayland support with USE_WAYLAND_WSI
This change means that USE_WAYLAND_WSI=ON no longer triggers a
fatal error if Wayland libraries are missing though, it will just
show a message and continue building without Wayand WSI support.

Closes #11536.
2018-11-06 12:08:11 +01:00
Unknown W. Brackets
f81dd83aa0 Core: Format CMakeLists.txt consistently. 2018-10-28 14:58:51 -07:00
Unknown W. Brackets
6b89b6a4bb Qt: Add GLES defines if USING_GLES2.
See #11495 - thanks to Jan Beich.
2018-10-28 14:58:17 -07:00
Jan Beich
94c56ea09c native: enable backtrace on some BSDs 2018-10-27 18:22:24 +00:00
Henrik Rydgård
f8ea364371 Cleanup: Split out the WASAPI code into its own file. 2018-09-30 20:29:39 -07:00
AreaScout
d222417bfe Fix: prevent linkage error if EGL and GLES is not in one big blob 2018-09-25 12:19:23 +00:00
AreaScout
0dbe5d7249 Fix: should close on spec #11404 2018-09-20 15:06:49 +00:00
Unknown W. Brackets
1f881d7904 Android: Buildfix for CMake 3.6.
The buildbot doesn't support GREATER_EQUAL.
2018-09-18 19:31:26 -07:00
AreaScout
95556e8d03 Add: some helpers to compile on ODROID-XU4/XU3 2018-09-17 20:01:12 +00:00
AreaScout
468c508b3a Add: -ffast-math compiler option to anything other then Intel 2018-09-11 19:12:09 +00:00
Unknown W. Brackets
f87dcefdd8 Android: Buildfix for CMake.
May affect other arm64 too.  Also, ifdef out a check in case of compiling
with GL 3 headers (to fix a Linux buildbot issue.)
2018-09-03 18:41:52 -07:00
Unknown W. Brackets
653129c528 Debugger: Add an event for GE dump recording. 2018-09-01 10:59:37 -07:00
Unknown W. Brackets
a4c0640f01 GE Debugger: Factor out host calls some.
Moving more of this to cross platform for the web debugger.
2018-09-01 08:32:03 -07:00
Unknown W. Brackets
22a536fb0c
Merge pull request #11307 from hrydgard/discord-mac-linux
Enable Discord integration for Mac and Linux.
2018-08-26 23:04:49 -04:00
Henrik Rydgård
529b8c6025 Untested attempt to fix ios/mac discord
(no machines around right now)
2018-08-26 23:10:37 +02:00
orbea
8ba1f049da Allow choosing to use the system snappy or not. 2018-08-26 12:59:02 -07:00
Henrik Rydgård
e34378a1c1 Enable Discord integration for Mac and Linux. 2018-08-18 10:11:15 +02:00
LunaMoo
f038b6489a Add sceUsbAcc stubs, improves EyePet(fixes endless loop on boot) 2018-08-15 18:35:07 +02:00
Henrik Rydgård
9c22f6ed55 Don't forget to update the other build systems and try to fix the
builds.
2018-08-13 00:28:12 +02:00
hissingshark
90fbbaba1a Made X11-Vulkan default. Provided explanatory toolchain file as overriding is more complex. 2018-06-27 12:48:59 +01:00
hissingshark
d1f116356f Changed cmake option to exclude X11 rather than Vulkan itself. 2018-06-26 22:17:22 +01:00
hissingshark
e4fea3be6a Added Vulkan disable and forced CPU detection options 2018-06-26 22:17:22 +01:00
Unknown W. Brackets
b4496f1975 Core: Move config enums to separate file.
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
e6917cccf6 Debugger: Add APIs to retrieve render image. 2018-06-16 15:33:02 -07:00
Unknown W. Brackets
9d96e6579c
Merge pull request #10909 from unknownbrackets/debugger
WebSocket based debugger interface
2018-06-09 15:37:06 -04:00
Unknown W. Brackets
a676721683 Qt: Remove bundled assets reader.
It was no longer being used or linked, so it just meant the assets were missing.
With this removed, the assets (lang inis, shaders, etc.) are available again.

Fixes #9831 - likely broken since #9061, which stopped using the qrc.
2018-06-09 10:47:53 -07:00
Unknown W. Brackets
5bfba9b284 Debugger: Add HLE API funcs.
Lumping function symbols in here too, they're pretty related...
2018-06-08 06:59:18 -07:00
Unknown W. Brackets
29d93c56c7 Debugger: Initial breakpoint APIs. 2018-06-08 06:59:18 -07:00
Unknown W. Brackets
e746a2d106 Debugger: Add stepping to WebSocket API. 2018-06-08 06:59:17 -07:00
Unknown W. Brackets
944948a5f4 Debugger: Initial disasm API. 2018-06-08 06:59:17 -07:00
Unknown W. Brackets
3dac5f2103 Debugger: Add current game info. 2018-06-08 06:59:17 -07:00
Unknown W. Brackets
1f987bf1c1 Debugger: Initial register get/set APIs. 2018-06-08 06:59:16 -07:00
Unknown W. Brackets
b37d59e8fa Debugger: Organize WebSocket event handling.
Just a starting point to organize it.  Trying to keep it simple.
2018-06-08 06:59:16 -07:00
Unknown W. Brackets
c2b9b5a9e8 Debugger: Serve a simple log listener WebSocket.
Planning to add more functionality to it, and sharing the reporting port
is possibly not ideal - although it would make discovery easier.
2018-06-08 06:59:16 -07:00
Unknown W. Brackets
3a8a2ff933 http: Move web server to core and use flags.
This way we can independently control the debugger and disc sharing, since
debugger could have security impact.
2018-06-07 16:28:01 -07:00
Unknown W. Brackets
b75b6801c8 http: Add a simple WebSocket server class. 2018-06-07 14:11:52 -07:00
Henrik Rydgård
df699c67b2
Merge pull request #10960 from unknownbrackets/debugger-json
Switch json to gason, include json writer in build
2018-06-06 21:19:13 +02:00
Henrik Rydgård
bc6f211724
Merge pull request #11093 from unknownbrackets/debugger-armips
Include armips assembler in build
2018-06-06 20:41:20 +02:00
Unknown W. Brackets
082ddf5120 json: Switch to gason instead of vjson.
From the same author.  Most importantly, reads numbers as doubles rather
than as signed ints and floats.  This allows us to actually read 32 bit
unsigned int parameters.

Moved all the native customization to a separate json_reader.cpp.
2018-06-06 05:59:35 -07:00
Unknown W. Brackets
fb876e78c0 json: Actually include in build. 2018-06-06 05:59:33 -07:00
Unknown W. Brackets
e21753bc93 Debugger: Add assembler to build. 2018-06-06 05:59:24 -07:00
Unknown W. Brackets
ec398cbb1f Qt Debugger: Remove texture viewer.
No longer worked anyway.  Being replaced by WebSocket debugger.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
cf33e852ef Qt Debugger: Remove memory viewer.
Being replaced by WebSocket based debugger.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
28cabd578a Qt Debugger: Remove display list debugger.
Being replaced with WebSocket based debugger.  Was disabled and not
working anyway, and hardcoded some GL so a barrier to Vulkan.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
c3213ade25 Qt Debugger: Remove disassembly.
Being replaced by WebSocket based debugger which is better maintained.
2018-06-06 05:58:09 -07:00
Unknown W. Brackets
18f0168b63 Qt Debugger: Remove VFPU dialog.
Being replaced by new WeBsocket based debugger with better maintenance.
2018-06-06 05:58:09 -07:00
Unknown W. Brackets
360e28f971 Qt: Fix build on Mac. 2018-06-06 05:58:09 -07:00
Unknown W. Brackets
ef08c81a6f Qt: Mark git-version.cpp to skip automoc.
Fixes #10829.
2018-06-06 05:58:09 -07:00
Conrad Kreyling
cb83ff598b add updated Obj-C version of SubtleVolume 2018-04-08 13:29:38 -04:00
Unknown W. Brackets
89186d8113 Replay: Initial structure for replay functionality. 2018-04-07 15:36:28 -07:00
Aaron Kling
955652cc35 Libretro needs core staticly linked even on Android 2018-03-28 18:16:56 -05:00
aliaspider
d1711c5aa4 nits. 2018-03-24 13:39:05 +01:00
aliaspider
c4f7790618 Libretro port. 2018-03-24 12:44:53 +01:00
aliaspider
f94e9b1e74 set _WIN32_WINNT to 0x0601 in stdafx.h 2018-03-23 22:54:12 +01:00
aliaspider
3fbb340450 fix most write-strings warning. 2018-03-23 04:21:46 +01:00
aliaspider
54d9406713 fix mingw and msvc cmake builds. 2018-03-23 03:18:13 +01:00
Henrik Rydgård
448e8fb49a Split out QtHost.h from HostTypes.h 2018-03-03 08:46:12 +01:00
Henrik Rydgård
5f8118b82b Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases. 2018-02-25 10:27:59 +01:00
Henrik Rydgård
59d6cc12f2 Add an option to use the system libzip, to please grumpy package maintainers.
This reverts commit 1a34f88331.
2018-02-07 12:10:46 +01:00
Henrik Rydgård
1a34f88331 Always use the bundled libzip to avoid compatibility issues. Should fix #10575 2018-02-06 19:41:00 +01:00
Henrik Rydgård
85446d6c51 Split the SDL graphics contexts into their own files. 2018-02-04 13:42:04 +01:00
Henrik Rydgård
67b8c4527d b.sh: Add a build option for address sanitizer. When enabled, we turn on some compatibility options to make it work right. 2018-01-31 14:29:23 +01:00
Henrik Rydgård
22e28e218b
Merge pull request #10411 from hrydgard/gl-render-manager
GL render manager - new faster GL multithreading
2018-01-31 12:22:07 +01:00
Henrik Rydgård
ab62587949 Avoid linking error on MacOSX. 2018-01-30 00:24:27 +01:00
Henrik Rydgård
c60c8ed68a Debug visualization for the Vulkan memory allocator. Shows some interesting behaviour. 2018-01-29 19:38:10 +01:00
Henrik Rydgård
49c3cb83fe GL render manager: Simple implementation of synchronous framebuffer readbacks. 2018-01-27 15:10:17 +01:00
Henrik Rydgård
f99fa02ba7 Run the depal stuff, seems a bit broken. Add some state filtering. 2018-01-27 15:10:17 +01:00
Henrik Rydgård
51f467a7b3 Kill off the GL state cache 2018-01-27 15:10:17 +01:00
Henrik Rydgård
133bef575a Split Android graphics context implementations into their own files. 2018-01-20 21:47:16 +01:00
Kentucky Compass
6ea4924ee9 require iOS 8, add a launch screen 2018-01-04 09:56:49 -08:00
Kentucky Compass
152dc2192f iOS: convert all obj-c source code to ARC 2017-12-31 19:36:47 -08:00
Kentucky Compass
ca5758f80b Change iOSCoreAudio from cpp to mm. Explicitly activate the audio session. Always set the same mDataByteSize. 2017-12-31 00:45:05 -08:00
Kentucky Compass
4cec3d1bf3 Add AVFoundation to linked frameworks on iOS 2017-12-31 00:37:22 -08:00
Kentucky Compass
bcd19ee520 fix cmake when building for iOS in a path with spaces 2017-12-30 20:57:45 -08:00
Henrik Rydgård
d487c75562 Android cmake buildfix 2017-12-27 15:28:17 +01:00
Greg V
bbf2dcdb21 Check for Wayland headers in CMake 2017-12-26 16:09:31 +03:00
Greg V
52234dae91 Remove VULKAN_STATIC 2017-12-26 16:09:31 +03:00
Greg V
f4d76c840c Support Vulkan on any Unix
In particular, it works FreeBSD
2017-12-26 16:09:31 +03:00
Greg V
f3783bdb44 Add support for Vulkan on Wayland 2017-12-26 16:09:27 +03:00
Henrik Rydgård
9f02e9c4f0 Android cmake fix 2017-12-22 00:02:46 +01:00
Henrik Rydgård
f73ec4608e Build Vulkan on all platforms, won't be used if not supported. 2017-12-21 14:13:55 +01:00
Henrik Rydgård
9007abddbf Get Vulkan going on Linux 2017-12-21 11:02:11 +01:00
Henrik Rydgård
7f758d52dc Statically link a vulkan loader on Linux. Use to to init vulkan on X11. Unfortunately, it's broken. 2017-12-21 11:02:11 +01:00
Henrik Rydgård
ea387b2a48 WIP vulkan on linux stuff 2017-12-21 10:48:00 +01:00
Henrik Rydgård
2bdae5b338
Merge pull request #10420 from hrydgard/core-cleanup
Some core cleanup
2017-12-20 11:25:11 +01:00
Conn O'Griofa
20080ba123
CMakeLists: relocate EGL library name detection
Raspberry Pi targets require a custom EGL library name (configured in cmake/Toolchains/raspberry.armv*.cmake). Move configuration of EGL_LIBRARIES for generic targets out of SDL2 target to ensure correct library name is used everywhere (including QT builds).

Fixes build on Raspberry Pi.
2017-12-20 03:38:01 +00:00
Henrik Rydgård
740d0504ad Move QtMain.cpp and PCMain.cpp to more sensible locations. Native isn't standalone anymore... 2017-12-19 18:04:26 +01:00
Henrik Rydgård
6f0b382d9e Move vulkan debug callback out from WindowsVulkanContext into a file that can be shared with other platforms later. 2017-12-13 19:29:42 +01:00
Henrik Rydgård
99b34c7b45 Use glslang to translate GLSL 1.x postshaders to GLSL 3.0 or later to appease strict GL Core drivers. Should fix #10362
Fixed small bugs, now tested and working on mac.

Add spirv-cross to cmake build
2017-12-08 10:25:42 +01:00
Henrik Rydgård
7d0fc9ce65 Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc. 2017-12-07 15:05:59 +01:00
Henrik Rydgård
cf5ede493b
Merge pull request #10247 from unknownbrackets/ui-tween
UI: Show a loading message during shader preload
2017-12-06 14:24:21 +01:00
Henrik Rydgård
44b1dc8daf Try to fix iOS builds on the Travis buildbot. #10254 2017-12-05 13:23:13 +01:00
sergio-br2
4b59fe6dac
Missing -lEGL when -DUSING_EGL=ON
Related to #9565

I tested only on ARM Linux (Ubuntu 14.04 on Odroid U3). Qt is building fine and working.
2017-12-04 16:09:06 -02:00
Unknown W. Brackets
b4b850bce8 UI: Add a simple tween class. 2017-12-03 09:39:50 -08:00
orbea
0f98ab21c2 Remove trailing whitespace from CMakeLists.txt 2017-11-18 08:17:08 -08:00
Henrik Rydgård
b8dc4d1fb8 Buildfixes for Android 2017-11-12 16:55:36 +01:00
Henrik Rydgård
5018e400f2 Remove some code duplication 2017-11-01 14:51:15 +01:00
Henrik Rydgård
ca7a2d06ca Vulkan: Implement stencil upload (for Star Ocean). 2017-11-01 14:18:39 +01:00
Henrik Rydgård
97dced543e Share the conversion code between vulkan and D3D, fixing the missing format thing. 2017-10-29 14:42:51 +01:00
Henrik Rydgård
9b183f1f4b Forgot to add the CMakeLists.txt change to the last commit. 2017-10-26 10:57:00 +02:00
Henrik Rydgård
1c5bd0f8dc Move the VulkanRenderManager stuff to thin3d, fits in better there. 2017-10-26 10:56:59 +02:00
Carlos Estrague / Mrc_munir
916bb54361 Separate -Bsymbolic Shared linker flag
Using "$ {CMAKE_SHARED_LINKER_FLAGS}" for separate linker -Bsymbolic.

Previously it ignored to the previous declared flags it does not find them. for this gave error with some linkers flags
2017-10-22 21:57:35 +02:00
Carlos Estrague / Mrc_munir
52e3406e3d Ops typo 2017-10-18 05:37:26 +02:00
Carlos Estrague / Mrc_munir
0a07d1a173 Better path fix x86_64 android
Not sure why not needed before when updated my toolchain to NDK15 now  no found -landroid  and error: cannot open crtbegin_dynamic.o: No such file or directory 

So we pull it safe in case not detect sysroot properly.
2017-10-18 03:47:15 +02:00
Conn O'Griofa
34a61cf57e RPI: use new vendor graphics library names
Now required to build on recent Raspberry Pi firmware images (Raspbian stretch).
2017-10-17 00:50:16 +01:00
Carlos Estrague / Mrc_munir
fc1e8267e7 restructure some flags x86_64 android
seems load  with  -Wl, only -Bsymbolic
2017-10-16 00:58:34 +02:00
Carlos Estrague / Mrc_munir
a37ef3ecbf Will fix Android-x86_64 cmake
Use the same flags from android-x86 project  load fine in marsmallow and nougat tested android-x86 images and avd images 
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-fatal-warnings -Wl,-Bsymbolic")
2017-10-15 04:33:57 -04:00
Unknown W. Brackets
7db9dfb50b Headless: Reduce some duplication.
We can share the screenshot code for SDL.
2017-09-20 09:25:28 -07:00
Unknown W. Brackets
5a3d229d04 Headless: Add support for SDL. 2017-09-20 07:24:58 -07:00
imxieyi
78f549754a forget to modify cmakelists 2017-09-04 15:46:05 +08:00
Henrik Rydgård
6a1fa728d8 Remove Globals.h 2017-08-31 17:15:22 +02:00
Florin9doi
892bc8617d Integrate sceUsbGps and sceUsbCam with Android 2017-08-27 17:19:11 +03:00
Henrik Rydgård
9bce767b73 Merge pull request #9916 from hrydgard/faster-hashmaps
Replace the most critical unordered_maps and maps with faster maps.
2017-08-20 17:56:31 +02:00
Henrik Rydgård
ceb76bd89a Include Hashmaps.h in CMakeLists.txt. 2017-08-20 11:44:43 +02:00
Henrik Rydgård
91783a3281 SIMD-optimize some data conv routines used in uniform updates. 2017-08-20 11:43:35 +02:00
Ade Novan
20b289c8ea cmake buildfix 2017-07-02 01:28:38 +08:00
Unknown W. Brackets
21fbacd993 Build: Include Roboto in buildscripts. 2017-06-06 23:28:43 -07:00
Henrik Rydgård
871260fcc4 Start sketching native text rendering for Android 2017-06-05 23:09:04 +02:00
Henrik Rydgård
c5ebeb4273 Merge pull request #9780 from unknownbrackets/ge-record
GE recorder and replay
2017-06-05 10:08:55 +02:00
Henrik Rydgård
6e98dbb574 Split out the Qt font drawer in its own file. 2017-06-04 11:52:14 +02:00
Unknown W. Brackets
36069d1446 GE Debugger: Simple framework to load dumps.
This tries to execute them within the context of the emulator as much as
possible, so we don't have weird bugs.  Going with a file type so we can
easily load the dump by opening the file directly.
2017-06-03 15:29:11 -07:00
Unknown W. Brackets
cbbd3cac7e GE Debugger: Initial structure for GE data dumping.
This snapshots the GE commands and drawing to facilitate debugging.
2017-06-03 15:29:09 -07:00
Unknown W. Brackets
1b491fe156 SoftGPU: Stub a jit for texel fetch. 2017-05-30 22:57:30 -07:00
Unknown W. Brackets
d5426e4360 SoftGPU: Move sampler code to a dedicated file. 2017-05-30 22:53:23 -07:00
Henrik Rydgard
8d1ece05ca Finally move flash0 into assets, fixing #9468 and #9520
CMake fix
Fix the innosetup and zip scripts for the new assets location
2017-04-01 00:20:53 +02:00
Jan Beich
11485f6a10 Qt: don't require QtMultimedia if building with SDL for #9157 2017-03-31 06:05:33 +00:00
Florent Castelli
7d4c8780e5 cmake: Fix linking against system Snappy 2017-03-19 18:44:12 +01:00
Florent Castelli
e0cce7602b cmake: Fix linking against system GLEW 2017-03-19 18:44:12 +01:00
Henrik Rydgård
1424713f62 Minor resource reorg 2017-03-17 12:35:27 +01:00
Henrik Rydgård
48c0b56db2 Forward the GOLD cmake variable to a CPP define. 2017-03-16 11:04:48 +01:00
Henrik Rydgard
468d01eeff CMakelist cleanup, might buildfix things on Linux Clang 2017-03-16 10:16:29 +01:00
Henrik Rydgård
d6b9b7f41f Fix a mistake with cflags reorg 2017-03-15 19:42:17 +01:00
Henrik Rydgård
f8343e9efc Add Gradle build. This time, we don't remove the old build system and we don't switch Travis. 2017-03-15 19:42:17 +01:00
Henrik Rydgård
a4699a37df Update armips with regex workaround 2017-03-15 15:47:30 +01:00
Henrik Rydgård
7e007c3973 Merge pull request #9426 from unknownbrackets/input-state
Remove various legacy parts of the InputState
2017-03-14 09:34:57 +01:00
Unknown W. Brackets
02855e7abb Remove unused pad_buttons and old virtual_input.
GamepadEmu does this now.
2017-03-13 22:57:22 -07:00
Henrik Rydgård
7b460b1815 Remove armips from the generic CMake build again, it didn't build on iOS 2017-03-13 19:28:56 +01:00
Henrik Rydgard
5e88fae640 Link to armips in CMake build 2017-03-13 17:30:19 +01:00
Henrik Rydgård
a83d1feb20 Add missing file to CMakeLists.txt 2017-03-13 16:52:33 +01:00
Henrik Rydgard
d46397627e Buildfixes 2017-02-28 11:40:29 +01:00
Henrik Rydgard
a362af74c0 Buildfix the CMake-based Windows build 2017-02-16 17:58:31 +01:00
Henrik Rydgard
b5034c4e00 Hide the D3D11 backend if Windows version is older than Win8 2017-02-14 10:33:42 +01:00
Henrik Rydgard
76587ec61c Further stuff. 2017-02-09 13:28:59 +01:00
Henrik Rydgard
01e11c6437 Some mostly empty files for D3D11 2017-02-08 17:47:07 +01:00
Henrik Rydgard
55aa879216 A lot of buildfixes 2017-02-06 16:16:43 +01:00
Henrik Rydgard
f1c96c056d Move all the GL/D3D9 FBO code into thin3d. 2017-02-06 11:40:16 +01:00
Henrik Rydgard
41f770d815 Move dx_state into gfx/d3d9_state 2017-02-05 20:54:24 +01:00
Henrik Rydgard
ba52ba8714 Move global.cpp to native/gfx/d3d9_shader.cpp 2017-02-05 20:50:17 +01:00
Subs
f9ac218d21 Typo: ARMV64 -> ARM64 2017-02-03 19:16:20 +01:00
Subs
fcffad2ccd CMakeLists: add linux/aarch64 to ffmpeg 2017-02-03 17:43:01 +01:00
zhyk
8c185b2f3a Add Qt with SDL support to CMake.
Fixes #9157.
2017-02-01 14:37:36 +08:00