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
baldurk
e18d5349ce
Connect up cancel button in counter selection dialog
2017-08-24 15:00:06 +01:00
baldurk
3650f36cbf
Use time unit configured for event browser (currently) for time values
2017-08-24 15:00:06 +01:00
baldurk
15ecaf167c
Select rows at once in perf viewer, and add copy-paste handler
2017-08-24 15:00:05 +01:00
baldurk
43a4cb5818
Disabling edit triggers on results view, add double click to jump to EID
2017-08-24 15:00:04 +01:00
baldurk
74950614a2
Use Title Case for performance counter viewer window title
2017-08-24 15:00:04 +01:00
baldurk
ca04122d64
Resize columns to fit contents after setting the values
2017-08-24 15:00:03 +01:00
baldurk
bf060cfa24
Use spacer to left-align capture counters button
2017-08-24 15:00:02 +01:00
baldurk
9c948173c2
Recognise and add counter viewer as builtin window
...
* This means it's included in layouts when saved/restored
2017-08-24 15:00:02 +01:00
baldurk
42435df93a
Don't allow timing while no capture is loaded
2017-08-24 15:00:01 +01:00
Matthäus G. Chajdas
8478bfbb52
Address review feedback.
2017-08-24 13:39:11 +01:00
Matthäus G. Chajdas
4d25394c0b
Implement loading/saving in the performance counter selection.
2017-08-24 13:21:06 +01:00
Matthäus G. Chajdas
b39844bb59
Hook up the counter capture and result display.
2017-08-24 13:21:04 +01:00
Matthäus G. Chajdas
03343239c7
Implement a Performance Counter Viewer pane, hook up selection dialog
2017-08-24 13:21:03 +01:00
Matthäus G. Chajdas
ba4c9d6837
Prepare everything for the performance counter viewer window.
2017-08-24 13:21:02 +01:00
Matthäus G. Chajdas
29376f34cc
Add a performance counter selection dialog.
2017-08-24 13:21:01 +01:00
baldurk
40a0272a3e
Remove use of bool32 replay API type&optimise mem layout in some structs
2017-08-24 10:44:45 +01:00
baldurk
e85c8d19bf
Combine 'special' with 'specialFormat' as single resource format type
...
* There was no good reason to have a flag indicating if the special
format was valid or not. Now it's a single enum, with a value
'Regular' indicating that the compCount/compWidth/compType fully
describe the format itself.
* This makes code patterns easier as you no longer need to check for
special then check for specialFormat, you can just test the type
directly.
2017-08-24 10:37:16 +01:00
baldurk
b55ff14242
Use nested ResourceFormat in MeshFormat struct.
...
* The old C# interop didn't support this for structs going from the UI
to the core module.
2017-08-21 18:14:44 +01:00
baldurk
1b88a39339
Optimise tree widget clearing and child adding by batching updates
...
* This takes a nice chunk of time off the pipeline state view in
particular when changing between events.
2017-08-21 17:14:21 +01:00
baldurk
43ac48a493
Don't use event browser as area reference if it's not visible.
...
* Fixes a crash opening the API inspector if the event browser was
closed.
2017-08-21 15:43:20 +01:00
baldurk
9b4ee72af6
Pass pipeline state around by reference instead of copying by value
2017-08-18 19:37:18 +01:00
baldurk
2b8b101fa5
Make sure QVariant is available before including renderdoc_replay.h
2017-08-18 19:37:17 +01:00
baldurk
981436b75f
Don't pass around string name of ResourceFormat, request it when needed
2017-08-18 19:37:16 +01:00
baldurk
4c24b0f28f
Remove use of ToQStr to convert rdctype::str to QString
2017-08-18 14:13:22 +01:00
baldurk
2291a92302
Fix format string
2017-08-17 13:00:41 +01:00
baldurk
ef84f494a2
Add a macro that enables qt-compatibility in the renderdoc replay API
...
* This will be used to remove the ToQStr everywhere (where it's not
used for actual stringification of enums/structs)
2017-08-16 18:28:11 +01:00
baldurk
cfd816d7f3
Enable RDStyle by default, add style selection in the settings dialog
2017-08-16 17:39:37 +01:00
baldurk
b70e897838
Change workaround for visual assist bug with large raw strings in macros
...
* The bug seems to happen if two raw strings concatenated together are
large enough, so instead we pass them as separate parameters to a
different macro then concatenate them inside the macro.
2017-08-16 16:29:56 +01:00