baldurk
b0d9819d1e
Update plthook to latest code from original repo @ 774b270
...
* This includes several fixes notably arm/aarch64 support. Although it's
unlikely to be used in practice it's useful to be able to compile
successfully.
2017-10-24 10:48:18 +01:00
baldurk
f9cb1c68b9
Only call XCloseDisplay if xlib or xcb is enabled. Closes #782
2017-10-24 10:18:31 +01:00
baldurk
48b029ba9b
Add case handling for new debug report object types
2017-10-23 23:22:43 +01:00
baldurk
b49a8a7f91
Restore modification to vulkan.h that removes include of Xrandr.h
2017-10-23 22:18:08 +01:00
baldurk
74ccb054e0
Fill query pools with dummy data on creation. Refs #765
2017-10-23 18:02:55 +01:00
baldurk
b83daddbad
Bounds-check access to vertex buffers, in case not enough are bound.
2017-10-23 15:52:45 +01:00
baldurk
42abaf2b4f
Prefer using VK_AMD_shader_info to disassemble when available.
2017-10-23 15:05:29 +01:00
baldurk
fbf37fd201
Convert to native separators before passing filename to Win32 APIs
2017-10-23 15:01:02 +01:00
baldurk
96d8502ca4
Fix android execCommand to handle path to exe containing spaces
2017-10-23 14:12:37 +01:00
baldurk
4286588ac1
D3D11 context state is cleared before executing a command list.
...
* Not doing this could taint the state and even cause invalid read-write
conflicts to change bindings vs. what should happen, if a RT is left
bound when it shouldn't, and then an SRV is bound as NULL because it
would conflict.
2017-10-23 13:49:16 +01:00
baldurk
9a3ece6a01
Add a helper macro for obtaining renderdoc's handle from VkInstance
...
* Since other layers could wrap renderdoc has to use the dispatch table
pointer as the unique identifier for API calls, not the VkInstance
directly.
2017-10-23 13:43:38 +01:00
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