Commit graph

1624 commits

Author SHA1 Message Date
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
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 Rydgård
452ed71e68 Couple of LLVM compiler warnings 2015-11-04 12:46:38 +01:00
Henrik Rydgard
ea69adb68b Fix scrolling in Combo Key setup. Fixes #8097. 2015-10-31 13:45:57 +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
Henrik Rydgård
7faf1cb3f3 Fix a couple of crashes 2015-10-06 19:07:28 +02:00
Henrik Rydgard
41efe18bba Probably fix crash on exit reported in #8022 2015-10-04 16:12:03 +02:00
Henrik Rydgard
01b9400223 Oops, forgot this 2015-10-04 00:14:13 +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
4b8666dc5d Fix #8001, although I don't quite understand what was wrong... 2015-09-25 19:22:59 +02:00
Henrik Rydgård
1c58cb203e Oops 2015-09-23 17:39:52 +02:00
Henrik Rydgård
28b6cdf0de Hack around #7991 - will investigate later. 2015-09-23 17:34:16 +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
51a5adfff2 More buildfixes 2015-09-23 10:59:12 +02:00
Henrik Rydgard
dc05a6516e Buildfixes 2015-09-23 10:25:41 +02:00
Henrik Rydgard
58d3137b10 Get rid of a bunch of more uses of stat64 on Windows. 2015-09-23 09:48:55 +02:00
Henrik Rydgard
cf63ec6d3c Delete some duplicate code 2015-09-22 23:02:02 +02:00
sergiobenrocha2
662d5fc9da Fix atlas/zimtool build. 2015-09-21 12:46:42 -03:00
Henrik Rydgard
fbb987a46f Fix the line endings of native.vcxproj.filters
Makes further changes easier (I had to use a text editor for the last few...)
2015-09-20 21:32:57 +02:00
Henrik Rydgard
2a99fe83e3 Blackberry buildfix 2015-09-19 16:46:07 +02:00
Henrik Rydgard
4d18d478a0 Sample renderWidth/pixelWidth/height once per frame for the framebuffer manager. 2015-09-19 16:19:03 +02:00
Henrik Rydgard
ecbef7a2ff Remove easy_file.cpp/h. Minor cleanups. 2015-09-19 14:29:02 +02:00
Henrik Rydgard
2aba7e0373 Symbian buildfix 2015-09-19 12:34:55 +02:00
Henrik Rydgard
a5d7b32bfe MSVC buildfix, remove color.h 2015-09-19 12:32:57 +02:00
Henrik Rydgård
333ed22907 Remove gfx_es2/vertex_format 2015-09-19 11:07:52 +02:00