Commit Graph

248 Commits

Author SHA1 Message Date
Henrik Rydgard
4197148dc4 Add some paranoid checks hoping to fix crashes reported in Google Play developer console. 2016-04-09 18:27:35 +02:00
Henrik Rydgard
432f276bec Cleanups. Don't loop over bones in vshader, causes trouble 2016-03-20 19:30:11 +01:00
Henrik Rydgard
01e3fbae95 Fix clearing bug, add FIFO_RELAXED flag, etc 2016-03-20 19:30:11 +01:00
Henrik Rydgard
d7e8f8433f Support multiple texture formats 2016-03-20 19:29:03 +01:00
Henrik Rydgard
4c0e6d0138 Some renaming, fixes and tweaks to the gl_lost mechanism, which is again needed 2016-03-17 21:30:16 +01:00
Henrik Rydgard
f08ae677e8 Disable gfx logging in debug by default. 2016-03-06 11:48:14 -08:00
Henrik Rydgard
da1a04be8d Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
Cherry-picked from #8592
2016-02-28 12:39:47 +01:00
Unknown W. Brackets
7ab3de299c Set cache dir before loading config.
The config will try to check ISOs for existence, which may use the cache.
2016-02-27 13:10:08 -08:00
xiushu
80938a39ce Just remove useless space and fix translations
Oops
2016-02-21 13:12:35 +08:00
xiushu
7a2b4eea0a Add inputbox for android
For inputting  IP and NickName ,or something else in future on Android
2016-02-21 11:23:00 +08:00
Henrik Rydgard
6df8573583 Minor fixes 2016-01-17 22:53:06 +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
aa0055cea7 Track the running GPU backend separate from config.
This way we can change the config directly when we want to save a new
setting, rather than having hacks to use a temp var.
2016-01-05 22:37:28 -08:00
Henrik Rydgård
95822a165d Fix Mac build 2016-01-01 14:40:19 +01:00
Henrik Rydgard
f419281d16 Fix Android build 2016-01-01 14:40:17 +01:00
Henrik Rydgard
15de6e6b98 GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
Needed to prevent clutter all over the codebase.

Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
Unknown W. Brackets
a89245a387 Cleanup title processing a bit. 2015-12-20 23:16:36 -08:00
Unknown W. Brackets
f5d1a77155 Cut out a couple unused includes. 2015-12-19 19:58:56 -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
38263c9073 Turn gfxlog off again 2015-12-16 22:31:14 +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
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
758ec5a027 Avoid clearing the backbuffer before actually doing any rendering to fbo on every frame - instead, clear when stretching the framebuffer into place. May save quite a bit of bandwidth on tiler GPUs with naive GL drivers. 2015-11-18 12:13:35 +01:00
Henrik Rydgard
44be9f2a50 Move Windows GPU init code into Windows/GPU 2015-11-03 23:22:09 +01:00
Karen Tsai
1ba873a496 Override JIT setting in ppsspp.ini for JIT-incapable environments, fakesign PPSSPP binary via adhoc signing in order to prevent crash-at-launch on iOS 9, separate jailbreak detection logic from JIT support logic, temporary change to only enable JIT on iOS 8 and below. 2015-11-03 12:34:33 -05:00
Henrik Rydgård
437d7b80e3 Fix window resize/fullscreen ingame on Mac and other SDL builds 2015-10-25 11:19:41 +01:00
Unknown W. Brackets
d41947fdca Allow loading Roboto Condensed or Roboto.
The 2.x font name has changed, so let's allow either as the default.
2015-10-04 15:11:36 -07:00
Henrik Rydgard
dc05a6516e Buildfixes 2015-09-23 10:25:41 +02:00
Henrik Rydgard
6cc7a85cde Rename WndMainWindow to MainWindow 2015-09-19 13:14:05 +02:00
Henrik Rydgård
c219793803 Remove the old UI texture class 2015-09-19 11:05:00 +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
Henrik Rydgard
e69a14ffff Don't set ARM "FastMode". Not worth the compat impact as is, could be made smarter. Should help issue #7234 2015-07-19 18:22:22 +02: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
vnctdj
beda874ab5 Consistently use *des for the DesktopUI i18n category 2015-07-01 22:45:35 +02:00
Jan Beich
0af2bfe11c UI: search for assets under /usr/share on any Unix desktop 2015-05-26 15:23:19 +03:00
Henrik Rydgard
7f69c5fa5e Buildfix 2015-05-24 23:50:53 +02:00
Henrik Rydgard
6f4cea860c Split texture load profiling into decode and load/replace. Make profiler work on Android. 2015-05-24 23:45:40 +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 Rydgård
6573bca313 Fix UI navigation using gamepads when tilt is enabled 2015-04-03 11:48:58 +02:00
Henrik Rydgard
60a837f19f Minor cleanup 2015-02-03 21:28:08 +01:00
Henrik Rydgard
001eda39e0 Add really primitive save preview on "Next Slot". Improve pause screen layout a little. 2015-02-01 18:04:50 +01:00
Henrik Rydgard
7d16a4a0c4 Android: Prevent the user from choosing display resolutions that won't work on their device.
Fixes #7324
2015-01-30 00:28:53 +01:00
Henrik Rydgard
2792602252 Pass the game selection screen audio through the resampler. Fixes #7316 . 2015-01-29 14:58:03 +01:00
Henrik Rydgard
f55e0abc93 Experiment, trying to fix #7336: Make sure that a clear is the very first thing to happen in a frame.
Also a minor warning fix.
2015-01-26 00:25:48 +01:00
Henrik Rydgard
790024c829 Add option to choose Audio backend, as WASAPI does not seem to be ideal for everyone..
Default to WASAPI though (Auto)
2015-01-24 13:50:27 +01:00
Unknown W. Brackets
db898aff23 Add a NEON method to apply the volume. 2015-01-11 14:23:41 -08:00
Henrik Rydgard
c8dfcd5e74 Prepare for interchangable Windows audio backends 2015-01-11 21:00:56 +01:00
Henrik Rydgard
0c6ceee210 Optimize the resampler a little. Update native with new ability to not force 44khz so we actually get any use.
This causes Nexus 4 and Nexus 9 to end up on the fast path, greatly decreasing audio latency!

This also removes the "atomic audio" setting as the new audio code is lock-free always.
2015-01-11 18:06:42 +01:00
Henrik Rydgard
1b926ec59e Increase the resampler buffer size, needed on Shield :(
Reset DSound to 44100.
2015-01-11 18:06:39 +01:00