Commit Graph
23807 Commits
Author SHA1 Message Date
Unknown W. Brackets e7f70ff8d0 Handle weighted LinearLayout children better.
This allows them to not stretch the parent completely, but still increase
the size of the parent.
2015-12-22 20:45:49 -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 f64159a3f2 Respect AT_MOST when measuring ScrollViews. 2015-12-22 19:53:31 -08:00
Unknown W. Brackets 5c9cf65939 Allow AnchorLayouts to prevent overflow.
This is useful to propagate the bounds into children.
2015-12-22 19:52:23 -08:00
chrisbrasington 988e082478 fix indentation 2015-12-21 16:27:33 -07:00
Henrik Rydgård 949fc8fe51 Merge pull request #8282 from unknownbrackets/softgpu
softgpu: Round tex coords properly for nearest
2015-12-21 23:52:34 +01:00
chrisbrasington ea809425b6 split SDLJoyButtonMap for MacOSX and linux. Mapping in else statement was tested on linux with a X360 and wii-u pro controller 2015-12-21 15:48:22 -07:00
Henrik Rydgård 41372a0903 Merge pull request #8283 from unknownbrackets/prescale
Fix some issues with the prescale UV speedhack
2015-12-21 23:43:08 +01:00
Henrik Rydgård 802e0cd06b Merge pull request #8285 from chrisbrasington/master
adds missing button for wii-u pro gamepad, DPAD_RIGHT
2015-12-21 23:33:18 +01:00
chrisbrasington cbda8cf957 adds missing button for wii-u pro gamepad, right-DPAD. NKCODEs are still mismatched in linux (360 controller and wii-u pro gamepad), but they were not changed to so that a user's controls.ini will load correctly. 2015-12-21 15:03:14 -07: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 941988cde4 Correct prescale issues with render-to-texture.
Still need to apply the scaling of the texture coordinates here (or
somewhere, maybe we prescale that as well?  Except it's figured later on
in the process...)
2015-12-20 21:13:43 -08:00
Unknown W. Brackets 2e0f9e5603 Apply prescale to generated UVs with speedhack. 2015-12-20 20:47:36 -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 063a980094 softgpu: Round tex coords properly for nearest.
Fixes off-by-one errors in rendering certain textures.
2015-12-20 17:03:09 -08:00
Unknown W. Brackets 80cc5a4a9c Default to hide controls after 20 seconds. 2015-12-20 16:14:08 -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
Henrik Rydgård 63e749de5b Merge pull request #8279 from unknownbrackets/block-mutex
Mutex around PBP file access
2015-12-20 18:51:06 +01:00
Unknown W. Brackets 7807598690 Mutex around PBP file access.
There's some thread safety issue in there, this makes it so we can read
thumbnails without crashing sometimes - fixes #7330.
2015-12-20 09:35:50 -08:00
Unknown W. Brackets 39d1dd3a01 Initialize this in case it's never used. 2015-12-20 09:28:58 -08:00
Unknown W. Brackets 40eaa00351 Oops, left this wrong while debugging. 2015-12-20 08:59:04 -08:00
Unknown W. Brackets f5d1a77155 Cut out a couple unused includes. 2015-12-19 19:58:56 -08:00
Unknown W. Brackets edf3bf4a8e Silence some unused result warnings. 2015-12-19 19:58:32 -08:00
Henrik Rydgård 72733cabf4 Merge pull request #8278 from unknownbrackets/iso-cache
Use a background thread to load ISO into RAM
2015-12-20 00:54:07 +01:00
Unknown W. Brackets 95abf332d1 Disable ISO RAM cache if out of memory.
Better to fail to preload than to crash.
2015-12-19 15:29:34 -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 Rydgård f434be36e4 Merge pull request #8270 from unknownbrackets/opengl-core
Move toward supporting OpenGL Core Profile 3.3 - 4.5
2015-12-19 19:47:37 +01:00
Unknown W. Brackets 27ad8185e3 Add flag for core GL contexts.
Since using VBOs all the time is slower.
2015-12-19 09:18:35 -08:00
Unknown W. Brackets 164594b044 Use a VAO for all drawing, and VBOs throughout. 2015-12-19 09:18:34 -08:00
Unknown W. Brackets b71061b1ef thin3d: Handle lost vertex formats. 2015-12-19 09:18:33 -08:00
Unknown W. Brackets 0485f1bd96 softgpu: Use a VAO for copying to screen. 2015-12-19 09:18:32 -08:00
Unknown W. Brackets 1ca7abb948 thin3d: Correct subdata size check. 2015-12-19 09:18:31 -08:00
Unknown W. Brackets 49780eac24 Use VAOs in vertex preview drawing. 2015-12-19 09:18:30 -08:00
Unknown W. Brackets 5fe802c4e9 Use VAOs in GE debugger drawing. 2015-12-19 09:18:29 -08:00
Unknown W. Brackets 07d34e985b thin3d: Use VAOs for all drawing. 2015-12-19 09:18:28 -08:00
Unknown W. Brackets bf9733f4cb Look up GL_EXTENSIONS the new way in new GL. 2015-12-19 09:18:27 -08:00
Unknown W. Brackets 4c0051dcfb Merge pull request #8225 from hrydgard/new-android-permissions-model
Update Android target, support "Runtime Permissions" in Android 6.0+ (Marshmallow).
2015-12-18 01:43:17 -05: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 Rydgård 99fe0981ee Merge pull request #8274 from hrydgard/android-native-egl
Initialize OpenGL from C++ using EGL on Android
2015-12-17 19:38:41 +01:00
Henrik Rydgard ebf9bd74c6 Minor fixes 2015-12-17 19:38:23 +01:00
Henrik Rydgard 38263c9073 Turn gfxlog off again 2015-12-16 22:31:14 +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