Commit graph

24761 commits

Author SHA1 Message Date
Unknown W. Brackets
703181607e GPU: Apply color test after doubling. 2018-09-09 20:09:48 -07:00
Unknown W. Brackets
8cdead90f9 SoftGPU: Preserve stencil inside logic op func.
Cleaning things up to make it easier to translate.
2018-09-09 18:11:37 -07:00
Unknown W. Brackets
772ed30288 SoftGPU: Avoid extra lookup of old stencil. 2018-09-09 17:00:12 -07:00
Henrik Rydgård
ae73b8f45d
Merge pull request #11377 from unknownbrackets/lighting
D3D11: Fix pow(0, 0) lighting handling
2018-09-09 23:24:46 +02:00
Unknown W. Brackets
016d6ba764 D3D11: Fix pow(0, 0) lighting handling.
This was previously fixed in GLES.
2018-09-09 10:25:58 -07:00
Unknown W. Brackets
332788d0b5 GPU: Clean up some shader id flag usage. 2018-09-09 09:59:42 -07:00
Henrik Rydgård
204bfc7441
Merge pull request #11371 from unknownbrackets/mpeg-minor
Mpeg: Avoid reading outside available bytes
2018-09-09 10:50:48 +02:00
Henrik Rydgård
47cccc0ff0
Merge pull request #11370 from unknownbrackets/tex-replace
Replacement: Cut down on parsing for large inis
2018-09-09 10:50:05 +02:00
Henrik Rydgård
7a5ec714c3
Merge pull request #11374 from unknownbrackets/texcache
TexCache: Fix texture alignment in GLES
2018-09-09 10:48:23 +02:00
Unknown W. Brackets
b05f75f667 D3D9: Set alpha mask reference in uniforms.
Just so we don't have surprises later if we implement masking.
2018-09-08 20:05:19 -07:00
Unknown W. Brackets
4dafb163a3 D3D11: Split color test out by component.
Not working correctly together.  See #10629.
2018-09-08 20:03:26 -07:00
Unknown W. Brackets
97773d3dd5 TexCache: Fix texture alignment in GLES.
We must align to 4 bytes, and we aren't always aligned to 16 anymore, so
we must check when dealing with swizzle.
2018-09-08 19:00:30 -07:00
Unknown W. Brackets
a5f61e798e Mpeg: Avoid reading outside available bytes.
When we're just looking for the size or offset, it shouldn't be necessary
to load the stream, so hopefully we can avoid it.
2018-09-08 12:14:17 -07:00
Henrik Rydgård
959a999575
Merge pull request #11365 from AreaScout/master
Add: Touchscreen event support for SDL2
2018-09-08 18:04:11 +02:00
AreaScout
1fb111c2bb Add: Touchscreen event support for SDL2 2018-09-08 07:15:31 +00:00
Unknown W. Brackets
1b4f1d7d4e Replacement: Cut down on parsing for large inis. 2018-09-07 21:36:59 -07:00
Henrik Rydgård
fd6c3145d5
Merge pull request #11364 from unknownbrackets/gpu-failed
Core: Reset working graphics backend on restart
2018-09-07 07:13:23 +02:00
Unknown W. Brackets
120cf59237 Core: Reset working graphics backend on restart. 2018-09-06 18:31:09 -07:00
Henrik Rydgård
d7bf2841d1
Merge pull request #11362 from unknownbrackets/gpu-failed
Core: Don't consider graphics failed on shutdown
2018-09-06 22:00:39 +02:00
Unknown W. Brackets
fb8f408db0 Core: Don't consider graphics failed on shutdown.
On some devices, we'll lose context or get a resize mid-startup, so make
sure we don't detect that as a graphics crash.
2018-09-06 07:31:15 -07:00
Henrik Rydgård
8ac50b232d
Merge pull request #11360 from unknownbrackets/gpu-failed
Core: Log more on graphics backend failures
2018-09-06 09:18:46 +02:00
Unknown W. Brackets
db93a08fc9 Core: Log more on graphics backend failures.
Just so we can tell for sure in logs what's happening.
2018-09-05 23:13:15 -07:00
Henrik Rydgård
f42065ed3b
Merge pull request #11357 from unknownbrackets/ui-minor
UI: Automatically forget pinned deleted paths
2018-09-05 10:22:23 +02:00
Unknown W. Brackets
2388be544f Debugger: Fix crash in softgpu with no texaddr yet. 2018-09-04 21:54:25 -07:00
Unknown W. Brackets
246234b0b7 UI: Automatically forget pinned deleted paths.
Also, resolve the paths in case of symlinks.
2018-09-04 21:53:20 -07:00
Henrik Rydgård
562c5f6485
Merge pull request #11346 from unknownbrackets/startup-fail
Core: Track graphics startup failures and cycle
2018-09-04 21:14:15 +02:00
Unknown W. Brackets
f87dcefdd8 Android: Buildfix for CMake.
May affect other arm64 too.  Also, ifdef out a check in case of compiling
with GL 3 headers (to fix a Linux buildbot issue.)
2018-09-03 18:41:52 -07:00
Henrik Rydgård
d23d58c406
Merge pull request #11332 from AreaScout/master
Add: Get user-preferred locale from OS (linux only)
2018-09-02 21:35:45 +02:00
Henrik Rydgård
caaec8c4cc
Merge pull request #11347 from unknownbrackets/save-minor
Savedata: Show confirm save without faded icon
2018-09-02 21:33:41 +02:00
Henrik Rydgård
18a6fac915
Merge pull request #11348 from unknownbrackets/ui-minor
UI: Fix state screenshot size on pause screen
2018-09-02 21:33:18 +02:00
Henrik Rydgård
e4562ccc93
Merge pull request #11350 from unknownbrackets/texture-dxt
TexCache: Optimize DXT3/DXT5 decode to single pass
2018-09-02 21:32:24 +02:00
Henrik Rydgård
4f26ac6e65
Merge pull request #11351 from unknownbrackets/android-minor
Add .nomedia files to system and textures
2018-09-02 21:20:15 +02:00
Unknown W. Brackets
f65edc20a3 TexCache: Optimize DXT5 alpha lerp.
This makes the overall DXT5 decode about 8% faster.
2018-09-02 11:41:27 -07:00
Unknown W. Brackets
d715ed8fba Core: More consistently use directory constants. 2018-09-02 10:27:11 -07:00
Unknown W. Brackets
d1c5668612 Android: Add .nomedia files to system and textures.
Due it on all platforms when saving textures to encourage including
.nomedia in texture packs.
2018-09-02 10:19:08 -07:00
Unknown W. Brackets
3f35221f3b TexCache: Avoid masking out alpha for DXT3/DXT5.
A little faster.  Also refactor colors a bit to be more readable.
2018-09-02 09:53:31 -07:00
Unknown W. Brackets
8ae2b1e6fb TexCache: Optimize DXT3/DXT5 decode to single pass.
This is significantly faster on Vulkan, and in other situations where
we're decoding directly to uncached memory.
2018-09-02 09:30:46 -07:00
Henrik Rydgård
9d8cfb3944
Merge pull request #11349 from unknownbrackets/arm-build
Core: Match up NOEN define usage a bit more
2018-09-02 14:05:03 +02:00
Unknown W. Brackets
e246a946c3 Core: Add flag to prevent graphics cycling.
For debugging graphics crashes.
2018-09-01 19:59:13 -07:00
Unknown W. Brackets
f906fbed35 Core: Track graphics startup failures and cycle.
If the graphics driver segfaults, or some plugin segfaults, let's try a
different one next time.  This gives better hope of starting up next time.
2018-09-01 19:59:13 -07:00
Unknown W. Brackets
68317f0067 Core: Match up NOEN define usage a bit more.
Some compile parameters were resulting in us try to use a func we didn't
compile.  We should at least use the same defines in usage and definition.
2018-09-01 19:56:35 -07:00
Unknown W. Brackets
65bf285e41 UI: Fix state screenshot size on pause screen.
Was stretched wide here, but fine in save data manager.
2018-09-01 14:56:56 -07:00
Unknown W. Brackets
ed10b69b17 Savedata: Show confirm save without faded icon.
See #9632.
2018-09-01 14:40:44 -07:00
Unknown W. Brackets
a004196d43 Qt: Buildfix with removed debugger methods. 2018-09-01 14:29:23 -07:00
Henrik Rydgård
3d1e0e012b
Merge pull request #11345 from unknownbrackets/debugger
Expose GE dump recording in WebSocket API
2018-09-01 22:01:19 +02:00
Unknown W. Brackets
360862617a UI: Move debugger checkbox outside texture area.
Oops, didn't mean for it to be there.
2018-09-01 11:00:05 -07:00
Unknown W. Brackets
653129c528 Debugger: Add an event for GE dump recording. 2018-09-01 10:59:37 -07:00
Unknown W. Brackets
4ce2b64ef7 Debugger: Refactor to allow simpler broadcasting.
It's okay to mix a bit for simple ones, I think.
2018-09-01 10:15:22 -07:00
Unknown W. Brackets
c10b2035b5 Debugger: Prevent record with no commands.
Should cut down on empty dumps, at least.
2018-09-01 09:51:04 -07:00
AreaScout
c6c66e7608 Add: Get user-preferred locale from OS (linux only) 2018-09-01 16:43:37 +00:00