Commit Graph

6209 Commits

Author SHA1 Message Date
baldurk 8f4b2a0d49 Fix handling of D3D11_KEEP_{RTs/UAVs} in some edge cases 2017-10-11 11:26:38 +01:00
Cory Bloor 8986596350 Make "Recent Capture Settings" update upon save 2017-10-11 03:26:17 -07:00
Cory Bloor b7eb5c6516 Implement "Clear History" for Recent menus
This also fixes a couple minor related bugs in the menu.
2017-10-11 03:26:17 -07:00
Cory Bloor 6f21bacd82 Set default extensions for most save files
In most of these cases, the open file dialog won't even display a file
without the proper extension, so this helps ensure the user doesn't
accidentally misplace their files. The one exception is *.rdc, which
could be found without the extension, but could not be opened.
2017-10-11 03:26:17 -07:00
michaelrgb 87a587cc98 Fix ES attrib client pointers being interpreted as buffer offsets. 2017-10-10 01:29:11 -07:00
baldurk 43d6d6e197 Add brew update to try and fix OSX intermittent errors on travis 2017-10-09 16:06:52 +01:00
Janos Pantos 950c27719b Restore compressed texture data while reading the capture file 2017-10-06 08:21:48 -07:00
Janos Pantos 2901c3116a Don't try to use cache for non-array textures in GetTextureData 2017-10-06 08:21:48 -07:00
baldurk 4cd36280e8 Fix string comparison being the wrong way around on input bytecode check 2017-10-05 12:03:29 +01:00
baldurk 16b8a4795b Detect incompatible versions of GPA, warn and fail gracefully. 2017-10-05 12:02:33 +01:00
michaelrgb 73e41e532b Create uniform translation table from live prog instead of initial prog.
The table is used on the live program, and we have seen the driver choose
different locations in the initial program due to the TF varyings.
2017-10-05 04:01:49 -07:00
baldurk b66d11086c Remove a TODO that's already been implemented 2017-10-02 15:54:53 +01:00
baldurk 8c74c92079 Move docstring check from fatal-onstart-hack to unit test run by CI 2017-10-02 15:54:23 +01:00
baldurk cd17180e64 Add docstring documentation for new PVRTC enum 2017-10-02 15:29:13 +01:00
baldurk 554116eee4 Update AMD project to match moved/renamed files 2017-10-02 15:24:27 +01:00
baldurk d0e4a81266 Tweak sleep test to be more forgiving of variances, +/- 20ms 2017-09-29 20:28:18 +01:00
Marton Tamas a018deb19f added pvrtc support 2017-09-29 12:11:16 +01:00
baldurk 2a7944fd1d When no event is found on >= search, fallback to *last* event not first. 2017-09-29 12:11:16 +01:00
baldurk 3d11c502f5 Don't use SWIG_BUILTIN_INIT for passing SWIG ptrs, use SWIG_POINTER_OWN
* The former is only needed inside tp_init of a new object. Instead when
  we want to pass in and own a pointer, we use SWIG_POINTER_OWN.
* This also removes the need to pass 'self' all the way down in
  ConvertToPy which tidies up a lot of code.
2017-09-29 12:11:15 +01:00
baldurk 0450ea1178 Remove testStruct that should never have been committed to begin with 2017-09-29 12:11:15 +01:00
baldurk 4a3af3e67f Let TypeConversion function handle checking input object type
* This means e.g. when we're converting a `bytes` we don't bail when it
  isn't a list.
2017-09-29 12:11:15 +01:00
baldurk 90aedf58e6 Don't error if calling ConvertToPyInPlace on bytes object 2017-09-29 12:11:15 +01:00
baldurk e88f00d7c7 Remove argout typemap as it's no longer needed and applies wrongly often 2017-09-29 12:11:15 +01:00
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