Marton Tamas
a018deb19f
added pvrtc support
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
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
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
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
bf3214e8a2
Don't display a register/slot index for built-in shader variables
2017-09-19 17:28:12 +01:00
Matthäus G. Chajdas
cad64db864
Use the correct role instead of a magic number.
2017-09-15 12:18:22 -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
4e092940fc
Fix formatting of string to not append an int interpreted as a QChar
2017-09-13 14:49:42 +01:00
baldurk
aabea30012
Add alpha2coverage to VK state view, move it & alpha2one to MSAA group
2017-09-13 14:24:48 +01:00
baldurk
7259f9a04a
Check samplers array for resources in descriptor sets too
2017-09-13 14:16:29 +01:00
baldurk
cb644313db
Don't select unused bindings over a valid bind in vk pipeline state
...
* If there's a variable which is unused and has no binding declared, it
will be sorted to the end of the list and given a binding of 0. We
don't want to let this override a valid binding for 0, so make sure we
prioritise any variable which is marked as used over one that is
unused.
2017-09-13 14:16:15 +01:00
baldurk
ac62a124a5
Don't try and look up the descriptor for push constants in pipe export
2017-09-13 12:30:38 +01:00
baldurk
329f06eb50
Immediately delete any open LiveCapture windows when closing
2017-09-13 12:30:37 +01:00
baldurk
80ec87fdd2
Pass -rdynamic to qrenderdoc link, ensures replay marker sym is exported
2017-09-11 20:23:56 +01:00
baldurk
3b02ea0a3b
Turn off tracing after execution finishes
...
* This means the tracing isn't still lingering around when we shutdown
and the context is destroyed.
2017-09-11 20:23:55 +01:00
Matthäus G. Chajdas
25fc6550bb
Remove placeholder items.
2017-09-11 03:44:32 -07:00
baldurk
82a0e055ba
Change how replay programs are identified, from filename to sym export
...
* Instead of checking on the filename, we look for a specially named
exported symbol somewhere in a module that's already loaded.
* This allows us to mark the python module as a replay program, so if
it's loaded into the python interpreter it will be able to use the
replay API.
2017-08-31 18:34:19 +01:00
baldurk
fbd1c40654
Add python typemap handling for rdctype::pair
2017-08-31 18:34:19 +01:00
baldurk
b1031c8036
Remove samplers from ReadOnlyResources array, put them in their own list
2017-08-31 18:34:17 +01:00
baldurk
01b1260734
Make sure to refresh model if only children were added
2017-08-31 18:34:16 +01:00
baldurk
0faf0931c2
Ditch D3D11's anomalous identity bindpoint mapping for proper handling
2017-08-31 18:34:00 +01:00
baldurk
346419f7a6
Change compile flags from uint32_t to string key/value pairs
...
* For D3D this is overkill as we just stuff the uint32_t flags into a
string. However for SPIR-V this will let us store the parameters from
an OpModuleProcessed.
2017-08-30 11:56:42 +01:00
baldurk
c17d4c7869
Fix texture saving not propagating the right settings
2017-08-29 13:29:25 +01:00
baldurk
24518e086c
Set basevertex to 0 when calculating column data width
2017-08-28 18:50:18 +01:00
baldurk
d68f00ca72
Reset hover index when widget is cleared, don't leave it to be stale
2017-08-28 18:50:18 +01:00
baldurk
00e06d8ff1
Make display rendering colours theme-aware.
...
* In particular this removes hard-coded checkerboard colours that don't
look right on dark themes.
2017-08-28 18:50:17 +01:00
baldurk
f295df15f4
Add missing override specifier
2017-08-24 22:38:16 +01:00
baldurk
2a0fac1ad6
Compile fixes on linux
2017-08-24 19:15:28 +01:00
baldurk
9fabf709ff
Add checkboxes for counter groups to allow enable/disabling in batch
2017-08-24 17:26:41 +01:00
baldurk
c0065a7e58
Add support for indeterminate checkboxes in custom style
2017-08-24 17:25:47 +01:00
baldurk
c7265b1825
Allow sorting and moving columns in counter results.
...
* We do a custom sort so that it's always in the right order even if
the data isn't formatted exactly as a number.
2017-08-24 16:33:42 +01:00
baldurk
b10a8ab0a5
Tweak spacing/margins a bit
2017-08-24 16:33:41 +01:00
baldurk
371b3b3174
Change to RDTreeWidget and add context menu with expand/collapse all
2017-08-24 16:33:41 +01:00
baldurk
38fcc87943
Add custom RDStyle rendering of view item checkmark indicators
2017-08-24 16:33:40 +01:00
baldurk
5619ed66b4
Fix RDTreeWidget to allow for checkable items
2017-08-24 16:33:39 +01:00
baldurk
81ec99b58a
Don't crash in data() if no data has ever been set. Allow adding columns
2017-08-24 16:04:26 +01:00
baldurk
c0b123c575
Add itemChanged signal for RDTreeWidget
2017-08-24 16:03:49 +01:00
baldurk
1f13a1466e
Add RDTreeWidgetItemIterator for depth-first forward-only iteration
2017-08-24 16:03:01 +01:00
baldurk
760c04844a
Add CSV export button to counter viewer
2017-08-24 15:00:12 +01:00
baldurk
9c4aa3a50a
Bind to clicked not pressed (clicked fires too early, before mouseup)
2017-08-24 15:00:11 +01:00
baldurk
e2be87cd0f
Remove extra frame border around counter viewer
2017-08-24 15:00:10 +01:00
baldurk
5fdf959077
Double clicking on the selected counter will reveal it in the tree
2017-08-24 15:00:10 +01:00
baldurk
0ea91f2861
Change counter description on selection, not on hover
2017-08-24 15:00:09 +01:00
baldurk
ace9bed79b
Pass selected counters back into selection dialog
...
* This means that each time you open the dialog you don't start with an
empty set, instead you start with the set of counters you had
previously selected.
2017-08-24 15:00:09 +01:00
baldurk
1085c23d4f
Don't highlight sections in horizontal header on counter viewer
2017-08-24 15:00:08 +01:00
baldurk
533a7be348
Use Formatter for float-formatting preferences
2017-08-24 15:00:07 +01:00