Commit Graph

690 Commits

Author SHA1 Message Date
Munir
7be2f81544 Initial support x64-android 2016-01-17 23:34:25 +01:00
Henrik Rydgard
b39206f922 Use the app cache directory on Android for the shader cache. 2016-01-17 22:15:23 +01:00
Henrik Rydgard
27c71aa340 Get rid of the unused "InstallID" 2016-01-17 15:46:15 +01:00
Unknown W. Brackets
481be1cd34 Fix GL feature detection. 2016-01-06 20:26:53 -08:00
Unknown W. Brackets
6c38b22467 Fix crashes when running games, tests, etc.
Need the graphicsContext value to stick around.
2016-01-03 11:05:36 -08:00
Henrik Rydgard
3398288bd0 Some cleanup around input_state 2016-01-01 14:40:18 +01:00
Henrik Rydgard
f419281d16 Fix Android build 2016-01-01 14:40:17 +01:00
Unknown W. Brackets
312fcab8b0 Fix unittest build on Android x86. 2015-12-26 20:35:49 -08:00
Unknown W. Brackets
86127b3d0d Update armips to latest version.
The new version has some speed and other improvements.
2015-12-26 20:30:35 -08:00
Unknown W. Brackets
272d21d702 Send initially held permission grants at start.
This way we don't have to re-ask for things we already have.
2015-12-22 22:29:11 -08:00
Unknown W. Brackets
cca16f63a0 Fix ant build on Windows. 2015-12-22 22:15:41 -08:00
Unknown W. Brackets
dd5c91108c Use a background thread to load ISO into RAM.
This way we don't get slow startup.  This will also cache the CSO data,
for example, rather than the raw data, using up less RAM.  It might even
be reasonable to enable on 32-bit.
2015-12-19 15:23:25 -08:00
Henrik Rydgard
732b1239e7 Add some permission infrastructure, add an ugly button that asks you to grant STORAGE permission if necessary. 2015-12-17 22:41:50 +01:00
Henrik Rydgard
2d22088f38 Update Android target, support "Runtime Permissions" in Android 6.0+ (Marshmallow).
Currently this is the absolute minimum required. Will later add a button to re-request the
permission if it's lost, but at least we do that on application startup.

Storage is the only permission we need that's not auto-granted.
2015-12-17 20:27:25 +01:00
Henrik Rydgard
ebf9bd74c6 Minor fixes 2015-12-17 19:38:23 +01:00
Henrik Rydgård
0e1e52242f Remove unused import 2015-12-16 22:25:01 +01:00
Henrik Rydgard
fd2557dbd7 EGL: Add autodetect mode that only chooses between ES2 and ES3 2015-12-16 21:48:19 +01:00
Henrik Rydgard
db633aa377 Lots more debug logging. Terrifying compatibility hack for devices that for some reason create 16-bit buffers.
Like Xperia Play.
2015-12-16 21:37:39 +01:00
Henrik Rydgard
ac202c16c3 Screen rotation works correctly on startup on older Android devices now.
Changing in-menu still has issues because the activity will not restart.
2015-12-16 19:43:39 +01:00
Henrik Rydgard
13515bf235 Use the hardware scaler again on Android. Move all DPI handling code from java to app-android.cpp. 2015-12-16 14:52:44 +01:00
Henrik Rydgard
04f8bffa29 Use EGL from native code to initialize and run OpenGL on Android.
Should be more robust, allows initializing desktop GL if available, and lets us take control of the render loop.
2015-12-16 10:57:24 +01:00
Henrik Rydgard
2083f22dce Refactor (android): Decouple frame commands from Renderer object.
Minor cleanup in preparation for EGL.
2015-12-13 22:44:55 +01:00
Henrik Rydgard
ee4261cf5c Attempt to address some auto-reported crashes on Android
Still confused about the SignalSema/WaitSema ones.. they are still getting reported at high frequency
2015-11-25 12:05:32 +01:00
Henrik Rydgard
a0cff13efa Fix an auto-reported null pointer exception in NativeActivity, plus a couple of potential others.
Must be rare though..
2015-11-25 11:39:56 +01:00
LunaMoo
ae1cf1d85d Add Display layout editor to use for example on tablets, but also includes automatic screen cropping for 16:9 cases(default).
//Rebased & removed atlas stuff which was added with #8096
//squashed with some improvements
2015-10-31 20:50:02 +01:00
Henrik Rydgard
85c8f7d3c2 Hook up SasReverb. It sounds more like a buzzsaw than a reverb at the moment, needs debugging.
Added a bit of code that only enables it when a reverbed sound is active. This will need to be turned off later but useful right now for hearing when it's used..
2015-10-27 12:36:30 +01:00
Henrik Rydgard
edafa9bc17 Centralize the GPU state conversion functions 2015-10-24 23:49:05 +02:00
Henrik Rydgard
92389a4966 Use a common ShaderId class. Start moving shader ID code to GPU/Common 2015-10-24 23:24:06 +02:00
xiushu
14e7658bbb Implement on-screen touch combo keys.
Replace A,B,cross1,square1,triangle1 with number images 1-6

Rebuild the atlas, update the code to use combo keys 1-5

Also add psp_display.png from pull request #8082.
2015-10-24 13:22:43 +02:00
Henrik Rydgard
7f4e473e8c Add new shader viewing tool 2015-10-14 18:10:21 +02:00
Henrik Rydgard
91e576449f Update version numbers to 1.1.1 2015-10-12 19:57:19 +02:00
Henrik Rydgård
7faf1cb3f3 Fix a couple of crashes 2015-10-06 19:07:28 +02:00
Henrik Rydgard
dd8647bf3a Update version to 1.1 2015-10-04 15:46:29 +02:00
Henrik Rydgard
7a01bc1de3 Update lang, and improve the Android TV banner image a little 2015-10-03 18:44:45 +02:00
Henrik Rydgard
5ff5cf1ac7 Add compat.ini as a dependency to our various build systems 2015-09-27 11:50:23 +02:00
Henrik Rydgard
b07b002040 Introduce "Compatibility Flags".
These should be used very restrictively, see comment in Compatibility.h.

Should help #8004, by disabling depth rounding in Fight Night round 3.
2015-09-27 01:23:20 +02:00
Henrik Rydgard
7e70a743ca Another attempt at fixing the ant build. it must look for the native android module in ext 2015-09-22 18:53:53 +02:00
Henrik Rydgard
44b94e550b Fix NDK build path when building using ant. This should fix the buildbot. 2015-09-22 18:30:58 +02:00
Henrik Rydgård
ca0a6dc7f9 Remove native audio mixer (Unused in PPSSPP) and stb_vorbis 2015-09-19 10:43:58 +02:00
Henrik Rydgård
9636e4cef4 Fix assorted key mapping issues affecting Shield and probably pads in general on Android. See #7976 2015-09-17 22:46:59 +02:00
Unknown W. Brackets
4815046ba6 Add back missing lib from c757931 combination. 2015-09-12 15:18:19 -07:00
Henrik Rydgard
c757931779 Android: Combine the two Java Eclipse projects into one.
Should make it easier to get ndk-gdb going, which I've always had crazy issues with with library projects.
2015-09-10 18:51:48 +02:00
Unknown W. Brackets
85533dad6e Native merge part 2: update build files.
And a couple minor stragglers.
2015-09-06 13:06:57 -07:00
Henrik Rydgård
48fbc83abe Android buildfix 2015-09-06 15:26:36 +02:00
Henrik Rydgard
d822cbf60b Move fbo.cpp/h from native into PPSSPP 2015-09-06 13:13:37 +02:00
Henrik Rydgard
72ae497350 Remove glstate usage except in the GPU implementation. Prepare for moving it into PPSSPP. 2015-09-06 12:42:15 +02:00
Unknown W. Brackets
ba15718db3 Track hovering in GE debugger to show pixel value.
This works for texture, framebuffer, depth, and stencil.

Importantly, allows debugging the actual depth values present.
2015-08-23 09:25:05 -07:00
Henrik Rydgard
2430c283a5 More GPU cleaning, removing uses of GPUState.h where not needed.
Want to get rid of direct accesses to GPUState in modules that may be reused in
my future next-gen backends, that will reformat display lists into command lists that will
then be optimized and executed, out of sync with the real GPUState.

Candidate modules that may be reused in full are Framebuffer and Depal, possibly TextureCache to some degree.
2015-07-29 12:37:49 +02:00
Unknown W. Brackets
e3b6e35417 Correct path for case-sensitive unittest build.
Ouch.
2015-07-22 23:21:40 -07:00
Henrik Rydgard
1c8bae0925 Compile with -mstackrealign on Android-x86, "fixing" mystery crashes on Zenfone.
This is really just a workaround, I have no idea what is misaligning the stack. But it doesn't feel like it's us.

This has a small performance penalty but x86-Android is pretty rare, and it's better than crashing.
2015-07-22 21:03:27 +02:00
Henrik Rydgard
a459e0a733 Add a few little helper scripts to symbolize the last backtrace from adb logcat 2015-07-19 18:24:28 +02:00
Henrik Rydgard
b6e9a47974 Remove separate OpenSL .so, update native accordingly. Fix connection error reporting in HomebrewStore 2015-07-19 17:33:38 +02:00
Henrik Rydgard
0393da5a59 Delete obsolete file 2015-07-18 19:04:43 +02:00
Unknown W. Brackets
12faaca3e4 Build Android using a static library.
This makes headless and unittest build much faster, especially when all
three are building at the same time.
2015-07-05 16:08:41 -07:00
Unknown W. Brackets
808db2482a Initial structure for vertexjit tests. 2015-07-03 15:25:40 -07:00
Unknown W. Brackets
88b23460f1 Add a file loader to perform disk caching.
Had to do some tricks to handle gameinfocache threads properly.
2015-07-02 20:58:58 -07:00
Unknown W. Brackets
da827d9ef0 Move file loader code into directories.
Not making sense to put these all in the same fiel anymore.
2015-07-02 20:58:53 -07:00
Unknown W. Brackets
62988b2aa7 Fix building unittest for ARM64 Android. 2015-06-26 22:29:43 -07:00
Unknown W. Brackets
feddd202ee Add a flag to skip building the app on Android.
This is for unit tests and headless.
2015-06-26 22:26:46 -07:00
Unknown W. Brackets
0597b92998 For consistency, push fp regs here too. 2015-06-14 09:24:56 -07:00
Henrik Rydgard
2c05334d47 ARM64: Fix bug where we didn't save the FP registers correctly in the vertex decoder.
Also port a few ops from dolphin's ARM64 emitter.
2015-06-14 12:56:44 +02:00
Henrik Rydgard
084aad74c3 Make GameInfoCache understand PSP savedata as a "game" type. Use it to create a basic savedata listing screen. 2015-06-11 20:22:16 +02:00
Unknown W. Brackets
4880c29a90 Use TextureDecoderNEON funcs statically on arm64.
Not sure if they were being used before (HAVE_ARMV7...?)
2015-05-23 11:30:05 -07:00
Unknown W. Brackets
7269574a10 Add structure for NEON color conversion funcs. 2015-05-17 16:04:41 -07:00
Henrik Rydgård
d014d420db Unify JitOptions across the backends.
This is required to make ExtractIR not a member of the various backends.
2015-04-12 11:41:26 -07:00
Henrik Rydgard
a19ea78b4b Consolidate the texture scaler code. 2015-04-08 22:52:49 +02:00
Henrik Rydgard
1285ae4a61 Add ColorConv.cpp/h to a bunch of project files 2015-04-08 22:52:46 +02:00
Henrik Rydgard
073ef432ff Update android.mk 2015-04-08 21:55:23 +02:00
Henrik Rydgård
95cd1478de Restore the x86 build. 2015-04-06 18:13:37 +02:00
Henrik Rydgard
44286a2b37 ARM64: Accurate float->int conversion with rounding mode. 2015-04-06 18:13:34 +02:00
Henrik Rydgard
8df8c210d1 ARM64: Start porting over VFPU stuff from ARM, fix regalloc bug 2015-04-06 18:13:28 +02:00
Henrik Rydgard
db0fd1042f Add "Arm64EmitterTest" which can run on startup to play around with instructions. 2015-04-06 18:13:26 +02:00
Henrik Rydgard
58b059ca14 Some casting cleanup, misc 2015-04-06 18:13:06 +02:00
Henrik Rydgard
b309c83973 Initial work on ARM64, based on the ARM jit. 2015-04-06 18:13:01 +02:00
Henrik Rydgård
b7498f4581 Make some UI adjustments on TV devices 2015-04-03 11:54:24 +02:00
Henrik Rydgard
3eff1100d0 Try to add the very basics of Android TV support 2015-04-03 11:54:23 +02:00
Henrik Rydgård
2c51f06c78 Update submodules, get rid of analytics
Don't want to take a dependency on google play services. The old
analytics lib is broken on android target=21+.
2015-04-03 11:39:52 +02:00
Henrik Rydgard
6acd06348e Better error message when starting without a binary for the current ABI 2015-03-19 20:44:27 +01:00
sum2012
0030b85e00 Typo in Android.mk 2015-03-08 16:41:21 +08:00
sum2012
039b51083c Add sceG729 module 2015-03-08 13:27:40 +08:00
sum2012
7b262949aa Add sceAudioRouting
First step to fix "Invizimals" 's game
2015-03-08 10:58:12 +08:00
Henrik Rydgard
0c9f541a43 Move depalettize-shader generator to Common 2015-03-01 11:15:27 -08:00
Henrik Rydgard
8c8e5de89d Update version number to 1.0.1 2015-02-26 21:05:06 +01:00
daniel229
21b0c2992b Implement sceSfmt19937 module. 2015-02-15 13:22:20 +08:00
daniel229
851070a6f8 Implement sceAdler32 2015-02-08 09:35:00 +08:00
Henrik Rydgard
f94e7170f6 Update version numbers to 1.0 2015-02-01 21:17:43 +01:00
Henrik Rydgard
69bc82548f Update the font atlas 2015-01-31 15:29:57 +01:00
Henrik Rydgard
cae58cafee Revert "Merge pull request #7361 from hrydgard/color-conv-centralize"
This reverts commit f1b57dabf5, reversing
changes made to 41001637ce.
2015-01-22 19:53:32 +01:00
Henrik Rydgard
7faddd6100 Consolidate the two TextureScaler copies into one.
Also lets us clean up ColorConv slightly.
2015-01-20 17:32:55 +01:00
Henrik Rydgard
2623a48b4a Centralize color conversion functions in Common/ColorConv. 2015-01-20 17:32:54 +01:00
Unknown W. Brackets
db898aff23 Add a NEON method to apply the volume. 2015-01-11 14:23:41 -08:00
Henrik Rydgard
1b926ec59e Increase the resampler buffer size, needed on Shield :(
Reset DSound to 44100.
2015-01-11 18:06:39 +01:00
Henrik Rydgard
62d86f3246 Remove useless indirection class "PSPMixer" 2015-01-11 12:02:49 +01:00
Vlad
e1e2e6d1d2 #7269: quickfix: typo 2015-01-05 21:06:47 +02:00
Vlad
4dd21f7dcf Added AlertDialog popup, when a device has armeabi 2015-01-05 20:41:22 +02:00
sum2012
cabcb891e9 build fix for non-windows 2015-01-04 13:04:02 +01:00
vnctdj
cf135a8f11 Windows buildfix 2015-01-02 19:02:51 +01:00
Henrik Rydgård
53ab7ab4b2 Fix FakeJit, start preparing a little for ARM64 2014-12-23 09:36:28 +01:00
Henrik Rydgard
2e675c7b0b Move GamePauseScreen into its own file 2014-12-22 10:48:17 +01:00
Henrik Rydgard
951c5e7c0b Remove official support for armeabi devices (that is, very old ones) 2014-12-21 23:56:38 +01:00
Unknown W. Brackets
2dd9b10c8d Take screenshots with savestates. 2014-12-20 23:14:46 -08:00
Peter Tissen
df8e3bfe45 add an indicator to games when they have game settings
add slightly irregular *.zim files for now
(has some symbols from DejaVuSansCondensed and an extra symbol)
2014-12-16 00:15:36 +01:00
Henrik Rydgård
82d69fad8d Merge pull request #7146 from hrydgard/sha256
Quick implementation of sceSha256Digest from #7134
2014-12-08 10:40:56 +01:00
Unknown W. Brackets
c36992e95c Use %* for more than 1 arg in ab.cmd. 2014-12-07 15:44:09 -08:00
Unknown W. Brackets
4e8ee91c11 Add an option to build Unittest on Android. 2014-12-07 15:41:12 -08:00
Unknown W. Brackets
347a5f8151 Fix ppsspp_headless on Android Lollipop. 2014-12-07 15:41:12 -08:00
Henrik Rydgard
8102a67602 Implement sceSha256Digest (untested) 2014-12-07 19:25:45 +01:00
Henrik Rydgard
29e681808d Merge branch 'sceSha256' of https://github.com/daniel229/ppsspp into daniel229-sceSha256 2014-12-07 19:11:45 +01:00
Henrik Rydgard
ff4746cd17 Merge the rest of the old NEON branch. 2014-12-06 13:14:03 +01:00
daniel229
3d56e952f9 add files include in CMakeLists.txt and Android.mk. 2014-12-05 15:24:39 +08:00
Sacha
ee0c593258 Fix Android. 2014-11-12 03:19:46 +10:00
Unknown W. Brackets
71106328dc And fix an issue building on Android. 2014-10-31 10:11:47 -07:00
Henrik Rydgard
d24abb3af0 More GetPointer cleanup. memCardDirectory->memStickDirectory. 2014-10-19 23:20:51 +02:00
Martin Foo
b8d6a64f7a Compatibility ndk r9d armeabi-v7a-hard APP_ABI building. 2014-10-14 20:24:09 +08:00
Unknown W. Brackets
cb6634f54b Add udis86 b24baf1 (1.7.3?), not yet used.
Linked even on arm to avoid dependency complexity, might skip later.
2014-10-11 09:30:29 -07:00
Unknown W. Brackets
e4792116a7 Initial attempt at a compat report screen. 2014-09-27 16:41:33 -07:00
Unknown W. Brackets
5a0f646916 Merge pull request #6900 from hrydgard/gpu-convergence-2
Gpu convergence 2 - break out much of the Spline code into GPU/Common, fixes some minor things
2014-09-13 12:06:35 -07:00
sum2012
c6516e277f Do not need to ask directory when build Android 2014-09-13 22:48:28 +08:00
Henrik Rydgard
a4ae0f951a Move spline generation to SplineCommon, make SplineDX9.cpp identical to Spline.cpp (merge later somehow) 2014-09-13 15:13:34 +02:00
Henrik Rydgard
19a9c4481f Move GLES' SoftwareTransform to Common 2014-09-13 13:27:42 +02:00
Henrik Rydgard
37e3cf362f Move vertexdecoder files into GPU/Common 2014-09-12 02:00:32 +02:00
Unknown W. Brackets
8c229e00b4 d3d: Begin centralizing framebuffer management. 2014-09-09 08:12:42 -07:00
Unknown W. Brackets
94c1271761 Add an experiment with using a texture for tests.
Using an option for now so it's easy to test, if it works well we can
maybe remove the option.
2014-09-07 10:04:57 -07:00
Henrik Rydgard
78e9a25d59 Increase android version to 0.9.9.2 (as I pushed out a recompile of 0.9.9.1 with an older SDK with that version, there are no additional changes)
Should have done this a little while ago but whatever.
2014-09-06 13:50:49 +02:00
Henrik Rydgard
0f973a3276 Get it running on Android again 2014-08-23 09:48:08 +02:00
Itzael Martinez
a64c49e6bb Part 2: Leanback banner 2014-08-18 23:48:53 -05:00
Itzael Martinez
6d549eaeb4 Add in basic Android TV support
Edit manifest to have app appear in Leanback
2014-08-18 23:37:04 -05:00
Henrik Rydgard
bf709790c4 Update version to 0.9.9.1 2014-08-18 22:35:25 +02:00
daniel229
1ff9507f7c Add sceUsbGps module 2014-08-13 00:11:26 +08:00
Henrik Rydgard
b421e29391 Merge branch 'version-bump' of github.com:thedax/ppsspp into thedax-version-bump 2014-07-22 16:14:59 +02:00
Henrik Rydgard
b462120ee4 Turn off the automatic C++ build in eclipse (temporarily? I find it gets in the way more than it helps) 2014-07-22 15:25:48 +02:00
Henrik Rydgard
a968fca17d Simplify ab.cmd 2014-07-22 15:24:48 +02:00
Henrik Rydgard
2e38bdd51f Regenerate atlas with support for Thai and fix for korean language name 2014-07-22 15:11:04 +02:00
Henrik Rydgard
e9e680d84c Regenerate font atlas 2014-07-21 21:53:30 +02:00
Henrik Rydgard
0986f27f33 Detect screen size and choose resolution defaults accordingly.
Also prevent recreate on older Android versions where it doesn't seem reliable.
2014-07-21 00:35:36 +02:00
Henrik Rydgard
72b5d1cd8e Fix aspect ratio mistake for hw scaler affecting portrait mode 2014-07-20 21:45:17 +02:00
Henrik Rydgard
75b9da3e96 Update submodules and fix a warning 2014-07-20 17:16:02 +02:00
Henrik Rydgard
76bdd84e43 Add option to use the Android hardware scaler by setting a low resolution 2014-07-20 00:22:08 +02:00
sum2012
109ec60b85 Update Android Readme.txt 2014-07-19 21:42:31 +08:00
Sacha
d2f43889a0 Android: Fixes for CMake and Qt. 2014-06-28 02:50:24 +10:00
The Dax
b767de934a Bump version to 0.9.9. 2014-06-23 12:08:56 -04:00
Henrik Rydgard
122fa17d74 Fix android build 2014-06-22 18:37:18 +02:00
Sacha
4ed944a576 Remove redundant armv7 defines. 2014-06-11 15:15:39 +10:00
Unknown W. Brackets
089ee41d9c Implement a very basic stencil upload.
This is not fast or efficient, but works.
2014-05-31 21:48:09 -07:00
Henrik Rydgard
ee150fadbb Update CMake and Android build 2014-05-27 22:09:23 +02:00
Unknown W. Brackets
b9ede6aade Add a class to create helper threads from HLE.
This should be usable from sceIo as well.
2014-05-22 23:38:21 -07:00
Unknown W. Brackets
6ccae8f5a7 x86jit: Use a faster safemem fallback.
Really helps performance in games that use uncached addresses a lot,
without really impacting performance of most games which don't.

Of course, fastmem is faster.
2014-05-06 08:05:12 -07:00
raven02
8ed82f3d25 Fixes #5779 with new PSPScreenShotDiag class 2014-04-30 19:28:05 +08:00
Unknown W. Brackets
701171f75a Merge remote-tracking branch 'upstream/no-light-cache' 2014-04-21 22:40:21 -07:00
Unknown W. Brackets
63c00878d0 Buildfix for Android armv6. 2014-04-21 07:46:17 -07:00