baldurk
fe35c4e033
Don't multiply mesh output size by num instances twice in GL
2017-10-23 13:38:53 +01:00
Janos Pantos
faf93fa2ac
Fix reading back compressed texture data during remote replay
2017-10-23 14:28:16 +02:00
Cory Bloor
860eeace4c
Cleanup Help menu actions
2017-10-23 14:27:24 +02:00
Cory Bloor
bd994848e1
Improve docs for picking Qt version on Linux
2017-10-23 14:27:24 +02:00
Cory Bloor
2fc8475fdf
Replace "All Files (*.*)" with "All Files (*)"
...
To quote the Qt documentation for QFileDialog::setNameFilters:
> Note that the filter *.* is not portable, because the historical
> assumption that the file extension determines the file type is not
> consistent on every operating system. It is possible to have a file
> with no dot in its name (for example, Makefile). In a native Windows
> file dialog, *.* will match such files, while in other types of file
> dialogs it may not. So it is better to use * if you mean to select
> any file.
Admittedly, one of these usages is Windows-only and we are using the
native file dialog there, but we might as well be consistent.
2017-10-23 14:27:24 +02:00
Cory Bloor
405e98639f
Parse getSaveFileName filter for default file exts
...
Instead of manually specifying the default extension, just grab the
first one from each filter. We can only specify one at a time, so
update it whenever the selected filter changes.
2017-10-23 14:27:24 +02:00
Cory Bloor
427b7f8553
Revert "Set default extensions for most save files"
...
This reverts commit 6f21bacd82 .
2017-10-23 14:27:24 +02:00
michaelrgb
378d934018
Mesh Viewer: end TF if captured app already used TF on its draw call.
2017-10-12 14:52:15 -07:00
michaelrgb
3b9b455618
Resample thumbnails to fix JPEG shear distortion if(width % 4 != 0)
2017-10-11 08:01:33 -07:00
baldurk
43cdebd276
Try updating travis osx_image to fix intermittent qmake errors :(.
2017-10-11 12:13:18 +01:00
baldurk
2f72848056
Don't pass internal GL shaders through reflection queries pointlessly
...
* Intel's drivers in particular seem buggy when trying to reflect
shaders, so there's no point in reflecting shaders that aren't from
the capture as all we do is add the potential for crashes.
2017-10-11 11:26:39 +01:00
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