Commit Graph

804 Commits

Author SHA1 Message Date
Henrik Rydgård
21fe73c8e7 Switch strncpy to truncate_cpy in a bunch of places. 2017-05-26 19:04:08 +02:00
Henrik Rydgård
be77ffd4e8 Show the Android "board name" in system information. 2017-05-26 12:29:27 +02:00
Henrik Rydgård
7d0cfbabe7 thin3d gles: Unbind buffers after drawing. Fixes #9715 2017-05-24 12:06:02 +02:00
Henrik Rydgard
a1e3be445a Don't use partial-restart unless debugger is present.
Works around #9666 for most practical purposes.
2017-05-21 17:25:00 +02:00
Unknown W. Brackets
259af56ee6 SoftGPU: Fix rendering when using Direct3D 9.
Since we restore dxstate when setting a framebuffer or backbuffer, we need
something that populates it.
2017-05-20 21:29:09 -07:00
Enyby
f7deda22ae Update gpu_features.cpp
Add additional check for valid parsing GL ES version by driver for work on some bad drivers. See #9688
2017-05-19 00:02:10 +03:00
Henrik Rydgård
ad84058d3a Really no need to hold eventMutex_ while dispatching events, only when interacting with the queue. Might fix further deadlocks (see #9698) 2017-05-18 17:29:36 +02:00
Henrik Rydgård
2f5ea23a8a Prevent a deadlock between View::eventMutex_ and ScreenManager::inputMutex_ by locking here so the reverse lock order can't happen. 2017-05-18 14:37:42 +02:00
Henrik Rydgård
79c0d895ce Found a suspicious hang report that makes me think this mutex should be recursive. 2017-05-18 13:29:18 +02:00
Henrik Rydgård
049d06cdc4 More paranoia 2017-05-18 13:29:00 +02:00
Henrik Rydgård
60378a0dcb Minor GameInfo memory handling improvements. Still not great. 2017-05-18 12:41:42 +02:00
Enyby
66507e6607 Update gpu_features.cpp
Example of string 'OpenGL ES 2.0 (4.0.0 - Build 10.18.10.4226)'. Old code get 0.0 from it.
New code work right.
2017-05-16 13:26:49 +03:00
Unknown W. Brackets
022de0d45a D3D11: Fix initialization of mipmaps. 2017-05-13 17:31:21 -07:00
Henrik Rydgård
c55aa834b0 Merge pull request #9670 from unknownbrackets/vertexjit
Remove unused vertex decode steps, jit through s16
2017-05-07 17:01:56 +02:00
Henrik Rydgard
ff6fcc9179 More vulkan fixes 2017-05-07 10:53:04 +02:00
Henrik Rydgard
5974e0ee6d Work towards a clean vulkan shutdown. 2017-05-07 10:40:11 +02:00
Unknown W. Brackets
6b3944d329 UnitTest: Correct vertex and jit tests.
We now convert texcoords to floats.
2017-05-06 18:45:04 -07:00
Henrik Rydgard
80d4673cd5 Oops again.. sigh 2017-05-05 13:09:30 +02:00
Henrik Rydgard
d3ff35b2c0 Fix to partial restarts (when switching backends), plus misc. Helps #9666 2017-05-05 12:31:06 +02:00
Henrik Rydgard
9284ea8375 Also memset. 2017-05-04 08:57:06 +02:00
Henrik Rydgard
fb95288456 Add a constructor to GestureDetector, to see if that fixes initialization 2017-05-04 08:56:05 +02:00
Henrik Rydgard
e880c034bc Oops 2017-04-30 09:59:47 +02:00
Henrik Rydgard
9a1cd5a5e8 Add some paranoid checks around touch IDs that probably won't help #9647
Also adds LunaMoo to credits list.
2017-04-30 08:57:44 +02:00
Unknown W. Brackets
3b4103cb3b System: Use a separate API for bool props.
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00
Unknown W. Brackets
de3c4fe111 UI: Fix crash on item select with hidden items.
Because we can't assume the number is an index into the views, when some
of those views weren't created.
2017-04-29 13:04:28 -07:00
Unknown W. Brackets
661b2a3aa8 UI: Make GPU events more consistent. 2017-04-27 20:03:50 -07:00
LunaMoo
a9d9063680 Handle more mouse buttons(middle, 4, 5) 2017-04-27 13:54:38 +02:00
Unknown W. Brackets
ae4c28aa4d D3D9: Support AUTO mip bias and approximate CONST. 2017-04-22 18:38:08 -07:00
Unknown W. Brackets
638a015ced Add a restarting flag to NativeInit/NativeShutdown.
Will be used externally.  Also cleanup some LogManager init/shutdown in
case these are called multiple times on Windows.
2017-04-15 16:30:37 -07:00
Henrik Rydgård
c899882034 Fix issues with software GPU on D3D11 2017-04-11 12:53:11 +02:00
Henrik Rydgard
1ac51f952d QtMain: Renamed mis-named variable assets_dir to external_dir 2017-04-07 09:58:36 +02:00
Henrik Rydgard
19bf222ea4 Make the gesture detector treat all touches fully individually. Fixes issues with last commit. 2017-04-06 15:51:00 +02:00
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