Commit Graph

772 Commits

Author SHA1 Message Date
Henrik Rydgard
a8d6de26e3 Further fixes to #9554 2017-04-06 15:35:36 +02:00
Henrik Rydgard
14538a6d81 Make scroll gesture detector compatible with other touches than #0. Should help #9554. 2017-04-06 09:58:08 +02:00
Henrik Rydgard
cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +02:00
Henrik Rydgård
cc8df3e8c7 Merge pull request #9560 from hrydgard/touch-scroll-fix
Allow using any touchId to scroll. Should help #9554.
2017-04-05 11:41:32 +02:00
Henrik Rydgard
f7da9204c1 Allow using any touchId to scroll. Should help #9554. 2017-04-05 09:57:26 +02:00
Unknown W. Brackets
6642bf3170 Windows: Make UI update significantly cheaper.
Setting menu strings, reloading shaders, and redrawing the menu were all
a bit slow.  This skips those things unless they've changed.
2017-04-04 20:33:22 -07:00
Henrik Rydgard
6b46f8ea52 Some paranoia in CheckGLExtensions, due to a reported crash in strlen() 2017-04-02 23:59:17 +02:00
Unknown W. Brackets
e59ebf8ad9 Windows: Add option to browse for bg image.
And also to clear the image.
2017-04-02 10:50:09 -07:00
Unknown W. Brackets
755429df81 UI: Fix issues with insta-close pop ups.
Not that these should happen, but at least should make sure they work.
2017-03-26 08:58:04 -07:00
Unknown W. Brackets
0a73828042 UI: Use theme colors in more places.
Hopefully everywhere.
2017-03-26 08:57:04 -07:00
Unknown W. Brackets
8f4d1634ad UI: Add simple support for a custom background.
No UI.  Essentially, this is a cleaned up version of xiushudongfang's
implementation that supports all platforms, but no selection UI.
2017-03-26 07:52:46 -07:00
xebra
04e1e1a460 GLES:Fix compatibility checks for instanced rendering. 2017-03-26 19:00:20 +09:00
LunaMoo
4a2677e0c6 Revert unintentional change from: 429bf5d8b3 2017-03-23 11:54:54 +01:00
Henrik Rydgård
5880f37598 Simplify log initialization a little. Minor logging improvments in native. Don't disable logging in UWPMain 2017-03-23 10:02:29 +01:00
Henrik Rydgård
22782b6439 UWP: Fix DPI calculations for touch. Implement back button support. 2017-03-23 10:02:29 +01:00
Henrik Rydgard
ff2b6b3fca Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit. 2017-03-23 10:02:28 +01:00
Henrik Rydgård
c0f6a24a21 Fix issue where we were a little too aggressive when eliminating calls to SetRenderTarget 2017-03-23 10:02:28 +01:00
Henrik Rydgard
4ced81b1df UWP: Hook up basic touch/mouse input. Start work on loading from a StorageFile. Getting closer to starting to boot a game 2017-03-23 10:02:28 +01:00
Henrik Rydgard
52cd3164ee Hook up the backbuffer. PPSSPP draws now, though with issues. 2017-03-23 10:02:27 +01:00
Henrik Rydgard
dfc0b32733 More work on UWP upbring 2017-03-23 10:02:27 +01:00
William L. DeRieux IV
1a5a73bec2 Fix issue with repeated keypresses even if a key was pressed only once
-- fixes pause menu and fullscreen toggle among others
2017-03-22 22:54:41 -04:00
Henrik Rydgard
7dbbb35ee5 udis86: make some large arrays const. 2017-03-22 21:50:42 +01:00
Henrik Rydgård
d721b629ca Accept DPAD_CENTER as an "Accept" key. Fixes #9471 2017-03-22 16:52:34 +01:00
Henrik Rydgård
9b216af65d Stencil in thin3d/gl was broken. Not that we use it for anything though. 2017-03-22 15:31:14 +01:00
Henrik Rydgård
41a3370035 Merge pull request #9476 from unknownbrackets/ui-transform
UI: Make popups transition their button
2017-03-22 14:38:37 +01:00
Henrik Rydgård
babfa44614 Windows: d3dcompiler_47.dll is redistributable, so add it to our installation package scripts. 2017-03-22 13:44:44 +01:00
Unknown W. Brackets
2faaf0a9fa http: Cancel remote server connects faster.
This way the UI doesn't appear to hang when you click cancel.
2017-03-22 00:03:08 -07:00
Unknown W. Brackets
07d2b4fb46 UI: Make popups transition their button. 2017-03-21 18:45:49 -07:00
Unknown W. Brackets
4fb8ac96ce UI: Zero initialize EventParams in typical usage.
Better to be safe.
2017-03-21 18:45:48 -07:00
Henrik Rydgård
fdfc572b69 Misc logging improvments, minor safety check 2017-03-20 13:07:22 +01:00
Henrik Rydgård
9bbb3b3c88 zip_close warning/bug fix 2017-03-20 11:44:44 +01:00
Unknown W. Brackets
09dac5dfa3 UI: Fade PopupScreens out too. 2017-03-19 17:45:39 -07:00
Unknown W. Brackets
073e056369 UI: Allow overriding dialog logic on finish.
This seems cleaner.
2017-03-19 17:43:03 -07:00
Unknown W. Brackets
d8600229f4 UI: Generalize easing functions a bit. 2017-03-19 17:16:23 -07:00
Unknown W. Brackets
9f3415f43f UI: Ask linear child views to stay inside AT_MOST.
Fixes the DevMenu pop up in larger windows.
2017-03-19 16:36:21 -07:00
Unknown W. Brackets
efbfdbb4a7 UI: Make PopupScreens animate in just a bit. 2017-03-19 16:33:32 -07:00
Unknown W. Brackets
9c15efaa85 UI: Consider only the lower screen's postRender.
This makes more sense at least than applying one of each...
2017-03-19 15:42:13 -07:00
Unknown W. Brackets
a36ecb7065 UI: Track translate/scale/fade transform by screen.
This translates drawing, scissor, and touch to the transform.
2017-03-19 15:42:13 -07:00
Florent Castelli
7d4c8780e5 cmake: Fix linking against system Snappy 2017-03-19 18:44:12 +01:00
Florent Castelli
e0cce7602b cmake: Fix linking against system GLEW 2017-03-19 18:44:12 +01:00
Unknown W. Brackets
4514af9d6e Windows: Improve core context init.
This clears the error from glewInit(), and ensures we check GL extensions
only after selecting the desired GL profile.

Also, consistently use the core profile flag to select the context.
2017-03-18 13:47:15 -07:00
Henrik Rydgard
24cfb73bff Minor script updates 2017-03-18 16:33:16 +01:00
Henrik Rydgard
dac9d348ff Make it very slightly easier to build atlastool on Windows. Still not exactly convenient. 2017-03-18 16:33:16 +01:00
Henrik Rydgard
908193e894 Rework Android lost/restore lifecycle again. Can autorotate screen without crashing again. Should help #9295 and maybe #8906. 2017-03-18 15:21:26 +01:00
Henrik Rydgard
85d0b89b7b GL: Improve lost managment in DrawContext framebuffers 2017-03-18 13:55:15 +01:00
Henrik Rydgard
378170d723 Add ability to tag objects in the gl_lost_manager 2017-03-18 13:55:15 +01:00
Henrik Rydgård
8a29705165 Windows: Update dpiScale of fonts before recreating them on resize. Fixes #9437 2017-03-17 13:29:22 +01:00
Henrik Rydgård
aefad893f8 Windows: Start at a sensible window size if high-DPI. Avoids the worst of #9437 but does not fix it. 2017-03-17 13:22:00 +01:00
Henrik Rydgard
4d5e0a3c89 SDL: Fix the command line parser to not double-parse args, fixing #9367 2017-03-16 10:50:08 +01:00
Henrik Rydgård
f4a0c4504f Fixes to GPU system information. Fixes #9434 2017-03-16 09:48:10 +01:00