Commit Graph
27588 Commits
Author SHA1 Message Date
Unknown W. Brackets 18bfff5f75 UI: Reinit UI texture during game when used.
Otherwise we may try to use it when it doesn't exist.  This should only
happen on graphics restart.

Potentially related to first crash in #11116.
2018-06-01 21:07:09 -07:00
Unknown W. Brackets e6af167cd9 Merge pull request #11119 from hrydgard/vk-nulltexture
Never bind a NULL image view in Vulkan, not even through thin3d
2018-06-01 23:53:18 -04:00
Unknown W. Brackets 72af11f9f6 Merge pull request #11118 from hrydgard/framebuffer-download-size
When creating temp framebuffers for download, size them using bufferWidth/Height instead of width/height.
2018-06-01 23:51:59 -04:00
Henrik Rydgård 8d3dbee823 Fix a GL error when taking a screenshot in non-buffered. May help #11056 2018-06-01 22:25:27 +02:00
Henrik Rydgård 04fefa2417 Vulkan image readback: Fix a couple scary cases of wrong argument order in image transitions, leading to transitioning 0 mips 2018-06-01 22:16:20 +02:00
Henrik Rydgård 2917f3ffbb Better return the right pointer. 2018-06-01 22:05:21 +02:00
Henrik Rydgård c1d113e0e9 When creating temp framebuffers for download, size them using bufferWidth/Height instead of width/height.
Or maybe we should make sure to only download within the width/height by
adding more clamps at the beginning of ReadFramebufferToMemory but seems
more dangerous.

Plus some minor things.

Should help #11113
2018-06-01 21:16:07 +02:00
Henrik Rydgård 9485b04914 Never bind a NULL image view in Vulkan no matter what. 2018-06-01 18:51:37 +02:00
Henrik Rydgård aadced94f5 Update lang submodule 2018-06-01 17:31:29 +02:00
Henrik Rydgård 30de8194a5 Merge pull request #11111 from weihuoya/gles-int-highp
depal shader use high int precision for opengl es
2018-06-01 08:41:25 +02:00
weihuoya e01e77e025 fx depal int precision for opengl es 2018-06-01 00:58:44 +08:00
Henrik Rydgård cae79bf979 Merge pull request #11110 from unknownbrackets/d3d11-screenshot
D3D11: Fix crash on screenshot
2018-05-31 10:40:21 +02:00
Unknown W. Brackets f369086987 D3D11: Fix crash on screenshot. 2018-05-31 00:04:40 -07:00
Jan Beich c783e7761c cityhash: disable SSE 4.2 optimization on x86
$ c++ -m32 -msse4.2 -c ext/native/ext/cityhash/city.cpp
ext/native/ext/cityhash/city.cpp:569:5: error: use of undeclared identifier '_mm_crc32_u64'
    CHUNK(0); PERMUTE3(a, h, c);
    ^
ext/native/ext/cityhash/city.cpp:562:9: note: expanded from macro 'CHUNK'
    z = _mm_crc32_u64(z, b + g);                \
        ^
2018-05-30 19:53:26 +00:00
Henrik Rydgård 00e5da2c35 Update to 1.6.2 v1.6.2 2018-05-30 19:47:20 +02:00
Henrik Rydgård c964bc4ba2 Fix another of these pesky GL task switching bugs. 2018-05-30 19:29:26 +02:00
Henrik Rydgård 3f7474e5b8 More (disabled by default) gl error logging.. 2018-05-30 18:14:13 +02:00
Henrik Rydgård 7e756544ee Add a missing virtual destructor, fix a warning 2018-05-30 18:01:49 +02:00
Unknown W. Brackets c59c3d6c34 Merge pull request #11105 from hrydgard/crash-fix-attempts-1.6.1
1.6.1 crashfixes
2018-05-29 20:56:28 -04:00
Henrik Rydgård 4f59ebad05 sprintf->snprintf. Don't think any of these are likely overflows though. 2018-05-29 23:42:54 +02:00
Henrik Rydgård b1df7b2cd0 Thin3D: Handle binding a null texture better. 2018-05-29 23:35:27 +02:00
Henrik Rydgård 1c17373039 GLES: Properly restore the pointer to the render manager in more places 2018-05-29 23:07:22 +02:00
Henrik Rydgård 88e358afc8 Update to 1.6.1 v1.6.1 2018-05-28 18:47:10 +02:00
Unknown W. Brackets 43b18578f4 Update default firmware version to 6.60.
Not many games call sceKernelDevkitVersion(), but we mostly match 6.60.

See also: https://report.ppsspp.org/logs/kind/883?status=any
2018-05-28 08:44:00 -07:00
Unknown W. Brackets c588046d99 Savedata: Respect secureVersion parameter.
This isn't used in many games, but see #10814.
2018-05-28 08:42:48 -07:00
Henrik Rydgård 79f8388e65 Merge pull request #11088 from unknownbrackets/vulkan-state
Vulkan: Update shaders/state when dirty properly
2018-05-28 08:34:11 +02:00
Unknown W. Brackets e7d07aff71 Vulkan: Update shaders/state when dirty properly.
Can't have been right before.
2018-05-27 22:28:09 -07:00
Henrik Rydgård 87beddc393 Merge pull request #11084 from hrydgard/crash-fix-attempts-1.6
Various fixes for 1.6.1
2018-05-27 23:27:57 +02:00
Henrik Rydgård 0c0c258c50 Merge pull request #11085 from unknownbrackets/vulkan-combine
Vulkan: Don't merge render passes if read from
2018-05-27 23:27:31 +02:00
Unknown W. Brackets 423309da50 Vulkan: Don't merge render passes if read from.
In the future, we might actually track dependencies so we can smartly
sort the render passes instead.

See #11079 - screen got brighter because a cleared framebuffer was used as
a texture.
2018-05-27 14:15:54 -07:00
Henrik Rydgård 14d17419b1 Minor cleanup 2018-05-27 22:51:00 +02:00
Henrik Rydgård 0d6be3a476 GLES: Refresh the draw context in DrawEngineGLES on DeviceRestore. How did we miss this? 2018-05-27 22:25:15 +02:00
Henrik Rydgård 343763cf5a More paranoia from Google Play 2018-05-27 22:16:36 +02:00
Henrik Rydgård b730d187e8 Add some paranoid checks guided by stack traces from Google Play 2018-05-27 22:12:59 +02:00
Henrik Rydgård d7770307f3 Change some log levels to verbose 2018-05-27 21:53:27 +02:00
Henrik Rydgård d35de81a76 Check for a valid screen manager in NativeIsAtTopLevel 2018-05-26 17:50:37 +02:00
Henrik Rydgård 09e85eb150 Update version to 1.6 in AndroidManifest.xml v1.6 2018-05-26 14:26:32 +02:00
Henrik Rydgård e8da82c011 Update lang 2018-05-26 14:26:32 +02:00
Henrik Rydgård d897d58727 Merge pull request #11071 from hrydgard/android-navbar-black
Android: In v21 and later, make the navigation bar black using styles.xml
2018-05-26 14:25:30 +02:00
Henrik Rydgård 29164c4990 Merge pull request #10954 from hrydgard/readme-1.6
Update README.md for 1.6
2018-05-26 11:27:49 +02:00
Henrik Rydgård 66e7e75c2e Merge pull request #11072 from hrydgard/android-more-size-fixes
Android immersive mode: Fix display size stretch and touch screen inaccuracy
2018-05-26 09:45:41 +02:00
Henrik Rydgård 7c921c5367 Android immersive mode: Fix display size stretch and touch screen inaccuracy when toggling immersive mode 2018-05-25 23:40:34 +02:00
Henrik Rydgård 0e0a3d2804 Android: In v21 and later, make the navigation bar black using styles.xml 2018-05-25 22:42:43 +02:00
Henrik Rydgård 3472d62fff Merge pull request #11061 from unknownbrackets/savestate
SaveState: Fix rename when undo disabled
2018-05-21 09:16:14 +02:00
Unknown W. Brackets 037a20e7c7 SaveState: Fix rename when undo disabled.
On Windows, for example, the rename target cannot exist.

This also fixes the screenshot rename for the undo.
2018-05-20 20:51:29 -07:00
Henrik Rydgård 3733669112 Merge pull request #11058 from unknownbrackets/load-fail
Core: Shutdown properly on load failure
2018-05-20 23:48:11 +02:00
Unknown W. Brackets 9b6dee126d Core: Shutdown properly on load failure. 2018-05-20 14:17:01 -07:00
Henrik Rydgård ab65c5210c GLES shader depal fix. Again, this is disabled by default so should not affect anything. 2018-05-14 21:20:51 +02:00
Henrik Rydgård 061f92c177 Minor code simplification 2018-05-14 21:19:48 +02:00
Henrik Rydgård 4ba9fe3e0e GLES depal (currently disabled): Use high int precision.
Should fix issue mentioned in https://github.com/hrydgard/ppsspp/commit/fb7a63bd11ba785209babfe9631956110d46c9bf
2018-05-13 20:51:20 +02:00