Commit Graph
24746 Commits
Author SHA1 Message Date
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 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
Unknown W. Brackets f1afc51994 GE Debugger: Refactor out stepping callback.
In case we have multiple connected debuggers, we don't want just a
callback.  A counter works fine.
2018-09-01 09:41:20 -07:00
Unknown W. Brackets a4c0640f01 GE Debugger: Factor out host calls some.
Moving more of this to cross platform for the web debugger.
2018-09-01 08:32:03 -07:00
Henrik Rydgård d91637390d Merge pull request #11334 from weihuoya/glslang-args
Some glslang options for vulkan
2018-09-01 11:02:08 +02:00
Henrik Rydgård 2f060a4c74 Merge pull request #11337 from unknownbrackets/kh-shadow
GPU: Clear alpha more consistently from 565
2018-09-01 09:48:29 +02:00
Henrik Rydgård 0ed6064d79 Merge pull request #11338 from unknownbrackets/ui-minor
UI: Load post shader names on non-Windows early
2018-08-31 22:39:11 +02:00
Unknown W. Brackets 2704b09dfd UI: Load post shader names on non-Windows early.
This way the ini "name" is used, rather than the stored code for it.

Fixes #11015.
2018-08-30 21:19:19 -07:00
Unknown W. Brackets 16d7a80980 GPU: Clear alpha more consistently from 565.
Before, the backends all did different things.  Now they are more in sync,
but Vulkan still behaves slightly differently.

Fixes #11326.
2018-08-30 21:00:21 -07:00
Unknown W. Brackets 557748d65b Merge pull request #11336 from hrydgard/android-text-crash-fix
Set a minimum of 1x1 for Android text bitmap measurement.
2018-08-30 19:02:40 -04:00
Henrik Rydgård 19dd28582f Merge pull request #11335 from AreaScout/eglinfo
Add: EGL info for GLES on Linux
2018-08-30 21:03:31 +02:00
Henrik Rydgård 8e6a1bc849 Set a minimum of 1x1 for Android text bitmap measurement.
Should fix some crashes seen on Google Play
2018-08-30 19:49:33 +02:00
AreaScout 45753d87de Add: EGL info for GLES on Linux 2018-08-30 16:28:34 +00:00
weihuoya 9324d7c386 glslang options for vulkan 2018-08-30 22:51:55 +08:00
Henrik Rydgård c413da7849 Merge pull request #11333 from unknownbrackets/clut-rehash
TexCache: Keep maxSeenV on clut variants in sync
2018-08-30 13:37:40 +02:00
Unknown W. Brackets 1b79924038 Debugger: Fix texture readback in GLES.
Was using the wrong size, causing the buffer not to be allocated large
enough.  This caused crashes sometimes.
2018-08-29 22:09:10 -07:00
Unknown W. Brackets 00daa00ae5 TexCache: Keep maxSeenV on clut variants in sync.
This ensures that we detect changes properly even when they are outside
the max V used with one CLUT.

Fixes #9355, enemy fade out in FF2.
2018-08-29 22:07:27 -07:00