Commit Graph
39166 Commits
Author SHA1 Message Date
Unknown W. Brackets 16e0a7cc8e Headless: Default memory stick inserted.
Tests expect this, oops.
2018-06-06 05:54:39 -07:00
Unknown W. Brackets e69e844623 Ctrl: Always mark non-user buttons released.
This matches behavior on real firmware and fixes a test failure.
2018-06-06 05:54:39 -07:00
Unknown W. Brackets 2606365ba4 GPU: Use software transform for flat shading.
Except on GLES where it works fine with the default provoking index.

This fixes #10969 so that it works everywhere.
2018-06-06 05:53:50 -07:00
Unknown W. Brackets dca159c47e GPU: Correct sw flat shading color on Vulkan/D3D.
It was only correct on GLES before.  This only fixes software transform.
2018-06-06 05:53:50 -07:00
Unknown W. Brackets 5b62c8afb8 D3D9: Implement flat shading via state. 2018-06-06 05:53:50 -07:00
Unknown W. Brackets b845278d7d D3D11: Implement flat shading in shader. 2018-06-06 05:53:49 -07:00
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
Unknown W. Brackets 0345750500 SDL: Fix EGL build. 2018-06-06 05:36:01 -07: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 v1.6.3 2018-06-05 19:58:41 +02:00
zhang wei f2e3476741 triangles 2018-06-05 10:39:40 +08: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
weihuoya 9f6922221d fx 2018-06-03 22:50:35 +08:00
weihuoya d029bbacc7 triangle fan 2018-06-03 22:29:50 +08: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
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