Commit Graph

1794 Commits

Author SHA1 Message Date
Henrik Rydgård
58ef5ee940 Merge pull request #8307 from unknownbrackets/minor
Allow shortcut min/max on Windows, fix config save on exit
2015-12-26 10:39:57 +01:00
Unknown W. Brackets
b811dfc51b Actually, might as well on all platforms. 2015-12-25 19:41:17 -08:00
Unknown W. Brackets
82e41a1392 Make sure the config is saved on exit.
May help #7724.
2015-12-25 19:39:52 -08:00
Henrik Rydgård
21bf73a612 Merge pull request #8281 from unknownbrackets/ui-tweaks
Add feature to auto-hide buttons after X seconds
2015-12-24 23:15:59 +01:00
Henrik Rydgård
1e2f45ec4f Merge pull request #8291 from unknownbrackets/ui-tweaks2
Show a scroll view inside the devtools window
2015-12-24 23:15:46 +01:00
Unknown W. Brackets
e6b5fbb40a Fix race conditions when reading game title.
Fixes #5030.
2015-12-24 13:18:46 -08:00
Unknown W. Brackets
bc9c3ca649 Simplify VFS icon reading. 2015-12-24 12:45:07 -08:00
Unknown W. Brackets
d7b224cbf1 Clean up gameinfo locking around title/etc update. 2015-12-24 12:37:29 -08:00
Unknown W. Brackets
f3df6b307f Use a FileLoader for PBPs.
Improves consistency, caching, etc.
2015-12-24 12:21:40 -08:00
Unknown W. Brackets
a53f0360f3 Use a less leak prone interface for PBP reading. 2015-12-24 10:20:27 -08:00
Henrik Rydgård
d5219ebafc Merge pull request #8284 from unknownbrackets/tilt
Add support for trigger buttons in tilt handling
2015-12-23 08:48:14 +01:00
Unknown W. Brackets
1624079345 Scroll the devtools when the window is small.
This allows access to the other tools at 1x, and allows us to add more as
necessary.
2015-12-22 20:46:31 -08:00
Unknown W. Brackets
bf20b992ea Make some tab holders fill their parent width.
This is really what we want, not WRAP_CONTENT.
2015-12-22 20:45:47 -08:00
Unknown W. Brackets
64da0f54e4 Add L/R trigger button tilt support. 2015-12-20 23:16:45 -08:00
Unknown W. Brackets
a89245a387 Cleanup title processing a bit. 2015-12-20 23:16:36 -08:00
Unknown W. Brackets
57b588456b Only reset tilt-related buttons on tilt change. 2015-12-20 22:58:46 -08:00
Unknown W. Brackets
c6cc5a5f45 softgpu: Support prescale UV properly.
It can be turned on and has effect, so we need to handle it.
2015-12-20 20:46:02 -08:00
Unknown W. Brackets
08ebbb4a60 Customize labels for zero in config sliders. 2015-12-20 13:13:44 -08:00
Unknown W. Brackets
a3f9b954d1 Add feature to auto-hide buttons after X seconds. 2015-12-20 12:40:47 -08:00
Unknown W. Brackets
f5d1a77155 Cut out a couple unused includes. 2015-12-19 19:58:56 -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
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
Unknown W. Brackets
9d64f9f9f6 Fix compile errors when profiler is enabled. 2015-11-25 18:44:32 -08:00
Henrik Rydgard
5d6d4a08f4 Change approach somewhat to avoid adding drawing code in the screen manager. 2015-11-18 14:18:35 +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
4b360a571c Remove the depth range hack option, turning it into an ugly game specific compatibility hack.
I hate doing this, but it's not really better off as an option.

See #8171
2015-11-15 23:00:25 +01:00
Carl Kenner
bf84fda058 Improve pop-up UI for integer slider screens. Add a text entry box and units.
# Conflicts:
#	UI/GameSettingsScreen.cpp
2015-11-06 18:55:36 +10:30
Carl Kenner
064a09bda4 Improve PopupSliderChoiceFloat to make it more usable for VR settings.
It now has a text input box.
+/- buttons are on the next line so you can cursor along slider.
And the units are optionally displayed.

# Conflicts:
#	UI/GameSettingsScreen.cpp
2015-11-06 18:42:34 +10:30
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
vnctdj
ab4abdf3bf Re-use some translated strings in the display layout editor 2015-11-02 23:10:44 +01:00
Henrik Rydgård
fbb30260e3 Merge pull request #8082 from LunaMoo/DisplayEditing
Add "Display layout editor"
2015-11-02 19:31:05 +01:00
Henrik Rydgard
958aa37dfa Buildfix 2015-10-31 23:53:20 +01:00
LunaMoo
eb270c293b Small edits, nothing in the code 2015-10-31 23:20:48 +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
ea69adb68b Fix scrolling in Combo Key setup. Fixes #8097. 2015-10-31 13:45:57 +01:00
Henrik Rydgård
5ebb5d5630 Merge pull request #8116 from hrydgard/reverb
Implement sceSas' reverb effect, guessing that the reverb is the same as the one in PSX's SPU
2015-10-29 11:13:04 +01:00
Henrik Rydgard
22f71f1e9a Show simple info about currently playing audio in on-screen Debug Statistics 2015-10-28 21:20:20 +01:00
vnctdj
74b13c1706 Remove useless translation pointers 2015-10-26 14:03:43 +01:00
Henrik Rydgård
437d7b80e3 Fix window resize/fullscreen ingame on Mac and other SDL builds 2015-10-25 11:19:41 +01: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
6a373fe09a Make it possible to view vertex decoders through the shader viewing mechanism (even though they aren't strictly shaders, they fit the model). 2015-10-24 10:41:31 +02:00
vnctdj
1b3d3aef43 Make Back buttons translatable in the Shader Viewer 2015-10-14 22:05:05 +02:00
Henrik Rydgard
7f4e473e8c Add new shader viewing tool 2015-10-14 18:10:21 +02:00
Henrik Rydgard
39145252e3 Windows: Add the ability to turn on GL_ARB_debug_output via a hidden config option 2015-10-11 11:52:40 +02:00
Henrik Rydgard
bfed830f91 Remove the ability to disable rounding mode support. It's time. 2015-10-08 14:54:42 +02:00
Henrik Rydgård
7faf1cb3f3 Fix a couple of crashes 2015-10-06 19:07:28 +02: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
490d8be4df Some cleanup, enable CRT memory tracker in debug builds 2015-10-04 14:11:34 +02:00
Henrik Rydgård
47cb288d6b Don't add Autoconfigure button when the device has builtin controls. Restore to Default should suffice. 2015-10-04 13:25:57 +02:00
Henrik Rydgård
8c2ade07a1 Minor fix on splash screen 2015-10-04 13:25:57 +02:00
Henrik Rydgard
77b40c2ee4 Fix #6541 where no error message was displayed when loading a non-existent save state through mapped hotkey 2015-10-04 10:18:32 +02:00
Henrik Rydgard
50d66f9a19 Workaround for #8020 2015-10-04 00:00:46 +02:00
Henrik Rydgard
682472c5b5 Allow mono atrac3 for "game menu backgrund audio". Fix possible data race. 2015-10-03 23:18:54 +02:00
Henrik Rydgard
8ab0a3cf7c Fix bug when deleting game configs from game screen - didn't mark as deleted 2015-10-03 22:57:07 +02:00
Henrik Rydgard
48db42b6be Respect "hidden" flag in the homebrew store. Useful when managing it.
(For example, I just hid "Lamecraft" because it didn't actually work).
2015-10-01 12:37:16 +02:00
Henrik Rydgard
3c499fdb61 PromptScreen: Disable clipping for text view. Fixes #8009 , although the dialog really need redesign. 2015-09-27 13:51:16 +02:00
Henrik Rydgard
0d0b5e75a2 Fix silly crash in OnScreenDisplay code 2015-09-27 11:42:26 +02:00
Henrik Rydgard
8996f58693 Generate save state IDs for homebrew using the elf or directory name where applicable. 2015-09-25 19:27:40 +02:00
Henrik Rydgard
70cb4372c1 Assorted fixes to auto resolution. Fixes too low resolution and also #8002, plus notification spam 2015-09-25 19:10:09 +02:00
LunaMoo
76bcdbf1eb Add missing preprocessor definitions
/fix win32 build.
2015-09-24 01:18:41 +02:00
Henrik Rydgård
28b6cdf0de Hack around #7991 - will investigate later. 2015-09-23 17:34:16 +02:00
Henrik Rydgard
bd5df95a12 Buildfix 2015-09-23 13:35:13 +02:00
Henrik Rydgård
103b73db18 Merge pull request #7994 from hrydgard/fileutil-cleanup
Remove all uses of stat() on Windows. Buggy on XP with VS 2015.
2015-09-23 12:45:41 +02:00
Henrik Rydgard
c2ac933dab Do not cache translation category objects in UI objects. Fixes #7996 2015-09-23 12:44:49 +02:00
Henrik Rydgard
dc05a6516e Buildfixes 2015-09-23 10:25:41 +02:00
Henrik Rydgard
cf63ec6d3c Delete some duplicate code 2015-09-22 23:02:02 +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 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
Henrik Rydgard
3232e46c36 Make debug build nearly warning free in MSVC 2015 2015-09-17 22:02:15 +02:00
Henrik Rydgård
a71fbccfbc Warning fixes for new LLVM on mac (warns on inconsistent usage of override) 2015-09-17 20:29:37 +02: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
Henrik Rydgard
05c625ed06 Even less file I/O in menu screens, by caching "hasConfig" flag for game info. See #7807 2015-09-10 17:17:59 +02:00
Henrik Rydgard
53e80d7f54 Fix #7940 (analog test screen). "Debounce" doubleclicks. 2015-09-07 22:27:29 +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
Unknown W. Brackets
e0f85a9c6b Native merge part 1: skip native/ in includes. 2015-09-06 12:19:33 -07:00
Henrik Rydgard
fdea85138c Update project files, fix minor issues for VS 2015 2015-09-06 19:32:15 +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
63da81513b A few more misc GLES runtime cleanups. 2015-09-05 16:45:17 -07:00
Henrik Rydgard
b22850720d Move the CheckGPUFeatures call to the Resize check 2015-09-06 00:13:46 +02:00
Henrik Rydgard
0237b84efd Reduce use of #ifdef USING_GLES2 some more 2015-09-05 23:09:06 +02:00
Henrik Rydgard
f524049277 Move more GPU feature checks upfront. Re-check when exiting settings menu. 2015-09-05 21:23:58 +02:00
Jonas Höglund
06fadd5cad Set DPad keys in native for UI navigation
Complements the update to the key repeat logic in native.  Also renames
UpdateConfirmCancelKeys to UpdateNativeMenuKeys since even before this commit,
the function also set the TabLeft and TabRight keys.
2015-09-02 10:23:18 +02:00
Unknown W. Brackets
58b5a74748 Allow audio to be enabled in the menu.
Previously, if it was disabled at first, enabling it wouldn't work - you
still would not get the audio.
2015-08-30 10:05:13 -07:00
Jonas Höglund
afb82e3998 Add axis event listener to the analog test screen. 2015-08-28 01:24:38 +02:00
Henrik Rydgard
cde585a29a Include dependency cleanup 2015-07-29 11:48:20 +02:00
Henrik Rydgard
428b5c2fb3 System information: Make sure we parsed the OpenGL API version correctly by displaying it. 2015-07-23 17:22:28 +02:00
Henrik Rydgård
11f64ee27b System info: Make it obvious which GPU vendor we detected. Remove the math precision reporting, which seems inaccurate anyway. 2015-07-21 20:48:10 +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
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
c4ea4e36d7 Let's use pixel_x[y]res directly.
There are many paths where this is actually zero still.
2015-07-16 07:29:55 -07:00
Henrik Rydgård
042da34361 Merge pull request #7865 from unknownbrackets/ui-tweaks
Use pixelWidth/pixelHeight for Auto (1:1) res
2015-07-16 09:46:44 +02:00
Unknown W. Brackets
c033162abb Use pixelWidth/pixelHeight for Auto (1:1) res.
By definition, it ought to be 1 PSP pixel for each host pixel.

The old way was accounting for dpi (thanks xperia64.)
2015-07-15 21:31:34 -07:00
Henrik Rydgard
db528c2aaa ARM64: Remove "EXPERIMENTAL" warning text on the title screen, it pretty much works 2015-07-16 00:33:38 +02:00
Unknown W. Brackets
bf14ad4667 Add a shortcut key for the devmenu.
This is useful when you don't have touch or mouse, only keyboard/pad.
2015-07-05 16:09:29 -07:00