Commit graph

22371 commits

Author SHA1 Message Date
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
85654aafce Merge pull request #9698 from hrydgard/managedtexture-reliability
General crash and hang fixes
2017-05-18 17:15:19 +02:00
Henrik Rydgård
c3332e49bb Update readme for 1.4.1, which will be released soon 2017-05-18 16:04:19 +02:00
Henrik Rydgård
b286283ced Since we know from #9601 that e9d5eb694b is wrong, at least make it more specific. 2017-05-18 15:30:12 +02:00
Henrik Rydgård
75fa53e63b Make sure the analog sensitivity defaults correctly on non-Windows 2017-05-18 15:16:32 +02:00
Henrik Rydgård
4491c7e2ca Quick hack to enable analog stick sensitivity on non-windows platforms.
See #8028
2017-05-18 15:15:10 +02:00
Henrik Rydgård
6d58a8d8f6 Move up Software Rendering to Rendering where it belongs. Makes it easier to turn it off if enabled by accident. Also warn if used and it runs slow. 2017-05-18 14:56:10 +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
d0613511b2 Many reported ANRs were from homebrew installs. Make sure installs run on the background thread. 2017-05-18 14:21:13 +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
df6ce90c84 When what we need is a shared_ptr, we should just go ahead and use one.
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00
Henrik Rydgård
60378a0dcb Minor GameInfo memory handling improvements. Still not great. 2017-05-18 12:41:42 +02:00
Henrik Rydgård
0f4e064053 Remove unused methods 2017-05-18 12:41:18 +02:00
Henrik Rydgård
22e509905e gradle: Add a "flavor dimension" to make Android Studio 3.0 happy 2017-05-18 12:34:44 +02:00
Henrik Rydgård
5336b17579 Merge pull request #9694 from Enyby/patch-1
Update buildassets.sh
2017-05-17 20:06:27 +02:00
Henrik Rydgård
52f3d1d1fd Merge pull request #9695 from Enyby/patch-2
Update copyrelease.sh
2017-05-17 20:06:16 +02:00
Enyby
a1a325e8ad Update copyrelease.sh
Removed copy unexists dir (flash0 moved to assets).
2017-05-17 20:20:47 +03:00
Enyby
55f4e75e21 Update buildassets.sh
Fix assets pathes in build scripts.
2017-05-17 20:17:25 +03:00
Henrik Rydgård
661d8f8a2a Merge pull request #9691 from Enyby/patch-2
Update gpu_features.cpp
2017-05-17 10:58:25 +02:00
Unknown W. Brackets
43e4d636dd Merge pull request #9693 from Enyby/patch-1
Update ab.sh
2017-05-16 23:16:04 -04:00
Enyby
ffb24621cd Update ab.sh
Fix pathes.
2017-05-17 06:15:01 +03:00
Henrik Rydgård
70b000bba7 Remove slowness warning if software renderer is enabled, it'll show on almost everything. 2017-05-16 12:27:40 +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
Henrik Rydgård
1bb8268053 Update gradle plugin version 2017-05-16 12:17:14 +02:00
Henrik Rydgård
e02b9854e8 Merge pull request #9690 from Enyby/patch-1
Update ab.cmd
2017-05-16 12:03:44 +02:00
Enyby
57ebdda63b Update ab.cmd
Fixed pathes and copy dirs.
2017-05-16 12:05:42 +03:00
Henrik Rydgård
ad64325876 Merge pull request #9684 from unknownbrackets/softgpu-lines
Fix lines in the software renderer
2017-05-15 08:53:46 +02:00
Henrik Rydgård
225a0364b4 Merge pull request #9686 from unknownbrackets/softgpu-err
Fix some significant errors in software rendering
2017-05-15 08:44:03 +02:00
Unknown W. Brackets
9d64597fb3 SoftGPU: Clip lines entirely outside early.
Some were getting through, which may mean the line clipping isn't working
so well...
2017-05-14 18:28:47 -07:00
Unknown W. Brackets
672ce51a2a SoftGPU: Implement pretend antialias.
This doesn't really smooth, but at the very least faking it makes Persona
3 have less ugly lines.
2017-05-14 16:11:02 -07:00
Unknown W. Brackets
5c9d223e32 SoftGPU: Implement simple mipmapping for lines.
Mostly so the min/mag filter is correct.
2017-05-14 16:11:01 -07:00
Unknown W. Brackets
a95170d789 SoftGPU: Bias bottom right side of line drawing.
Fixes lines in Persona 2.
2017-05-14 16:11:01 -07:00
Unknown W. Brackets
a26aaec528 SoftGPU: Support flat shading for lines. 2017-05-14 16:11:00 -07:00
Unknown W. Brackets
e4f2ff1464 SoftGPU: Implement lines in transform mode. 2017-05-14 16:10:59 -07:00
Unknown W. Brackets
ad17decf5c SoftGPU: Quick hack to fix scissor w/2x2 pixels. 2017-05-14 16:02:27 -07:00
Unknown W. Brackets
8ee92048c0 SoftGPU: Avoid rcp due to precision issues.
Causes artifacts in Sword Art Online, which draws a dialog box using
stretched UVs - rcp causes the edges to sample outside the original UVs.
2017-05-14 16:02:21 -07:00
Henrik Rydgård
d13fdfbf37 Merge pull request #9683 from unknownbrackets/ge-debugger
Minor GE debugger fixes
2017-05-15 00:02:19 +02:00
Unknown W. Brackets
94c138fd83 SoftGPU: Fix texture vertex preview in debugger. 2017-05-14 14:56:23 -07:00
Unknown W. Brackets
262c3483cf GE Debugger: Fix bias display for auto mip mode. 2017-05-14 14:56:17 -07:00
Henrik Rydgård
1f1ed5bb4d Merge pull request #9682 from unknownbrackets/softgpu-light
SoftGPU: Match GLES lighting better, use floats
2017-05-14 12:59:08 +02:00
Unknown W. Brackets
022de0d45a D3D11: Fix initialization of mipmaps. 2017-05-13 17:31:21 -07:00
Unknown W. Brackets
01076dd959 SoftGPU: Don't wrap negative positions.
Haven't fully verified this, but without this, Gods Eater Burst's bloom
doesn't work, since -1,-1 maps to 1023,1023 so everything is clipped.
2017-05-13 17:28:38 -07:00
Unknown W. Brackets
b2d3058386 SoftGPU: Correct fog for rectangles.
Gods Eater Burst uses fog in its bloom, with rectangles.
2017-05-13 17:27:34 -07:00
Unknown W. Brackets
1a56466865 SoftGPU: Match GLES lighting better, use floats.
Using floats simplifies things and also makes it faster.
2017-05-13 12:54:18 -07:00
Henrik Rydgård
996c97dfd5 Merge pull request #9681 from unknownbrackets/softgpu-center
SoftGPU: Correct for pixel centers
2017-05-13 20:46:31 +02:00
Unknown W. Brackets
86a1898732 SoftGPU: Correct rendering for pixel centers.
This should theoretically calculate everything more correctly.
2017-05-13 08:03:08 -07:00
Henrik Rydgård
8cff9f8bc9 Merge pull request #9678 from unknownbrackets/mipmaps
Make const mipmaps more consistent
2017-05-13 16:58:55 +02:00
Unknown W. Brackets
9e34601be2 SoftGPU: Correct texturing for pixel centers. 2017-05-13 07:53:39 -07:00