Commit Graph

492 Commits

Author SHA1 Message Date
Matthäus G. Chajdas 25fc6550bb Remove placeholder items. 2017-09-11 03:44:32 -07:00
baldurk b1031c8036 Remove samplers from ReadOnlyResources array, put them in their own list 2017-08-31 18:34:17 +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 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 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 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 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 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 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 38028b1b64 Add default initialisation for tag object, fixes a warning on gcc 2017-08-16 16:25:29 +01:00
baldurk f23adfbb41 find previous button should be left of the find next button 2017-08-15 17:36:28 +01:00
baldurk 09341a4192 Don't use pixel shader details for debugging vertex shader 2017-08-15 17:36:27 +01:00
Cody Northrop 7144ba1652 android: Rename function that pushes layer to installed application 2017-08-15 09:36:20 -07:00
Cody Northrop d5cce3e194 android: Update layer pushing dialogues for readability 2017-08-15 09:36:20 -07:00