Commit graph

24328 commits

Author SHA1 Message Date
Unknown W. Brackets
61fc1cdcfb GPU: Dirty tex when clearing or rendering to self.
This way if we're blitting, we'll re-blit.
2018-06-06 05:52:49 -07:00
Unknown W. Brackets
07e178a2da
Merge pull request #10922 from hrydgard/gpu-device-choice
GPU device choice for D3D11 and Vulkan
2018-06-06 08:50:32 -04:00
Henrik Rydgård
b22c488588
Merge pull request #11012 from unknownbrackets/devkit
Update default firmware version to 6.60
2018-06-06 10:26:55 +02:00
Henrik Rydgård
45f16f1ecd
Merge pull request #11000 from unknownbrackets/savedata
Savedata: Respect secureVersion parameter
2018-06-06 10:26:27 +02:00
Henrik Rydgård
238521a297 Rename device choice config options as requested. 2018-06-06 10:24:16 +02:00
Henrik Rydgård
8ee3cd52e8 D3D11: Allow the user to select rendering device. 2018-06-06 10:20:12 +02:00
Henrik Rydgård
b037efdb55 If there are multiple Vulkan devices, show a setting to allow the user to choose. 2018-06-06 10:20:12 +02:00
Henrik Rydgård
b9388f50e1
Merge pull request #11133 from unknownbrackets/java-format
Android: Reformat Java files
2018-06-06 10:13:45 +02:00
Henrik Rydgård
233758bd5b
Merge pull request #11144 from unknownbrackets/sdl-gl
SDL: Fix some startup issues and EGL
2018-06-06 10:08:49 +02:00
Unknown W. Brackets
a7023ac542 SDL: Move EGL init code into SDLGLGraphicsContext.
It should really be cleaned up, but I'm not sure if EGL_Open can be
moved later and don't currently have a setup to test, so I'm just
cargo culting.
2018-06-05 23:02:50 -07:00
Unknown W. Brackets
78a41980df SDL: Use fullscreen for mobile/GLES.
Also, allow resize for Vulkan outside mobile.

Thanks go to hissingshark.
2018-06-05 20:40:58 -07:00
Unknown W. Brackets
f2a75719d8 SDL: Properly try multiple GL versions.
Thanks go to hissingshark.
2018-06-05 20:40:50 -07:00
Henrik Rydgård
9a610c8a01 Update to 1.6.3 2018-06-05 19:58:41 +02:00
Henrik Rydgård
6db008fc02 Update lang submodule again 2018-06-04 22:02:10 +02:00
Henrik Rydgård
3acc582aec
Merge pull request #11137 from weihuoya/gl-save-cache
Opengl save cache before clear
2018-06-04 19:41:48 +02:00
zhang wei
3380bbb0c6 save cache before clear 2018-06-04 22:00:29 +08:00
Unknown W. Brackets
4846cfe6a5 Android: Reformat Java files.
Mostly indentation, just ran a formatter tool and did some cleanup.

No code changes.
2018-06-03 17:57:23 -07:00
Henrik Rydgård
ad1b75292f
Merge pull request #11121 from unknownbrackets/ui-texture-crash
UI: Reinit UI texture during game when used
2018-06-02 07:16:37 +02:00
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
Henrik Rydgård
00e5da2c35 Update to 1.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 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