Henrik Rydgård
637a17a66c
Fix small and scary Vulkan bug (leftover from skinning-removal revert)
2018-09-18 23:38:38 +02:00
AreaScout
95556e8d03
Add: some helpers to compile on ODROID-XU4/XU3
2018-09-17 20:01:12 +00: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
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
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
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
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
22a536fb0c
Merge pull request #11307 from hrydgard/discord-mac-linux
...
Enable Discord integration for Mac and Linux.
2018-08-26 23:04:49 -04:00
Henrik Rydgård
529b8c6025
Untested attempt to fix ios/mac discord
...
(no machines around right now)
2018-08-26 23:10:37 +02:00
orbea
8ba1f049da
Allow choosing to use the system snappy or not.
2018-08-26 12:59:02 -07:00
Unknown W. Brackets
3f48e446b6
GPU: Fix texture handling on framebuf detach.
...
We were never creating/recreating the texture, so we ended up with null.
Caused all sorts of problems.
2018-08-25 09:57:37 -07:00
Henrik Rydgård
e34378a1c1
Enable Discord integration for Mac and Linux.
2018-08-18 10:11:15 +02:00
Henrik Rydgård
6f173b9134
Harmonize some VS project settings.
2018-08-14 22:41:39 +02:00
Henrik Rydgård
0684068c81
Merge pull request #11296 from hrydgard/discord-presence
...
Discord presence - show the current game
2018-08-14 08:40:09 +02:00
Henrik Rydgård
c0ba66cf3c
Revert some of the sln and vcxproj changes, hoping to appease Travis
2018-08-13 23:08:46 +02:00
Henrik Rydgård
785858dbf8
Basic Discord presence integration.
2018-08-13 00:20:09 +02:00
Henrik Rydgård
eddaf97938
Add submodules, namespace json to prepare for the addition of rapidjson (sigh)
2018-08-13 00:18:54 +02:00
Henrik Rydgård
5b7f355b2b
Update glslang again. Might fix #11276
2018-08-05 10:42:29 +02:00
Henrik Rydgård
42f4d7b40f
OpenGL: Fix bug where we could end up calling glUniformMatrix without a bound program. Found by GL debug callback on NV.
...
This adds a bit of extra checking that's only enabled in _DEBUG builds.
2018-07-28 11:09:01 +02:00
Henrik Rydgård
a589a371e6
Update SPIRV-Cross to a fresher version.
2018-07-16 20:00:45 +02:00
Henrik Rydgård
c404214042
Update glslang to latest as of 2016-06-26
2018-07-15 12:30:40 +02:00
Henrik Rydgård
7f8868868e
Merge pull request #11234 from unknownbrackets/glsl-log
...
Report GLSL compile failures better, workaround depal error
2018-07-01 01:33:43 +02:00
Unknown W. Brackets
8ae157e27f
Debugger: Update to latest armips.
2018-06-30 14:18:26 -07:00
Unknown W. Brackets
716e6ad3a2
GLES: Include shader compile status in log/report.
2018-06-30 10:10:42 -07:00
Unknown W. Brackets
b13c5fbe5d
GLES: Read compile/link errors consistently.
...
Sometimes blank ones are getting reported, so let's be more careful.
2018-06-30 09:16:25 -07:00
Unknown W. Brackets
81f74e4287
Vulkan: Assert on some creates failing.
...
Before was only checking in debug builds.
2018-06-24 07:35:19 -07:00
Unknown W. Brackets
5028486630
thin3d: Cleanup some unused/uninitialized warnings.
2018-06-24 07:34:07 -07:00
Unknown W. Brackets
23ecd2ad62
UI: Make sliders able to show disabled.
...
For alternate speed, we'll allow separate speeds to be "on" or "off".
2018-06-23 10:59:18 -07:00
Henrik Rydgård
82b14e0dd5
Merge pull request #11206 from unknownbrackets/debugger
...
http: Don't crash on unclean client disconnect
2018-06-23 09:00:28 +02:00
Unknown W. Brackets
4aa4db611e
Android: Allow desktop GL if available.
...
For example, on the SHIELD.
2018-06-18 00:37:52 -07:00
Unknown W. Brackets
03edd6129a
GLES: Cut down on use of USING_GLES2.
2018-06-17 20:51:34 -07:00
Unknown W. Brackets
495a6359c8
http: Don't crash on unclean client disconnect.
...
This happens even when doing http ISO streaming.
2018-06-17 17:49:40 -07:00
Henrik Rydgård
da5f0f7f2b
Merge pull request #11186 from unknownbrackets/debugger
...
Debugger: Add APIs to retrieve render image
2018-06-17 21:53:38 +02:00
Unknown W. Brackets
ae7f5d7824
native: Avoid an absolute value error.
...
Presumably this was the goal. Not tested.
2018-06-17 11:42:45 -07:00
Unknown W. Brackets
b281da9fa7
Jpeg: Avoid signed shift warnings.
...
This seems easier to read anyway...
2018-06-17 11:38:31 -07:00
Unknown W. Brackets
82dc4c0b72
Debugger: Fix some format warnings in udis86.
2018-06-17 11:19:32 -07:00
Unknown W. Brackets
4a92db4cd6
Debugger: Update to latest armips.
...
Reduces warning noise now that it's included in the build.
2018-06-17 10:50:11 -07:00
Unknown W. Brackets
35ccd16746
GLES: Restore stencil/depth readback for debugger.
...
Only works on desktop GL.
2018-06-16 16:04:25 -07:00
Unknown W. Brackets
e6917cccf6
Debugger: Add APIs to retrieve render image.
2018-06-16 15:33:02 -07:00
Unknown W. Brackets
469d8a6a41
GPU: Screenshot output in BGRA if that's native.
...
This is a decent chunk faster.
2018-06-16 13:48:50 -07:00
Unknown W. Brackets
c97023568c
thin3d: Fix requesting BGRA buffers.
...
Should be fine to request BGRA->BGRA.
Also, the reverse flags were wrong/ignored on the format.
2018-06-16 13:31:08 -07:00
Unknown W. Brackets
b7ac9a6f37
http: Discard output buffer on disconnect.
...
Prevents an assert.
2018-06-16 13:29:44 -07:00
Henrik Rydgård
c7baed26db
Merge pull request #11124 from unknownbrackets/temp-warning
...
Show warning when PPSSPP is saving to a temp directory
2018-06-16 17:46:42 +02:00
Henrik Rydgård
53f0f136ac
Merge pull request #11182 from unknownbrackets/postshader
...
GLES: Use accurate GLSL ver in postshader convert
2018-06-15 07:22:55 +02:00
Unknown W. Brackets
0d2de36258
GLES: Use accurate GLSL ver in postshader convert.
2018-06-14 20:31:58 -07:00
Henrik Rydgård
5c5fa8dabc
Merge pull request #11163 from unknownbrackets/qt-screen
...
Fix some SDL and Qt screen size weirdness
2018-06-10 20:54:36 +02:00
Unknown W. Brackets
1cfb21931d
Vulkan: Properly transition stencil/depth for read.
...
Need to transition the entire texture, so both aspects must be set.
2018-06-09 18:27:29 -07:00
Unknown W. Brackets
cd85dec01b
Debugger: Prevent infinite loop on dead socket.
...
If send() fails, abort instead of retrying forever.
2018-06-09 18:26:41 -07:00
Unknown W. Brackets
4232ef59b4
Debugger: Fix bounds warnings in debug mode.
...
Technically these were accessing outside the container.
2018-06-09 18:26:09 -07:00
Unknown W. Brackets
a448ef536b
Qt: Toggle fullscreen like on all other platforms.
2018-06-09 16:36:41 -07:00
Unknown W. Brackets
9d96e6579c
Merge pull request #10909 from unknownbrackets/debugger
...
WebSocket based debugger interface
2018-06-09 15:37:06 -04:00
Unknown W. Brackets
cc1fa20afb
Qt: Use Roboto Condensed like on other platforms.
...
May improve font fallback issues in #7581 .
2018-06-09 11:36:00 -07:00
Unknown W. Brackets
a676721683
Qt: Remove bundled assets reader.
...
It was no longer being used or linked, so it just meant the assets were missing.
With this removed, the assets (lang inis, shaders, etc.) are available again.
Fixes #9831 - likely broken since #9061 , which stopped using the qrc.
2018-06-09 10:47:53 -07:00
Unknown W. Brackets
fc8ad3b47b
json: Optimize writing a bit.
...
This improves the responsiveness of certain APIs.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets
ccea863f00
Debugger: Use fragments for long chunks.
...
Gets it on the wire faster. More importantly, this allows us to usually
avoid rampant memory allocation even for large responses.
2018-06-08 06:59:17 -07:00
Unknown W. Brackets
6bec3db3fb
Debugger: Disconnect on shutdown/disable.
...
Although, it could be made safe to keep them up when restarting with
debugging still enabled.
2018-06-08 06:59:16 -07:00
Benjamin Hodgetts
79b3f81b0c
Add missing include
...
Fixes issue https://github.com/hrydgard/ppsspp/issues/11157
2018-06-08 12:11:05 +01:00
Henrik Rydgård
d63e044d4b
Merge pull request #11152 from unknownbrackets/debugger-http
...
Move internal webserver to Core, add WebSocket stuff
2018-06-08 09:27:34 +02:00
Unknown W. Brackets
df72abcd62
net: Use WSAAddressToString for Windows XP.
...
Unfortunately, we don't have inet_ntop on older Windows.
2018-06-07 23:22:28 -07:00
Unknown W. Brackets
40c7f5ddfd
UI: Make button padding configurable.
...
Useful for buttons on the MainScreen which look out of place with the
default padding.
2018-06-07 14:14:20 -07:00
Unknown W. Brackets
042256337a
thread: Add a simple thread executor.
2018-06-07 14:11:52 -07:00
Unknown W. Brackets
403632b4ca
http: Correct WebSocket close when code missing.
2018-06-07 14:11:52 -07:00
Unknown W. Brackets
0fb15fc0d0
http: Use a buffer for WebSocket output.
...
This way we can more safely write as much as we want.
2018-06-07 14:11:52 -07:00
Unknown W. Brackets
556a46f9d5
http: Allow selecting a WebSocket subprotocol.
2018-06-07 14:11:52 -07:00
Unknown W. Brackets
8b094f8c6f
http: Allow fragmented data for WebSocket.
2018-06-07 14:11:52 -07:00
Unknown W. Brackets
b75b6801c8
http: Add a simple WebSocket server class.
2018-06-07 14:11:52 -07:00
Unknown W. Brackets
65d072c7b0
http: Add some operations to avoid blocking.
2018-06-07 14:11:52 -07:00
Henrik Rydgård
6bf6490c2f
Merge pull request #11128 from unknownbrackets/gpu-minor
...
Minor framebuffer code cleanup
2018-06-06 22:28:35 +02:00
Henrik Rydgård
a08fb8bd22
Merge pull request #11004 from unknownbrackets/ipv6
...
Enable IPv6 for reporting / sharing / etc.
2018-06-06 21:24:04 +02:00
Henrik Rydgård
df699c67b2
Merge pull request #10960 from unknownbrackets/debugger-json
...
Switch json to gason, include json writer in build
2018-06-06 21:19:13 +02:00
Henrik Rydgård
bc6f211724
Merge pull request #11093 from unknownbrackets/debugger-armips
...
Include armips assembler in build
2018-06-06 20:41:20 +02:00
Henrik Rydgård
347721f200
Merge pull request #10981 from unknownbrackets/flat-shade
...
Use software transform for flat shading and fix colors
2018-06-06 19:05:54 +02:00
Unknown W. Brackets
191af89195
Merge pull request #11107 from jbeich/cityhash
...
Unbreak -march=native build on x86
2018-06-06 09:18:16 -04:00
Unknown W. Brackets
082ddf5120
json: Switch to gason instead of vjson.
...
From the same author. Most importantly, reads numbers as doubles rather
than as signed ints and floats. This allows us to actually read 32 bit
unsigned int parameters.
Moved all the native customization to a separate json_reader.cpp.
2018-06-06 05:59:35 -07:00
Unknown W. Brackets
b56249eec1
json: Avoid encoding inf/nan in JSON.
...
It doesn't support them. The common workaround is to use null.
2018-06-06 05:59:34 -07:00
Unknown W. Brackets
2e3021da0c
json: Be precise by default.
2018-06-06 05:59:34 -07:00
Unknown W. Brackets
b658130924
json: Fix formatting of nested arrays/objects.
2018-06-06 05:59:34 -07:00
Unknown W. Brackets
03cc4eab01
json: Allow formatting read json back to writer.
2018-06-06 05:59:34 -07:00
Unknown W. Brackets
fb876e78c0
json: Actually include in build.
2018-06-06 05:59:33 -07:00
Unknown W. Brackets
dfef902cdb
json: Escape strings in the json writer.
2018-06-06 05:59:33 -07:00
Unknown W. Brackets
e21753bc93
Debugger: Add assembler to build.
2018-06-06 05:59:24 -07:00
Unknown W. Brackets
5b95de663e
net: Listen on ipv6 and ipv4.
...
Hurray, no longer "part of the problem" for ipv4.
2018-06-06 05:59:07 -07:00
Unknown W. Brackets
30a07c2e8d
net: Support local ipv6 formatting.
...
Let's hope no platform has issues with inet_ntop...
2018-06-06 05:59:07 -07:00
Unknown W. Brackets
ca4340b9e0
net: Support ipv6 lookups.
...
We try to connect() to both, so should still be safe in environments where
ipv6 is broken.
2018-06-06 05:59:07 -07:00
Unknown W. Brackets
e90b01d9ac
thin3d: Convert BGRA8888 to RGB888 for screenshots.
...
In case we prefer BGRA for some buffer in Vulkan. Also reporting.
2018-06-06 05:56:29 -07:00
Unknown W. Brackets
5b62c8afb8
D3D9: Implement flat shading via state.
2018-06-06 05:53:50 -07: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
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
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