Commit Graph

539 Commits

Author SHA1 Message Date
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
b6e9a47974 Remove separate OpenSL .so, update native accordingly. Fix connection error reporting in HomebrewStore 2015-07-19 17:33:38 +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
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
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
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
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
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
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
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
0f973a3276 Get it running on Android again 2014-08-23 09:48:08 +02:00
daniel229
1ff9507f7c Add sceUsbGps module 2014-08-13 00:11:26 +08:00
Henrik Rydgard
75b9da3e96 Update submodules and fix a warning 2014-07-20 17:16:02 +02: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
Henrik Rydgard
fddc0e74b6 Buildfix non-windows platforms 2014-04-21 12:51:20 +02:00
Unknown W. Brackets
63b5ec3d85 Allow specifying a root path for host0:/.
This way, similar to the PSP, we can have a root path outside the test.
2014-04-19 21:43:09 -07:00
Unknown W. Brackets
33840c58de Android buildfix. 2014-04-17 01:09:33 -07:00
kaienfr
b18252b2b5 Support audio playing (AT3, AT3+, Mp3, AAC) 2014-03-23 19:45:08 +01:00
Unknown W. Brackets
4674ff50cc Ingore literal-suffix on Android, the sdk has it.
Just makes it hard to find real warnings.
2014-03-15 10:37:13 -07:00
The Dax
bca5b38c90 Build-fix for Android. 2014-03-15 11:32:55 -04:00
Henrik Rydgard
9e0d4836fe Android: Minimum requirement is now Gingerbread. Upgrade to GCC 4.8.
"Fixes" #4798.
2014-02-17 23:36:13 +01:00
Unknown W. Brackets
d2108a962e Switch from USING_GLES2 to MOBILE_DEVICE.
Still using USING_GLES2 for, well, GLES2.  But for things that are really
about mobile, we need a new define.  Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
raven02
161d8b29fb Implement sceMt19937() 2014-01-25 20:17:53 +08:00
Henrik Rydgård
ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Henrik Rydgård
79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Unknown W. Brackets
e6b2d00a2f Avoid reseved identifiers like _SP, etc.
R_SP is not that bad.
2013-12-29 14:25:34 -08:00
Henrik Rydgård
b0bfda6333 Merge pull request #4515 from bollu/improvedTilControls
Redid the tilt controls in a nicer way
2013-12-22 02:13:28 -08:00
Henrik Rydgard
9e109e16d9 Android buildfix.
Also, this warning flag appears not supported. (4.6?)
2013-12-21 13:06:29 +01:00
Henrik Rydgard
2eab4aa1bf Play around with function replacement. Turned off by default of course. 2013-12-17 23:40:27 +01:00
Henrik Rydgard
2140892074 Initial preparations for ability to replace game functions with custom implementations.
Also auto-saves hashmap additions and reapplies the hashmap on function
rename so that if you rename a function that exists in several copies
they will all be labelled.

Note that actual function replacement is not activated yet.
2013-12-17 12:27:20 +01:00
bollu
b0c7e824be Merge branch 'master' of https://github.com/hrydgard/ppsspp into improvedTilControls 2013-12-14 16:45:29 +05:30
Henrik Rydgård
d53285a94d Drop back down to GCC 4.6 for Android until the ARMv6 crash can be figured out.
See issue #4798 .
2013-12-11 17:33:46 +01:00
Sacha
2387509896 Proper fix for libpng16 includes.
Improve Blackberry CMake toolchain.
2013-12-10 02:14:56 +10:00
Sacha
dde88b6ebd Windows/Android buildfix. 2013-12-08 02:49:51 +10:00
Henrik Rydgård
d6c8c6cfa0 If the user opens a ZIP file, offer to install it (it will show up in Homebrew & Demos).
No progress bar yet, it just freezes during install.
2013-12-05 14:21:07 +01:00
Henrik Rydgård
7f481905b0 More work on the Homebrew Store, get it working on Windows and Android 2013-12-05 12:48:09 +01:00
Henrik Rydgård
2fb2602387 Initial draft of the Homebrew Store. Lets you install a few homebrew. 2013-12-05 12:48:08 +01:00
Sacha
778eeb9968 Adhoc: Android buildfix and tab fix. 2013-11-28 16:05:11 +10:00
Henrik Rydgard
acb3994172 Split VertexDecoder into files for ARM and x86, got too large. 2013-11-24 15:58:15 +01:00
Henrik Rydgard
f33dce54e0 Oops, turned off x86 and armeabi on Android by accident 2013-11-24 15:10:29 +01:00
Henrik Rydgard
dfea160491 ARM: Use PLD (cache preload) in vertex decoder loop. 2013-11-24 15:08:47 +01:00
Henrik Rydgard
f650b23c90 ARM: Add NEON widening and narrowing moves, and float/int convert.
Experiment a little in the vertex decoder.
2013-11-24 13:30:28 +01:00
Henrik Rydgard
b64f44c3fc ARM emitter: Implement VMLA and VMUL by scalar, VLD1/VST1 multiple 2013-11-23 01:51:35 +01:00
Henrik Rydgard
ab3037112f Some scaffolding for a future VFPU-on-NEON implementation 2013-11-19 21:41:48 +01:00
Henrik Rydgard
9f750e6b83 This isn't needed. 2013-11-14 14:18:22 +01:00
Henrik Rydgard
6f5701816e Define _M_SSE on Android x86 - it's not a standard define 2013-11-14 11:44:14 +01:00
Henrik Rydgård
ab3fe9ba86 Extract the software transform code into its own file. 2013-11-13 14:56:34 +01:00
Sacha
08803c101e Remove MathUtil.{cpp,h} 2013-11-13 11:26:12 +10:00
Sacha
91ddddc2ef Remove unused Thread.{cpp,h} 2013-11-13 02:50:46 +10:00
bollu
9c219bc18b moved tilt logic to separate unit and enabled tilt to control multiple input types 2013-11-11 17:22:04 +05:30
Unknown W. Brackets
712b582d26 Remove coreParam.disableG3Dlog and enableDebugging.
One was uninitialized, the other one unused.
2013-11-09 11:02:12 -08:00
Henrik Rydgård
4669d86915 Android: Switch GCC toolchain to 4.8 again. This time we'll work out any issues
instead of reverting.
2013-11-06 13:07:00 +01:00
Unknown W. Brackets
d96ede8e3a Oops, forgot to add the define back in. 2013-11-02 21:54:46 -07:00
Unknown W. Brackets
5d523ea06a Add android-ndk-profiler v3.2.
This allows fairly easy profiling on Android without rooting.
2013-11-02 21:54:45 -07:00
Unknown W. Brackets
ed1204a10f Android armv6/etc. buildfix. 2013-11-02 10:14:25 -07:00
Unknown W. Brackets
4d47ccd5df Add a NEON version of the tex hash.
Should be used only for NEON devices.  Currently only compiled on Android.
2013-11-02 02:09:54 -07:00
Henrik Rydgard
122f19a3cf Further adjust the android-x86 optimization settings 2013-10-29 17:16:02 +01:00
Henrik Rydgard
0e8193134c Change the android-x86 optimization setting according to a forum post 2013-10-29 16:47:36 +01:00
Henrik Rydgård
7a83deaeea Android build: Set -march=armv6 for our armeabi build, we don't support
anything lower anyway.
2013-10-28 16:46:16 +01:00
Siddharth
ec0e0d7047 implemented full tilt based D-pad controls 2013-10-27 23:28:47 +05:30
Henrik Rydgard
f5a63d7d41 Better fix for the UINT_64 define issue on android 2013-10-20 13:52:31 +02:00
The Dax
cdf819c9eb Remove rebase junk, update CMakeLists.txt, update Android.mk. 2013-10-19 23:51:58 -04:00
Siddharth
38442c090e allow loading and unloading of onScreen control coordinates. Also, use sane (bottom left origin)coordinate system for all onScreen elements
can now reposition on screen controls

removed unnessecary files

fixed indenting issues

renamed RepositionOnScreenControlScree to TouchControlLayoutScreen
2013-10-20 00:39:38 +02:00
Henrik Rydgård
2c5adc96cf Rip out the support for the Atrac3+ plugin. It is gone, to never return. 2013-10-19 23:09:26 +02:00
Henrik Rydgård
be40289d6c Use ffmpeg for Atrac3+ decoding during video playback as well. 2013-10-19 23:09:26 +02:00
Henrik Rydgård
99fec75f06 Delete OMAConvert, entirely unused 2013-10-17 12:33:57 +02:00
Henrik Rydgård
cb3544cb3d Switch back to the older NDK toolchain for the release.
Let's investigate the 2.2 compat issues later.
2013-10-16 11:31:40 +02:00
Henrik Rydgård
bfea9bba4b Revert "Experiment: Change back to the old Android toolchain for one commit"
This reverts commit 4506f5e6b5.
2013-10-15 22:20:48 +02:00
Henrik Rydgård
4506f5e6b5 Experiment: Change back to the old Android toolchain for one commit
To see if 2.2 devices are happier.
2013-10-15 22:19:41 +02:00
Unknown W. Brackets
7fb9d65a08 Make it possible to build headless on Android.
Use "ab HEADLESS=1", and then you'll have a shiny new ppsspp_headless
exexutable which can run tests.
2013-10-14 02:41:34 -07:00
Unknown W. Brackets
dfcdfbea18 Tests: Avoid out of bounds, set headLess = true. 2013-10-14 00:49:04 -07:00
Henrik Rydgård
cdba174ab7 Merge pull request #4148 from unknownbrackets/config-files
Allow config files and fonts to be on the memstick
2013-10-13 04:01:01 -07:00
Henrik Rydgård
2546f236ee Merge pull request #4151 from shenweip/patch-4
Add NetconfDialog and partly implemented for it.
2013-10-13 03:59:34 -07:00
shenweip
ce50086c81 Add new files to cmake and Android.mk 2013-10-13 10:32:56 +08:00
Unknown W. Brackets
af2ccbb9da Rename flashDirectory to flash0Directory. 2013-10-12 16:08:39 -07:00
The Dax
4f98e1de1e Don't enable Run CPU Tests without the presence of g_Config.memCardDirectory/pspautotests/tests. Restore the previous PSP_CoreParameter().pixelWidth & PSP_CoreParameter().pixelHeight before exiting RunTests. 2013-10-12 16:01:22 -04:00
Unknown W. Brackets
dc91bf2ca3 Move GPU debug step/pause/messages out of Windows/. 2013-10-12 10:03:31 -07:00
Unknown W. Brackets
c8d2c45590 Move GE debugger breakpoints out of Windows/ code. 2013-10-12 10:03:28 -07:00
Henrik Rydgard
9338ec0135 oops 2013-10-12 02:56:35 +02:00
Henrik Rydgard
e0b19decca Add generic "PostShader" functionality, replacing FXAA (it's one of them).
Replaces #4018, sorry DanyalZia :)
2013-10-12 02:05:55 +02:00
Unknown W. Brackets
0ec09f9700 Move parts of ChunkFile into a cpp, cleanup. 2013-10-06 22:09:50 -07:00
Unknown W. Brackets
f43997a47f Update bufw handling in all gpus.
This fixes the softgpu as well, at least.
2013-09-15 21:27:13 -07: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
shenweip
82ad9ba853 Add GamedataInstallDialog to CMakeLists and Android.mk 2013-09-13 23:19:53 +08:00
Henrik Rydgard
26c5ee4a6d Add screen to control debug levels. Will make it easier to access later. 2013-09-07 13:38:37 +02:00
Henrik Rydgard
cc8e4cb8fe Split out sceNetAdhoc* into a separate file from sceNet. 2013-09-07 00:55:42 +02:00
Henrik Rydgard
273fb7c941 Warning fixes, make the back button exit the emu on the main screen on Android. 2013-09-04 10:51:14 +02:00