baldurk
cee18446bf
Use file type and maxsize from thumb command properly
2017-09-29 12:11:15 +01:00
baldurk
6759d975b0
Add conversion typemaps for fixed-size arrays in python
2017-09-29 12:11:14 +01:00
baldurk
6082c7da55
Remove use of bool32 in CaptureOptions struct.
2017-09-29 12:11:14 +01:00
baldurk
4a677ca291
Add tests for IP processing utility functions
2017-09-29 12:11:14 +01:00
baldurk
9810b4e0e6
Improve error checking in ParseIPRangeCIDR
2017-09-29 12:11:14 +01:00
baldurk
d45f049763
Add some tests of threading
2017-09-29 12:11:14 +01:00
baldurk
80d8db08e8
Add tests of bit operations
2017-09-29 12:11:14 +01:00
baldurk
0347fd358d
Add tests of timing functions
2017-09-29 12:11:14 +01:00
baldurk
d3d35ee216
Change thread creation type to std::function to allow lambdas
2017-09-29 12:11:13 +01:00
baldurk
f529c9a393
Don't use logfile FD if it's -1
2017-09-29 12:11:13 +01:00
baldurk
f5f71e72bf
Add tests of environment variable OS-specific functions
2017-09-29 12:11:13 +01:00
baldurk
079a149c1e
Expose a couple of miniz functions publicly
2017-09-29 12:11:13 +01:00
baldurk
43a9f1fd48
Add memsets to mallocs in miniz to avoid false positives in valgrind
2017-09-29 12:11:13 +01:00
Matthäus G. Chajdas
4bd282755d
Update the AMD GPA integration for GPA 3.0.
2017-09-27 08:00:06 -07:00
baldurk
c05bdc2032
Don't call XCloseDisplay with a NULL Display*
...
* Normally we'd always have a Display*, but if we're running without an
X server present, the Display* will be NULL.
2017-09-26 13:29:56 +01:00
baldurk
e9171e4d82
Consider images with external memory pNext structs to be dirty on create
2017-09-26 12:22:05 +01:00
baldurk
05c87778ea
Fix native-newline printing to print atomically
...
* With the log append setup, printing lines and newlines separately can
lead to them being interleaved between multiple processes writing to
the same log.
* This way the lines in a print could still be scattered, but without
over-allocating to modify newlines in place (which would be more
expensive too) this can't be fixed, and both multi-line prints and
multiple processes writing a lot of log prints are rare.
2017-09-26 12:15:51 +01:00
baldurk
8e40cabd57
Fix windows environment variable fetching to use win32 functions
2017-09-26 11:54:58 +01:00
baldurk
ac77eeb98e
Fix Prepend case for environment variables (!)
2017-09-26 11:54:49 +01:00
baldurk
e790c39f5f
Add a couple of valgrind system leaks to ignore
2017-09-26 11:54:39 +01:00
baldurk
4c08c83e87
Don't leak Display* handle
2017-09-26 11:54:31 +01:00
baldurk
f8d7043ad0
Don't leak iconv handle
2017-09-26 11:54:25 +01:00
baldurk
5c4e21d6b5
printf fix for signed %zd formatters on 32-bit
2017-09-26 11:53:57 +01:00
baldurk
8833effbd8
Add reference to SPIR-V library in AMD library
2017-09-26 11:53:24 +01:00
baldurk
7b2af6b381
Auto-guess format of thumbnail from .jpg file extension
2017-09-26 11:53:16 +01:00
baldurk
1992183e8e
Add support for specifying a subfolder under the lib/ target. Refs #750
...
* This allows a buidler to customise from e.g. /usr/lib/librenderdoc.so
to /usr/lib/renderdoc/librenderdoc.so - which is harmless since the
library is 'private' and not intended to be linked against directly.
2017-09-26 11:00:17 +01:00
baldurk
a9cd8c6870
Add note to error message about possible startup fault - missing DLLs
2017-09-26 10:16:18 +01:00
baldurk
3f943ea0f1
Get NULL-check the right way around in ?: operator. Refs #754
2017-09-26 10:12:05 +01:00
baldurk
6eb9969d37
Disable CMAKE_INSTALL_PREFIX message for android builds
2017-09-26 10:07:34 +01:00
Janos Pantos
8a98ba0baf
Add hack for replaying ASTC textures with GL driver
2017-09-22 10:09:33 -07:00
Janos Pantos
45d67fdac2
Improve the retrieval of compressed textures on GLES
2017-09-22 10:09:33 -07:00
Cody Northrop
96e93294fa
android: Update layer push to support 64-bit
...
The path we were using doesn't exist for arm64. The new path
should work for all ABIs.
2017-09-22 10:08:49 -07:00
Cody Northrop
83697f4e85
android: Update server installation to allow 64-bit
...
This allows local arm64 builds, and should continue to work
for stable releases only containing arm32.
This also adds the "-g" flag to the install, granting all
requested runtime permissions, simplifying the user experience.
2017-09-22 10:08:49 -07:00
baldurk
4465c37fe7
Don't strip capture's device extensions away with backwards strcmp
2017-09-19 17:28:12 +01:00
baldurk
bf3214e8a2
Don't display a register/slot index for built-in shader variables
2017-09-19 17:28:12 +01:00
baldurk
67bea64070
Make it non-fatal to be missing WSI extensions at runtime
...
* Instead of erroring and failing to replay a capture if WSI is not
present when replaying even though enabled at compile time, we just
print a warning and allow the supported windowing systems list to
become empty.
* The UI or whichever app is controlling things must then respect this
and not try to create any outputs. If the replay is happening
completely headless there are then no more errors.
2017-09-19 17:28:12 +01:00
baldurk
86c3ee4086
Fixes for compiling with disabled xcb, or disabled xlib & xcb
2017-09-19 17:28:12 +01:00
baldurk
ba64ae6274
Add a warning if only CMAKE_INSTALL_PREFIX is customised
...
* VULKAN_LAYER_FOLDER points outside the prefix to /etc in absolute, so
usually if you customise one you'll want to customise the other.
* This is especially true if you're pointing the install prefix at some
non-root location, and you want make install to succeed instead of
failing to write to /etc.
2017-09-19 17:28:11 +01:00
baldurk
6ec2aa55a0
Change logging to use native line-endings - i.e. CRLF on windows
...
* This means even if notepad is associated with .log files, it will look
correct, since notepad can't hand LF line-endings :(.
2017-09-19 17:28:11 +01:00
michaelrgb
61606d8aea
Fix offscreen render setting GLWindowingData::wnd=0, an error condition.
2017-09-19 09:28:05 -07:00
michaelrgb
3c05b25653
Use ES color-renderable SRGB8_ALPHA8 for output window backbuffer.
2017-09-19 09:28:05 -07:00
Matthäus G. Chajdas
e6a746623c
Fix D3D11 counters trying to sample "FirstAMD", and early out.
...
Previously, the D3D counters would always run, even if none of them was requested.
2017-09-15 12:18:22 -07:00
Matthäus G. Chajdas
cad64db864
Use the correct role instead of a magic number.
2017-09-15 12:18:22 -07:00
Cody Northrop
68d6873302
android: Check server version for compatibility
...
Check the version of the installed server and if not a match,
remove it and allow existing installation logic to kick in.
2017-09-15 12:17:58 -07:00
Cody Northrop
2b1bc02a22
android: Set versionName and versionCode during build
...
This will allow us to determine the status of the installed
server before using it.
2017-09-15 12:17:58 -07:00
Janos Pantos
ff084037a5
Fix detecting renderdoccmd as a replay application on android
...
* Force loading librenderdoccmd.so in the Loader
* Build renderdoc as libVkLayer_GLES_RenderDoc.so, link renderdoccmd
against it, otherwise we will get UnsatisfiedLinkError when running
2017-09-15 12:17:21 -07:00
michaelrgb
06cfd5383f
Save in app's own /sdcard directory, doesnt need WRITE_EXTERNAL_STORAGE.
...
Removed checks for WRITE_EXTERNAL_STORAGE from Android workflow.
2017-09-15 12:17:02 -07:00
baldurk
bae429332d
Fix GetModifiedTimestamp to work with >2GB files on win32 (see 43946540)
2017-09-14 11:11:44 +01:00
Jimmy Lee
43946540f1
Fixed a problem with opening capture files larger than 2gb on windows
2017-09-14 03:09:08 -07:00
baldurk
139b122cc4
Fix assertion to allow 8 color attachments. Refs #743
2017-09-14 10:48:44 +01:00