Commit Graph

1625 Commits

Author SHA1 Message Date
Unknown W. Brackets
5ff7781a3c thin3d: Fix drawing without VAO support. 2015-12-22 22:15:12 -08:00
Unknown W. Brackets
8923bd46e7 Support AT_MOST for WRAP_CONTENT. 2015-12-22 20:45:50 -08:00
Unknown W. Brackets
85ad28d4cd Prettify fake RTTI for layout params.
Better not to make the RTTI/non-RTTI thing a problem in lots of places.
2015-12-22 20:45:49 -08:00
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
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
Unknown W. Brackets
08ebbb4a60 Customize labels for zero in config sliders. 2015-12-20 13:13:44 -08: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
b71061b1ef thin3d: Handle lost vertex formats. 2015-12-19 09:18:33 -08:00
Unknown W. Brackets
1ca7abb948 thin3d: Correct subdata size check. 2015-12-19 09:18:31 -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
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
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
Unknown W. Brackets
fbc4b4e7a1 Use glCopyImageSubData() when it's available.
There's 4 different extensions providing this functionality.  NV is
supported on desktop and mobile, EXT/OES on mobile, and ARB on desktop.

Mostly these are only supported by desktop cards and NVIDIA mobile.

Good improvement in performance on NVIDIA when blit is called a lot, since
it doesn't need to rebind anything or change state.  Example is in desert
city in Tales of Phantasia.
2015-12-06 10:39:21 -08:00
Henrik Rydgård
4bb36b0e79 Merge pull request #8243 from unknownbrackets/gpu-blend
Enable EXT_blend_func_extended
2015-12-06 18:36:45 +01:00
Unknown W. Brackets
1fb271a607 Enable EXT_blend_func_extended.
Not really tested.
2015-11-27 16:01:25 -08:00
Henrik Rydgard
01669cbd92 Hide the "Internal resolution" etc static display unless FPS counter is on.
Seems fairly related and I don't want to add more options.
2015-11-27 00:17:14 +01:00
Henrik Rydgard
efde6e44db Just a safety check in thin3d texture loading 2015-11-27 00:17:14 +01:00
Unknown W. Brackets
eb5072bba5 Warning fixes. 2015-11-18 21:56:05 -08:00
Unknown W. Brackets
df6cbafe0f Measure free disk space to size block count. 2015-11-18 21:56:03 -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
Unknown W. Brackets
ae30933ed8 Open ZFS files using unicode-aware APIs.
May help #8223.
2015-11-17 21:51:55 -08:00
Henrik Rydgard
2634f7344a Fix some focus/dragging issues with the sliders 2015-11-12 19:25:11 +01:00