Commit Graph

763 Commits

Author SHA1 Message Date
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
Henrik Rydgård
f8343e9efc Add Gradle build. This time, we don't remove the old build system and we don't switch Travis. 2017-03-15 19:42:17 +01:00
Henrik Rydgard
f5c3b15746 Buildfix on Windows 2017-03-15 19:33:33 +01:00
Henrik Rydgard
f4e56d5924 Update vulkan headers to latest (1.0.42.1) 2017-03-15 19:12:13 +01:00
Henrik Rydgård
0c0ffe8a22 Hopefully buildfix Linux (untested) 2017-03-15 17:39:32 +01:00
Henrik Rydgård
a4699a37df Update armips with regex workaround 2017-03-15 15:47:30 +01:00
Henrik Rydgård
e17772b58d Merge pull request #9430 from unknownbrackets/input-state
Remove legacy InputState tracking
2017-03-15 10:16:14 +01:00
Unknown W. Brackets
b00e788648 Correct touch id generation.
GestureDetector still has a max of 10.
2017-03-14 22:21:01 -07:00
Unknown W. Brackets
e1ef359e80 Remove unused drag capture state tracking. 2017-03-14 22:07:07 -07:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00