Commit Graph

1762 Commits

Author SHA1 Message Date
LunaMoo
f54e9d8ac4 Rename variable to match others. 2016-01-17 22:56:42 +01:00
LunaMoo
6751617c8f Smooth out touch moving and resize and other small changes. 2016-01-17 22:32:08 +01:00
LunaMoo
80fa2695bf Tabs can't live in space and some other corrections. 2016-01-17 12:13:15 +01:00
LunaMoo
6061ad7579 Some improvements, comments and polishing. 2016-01-17 09:21:12 +01:00
LunaMoo
e4271fe1bc Integrate stretching options into display layout editor. 2016-01-17 09:18:41 +01:00
LunaMoo
0c2efa6d44 Make sure display representation matches all cases and recreate views on window resize(this also fixes touch control layout screen). 2016-01-17 09:18:40 +01:00
LunaMoo
284600b1a7 Move "Display Rotation" to display layout editor.
Fix portrait rotation representation in the editor with auto setting.
Minor cleanup.
2016-01-17 09:18:36 +01:00
latot
53ac6d98d8 Little things
back 1

other little change, join 2 in 1
2016-01-09 20:44:02 -03:00
Henrik Rydgard
e11d0a7e1c Minor GPU interface cleanup 2016-01-06 23:49:02 +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
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
f7f9f321a0 Qt fixes 2016-01-03 15:03:08 +01: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
Karen Tsai
c4a28a2998 Restore JIT for armv7/armv7s iOS 9 devices, which were erroneously disabled when I fixed PPSSPP's arm64 crashing. 2015-12-28 14:20:28 -05:00
vnctdj
79737bc502 Fix some bad translation strings 2015-12-28 01:34:51 +01:00
Unknown W. Brackets
da65116f75 Oops, fix auto-hide timing issues.
If the game was not 60 fps, it was wrong, but also it added up frames too
quickly as static.  Was worried about missing touches when I added the
zeroing, dumb mistake.

Fixes #8309.
2015-12-26 11:31:37 -08:00
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