Commit Graph

344 Commits

Author SHA1 Message Date
baldurk c95f7c4cea Add default copy-paste handlers for RDListWidget and RDTreeWidget 2017-05-30 16:13:41 +01:00
baldurk 641eaf4665 Add option to instantly show tooltips over RDTreeWidget items 2017-05-30 14:08:44 +01:00
baldurk 2c145fc64c Add handling to remote suggestion dialog for selecting remotes 2017-05-30 13:18:57 +01:00
baldurk 6d08766792 Set ToolWindowManager::AlwaysDisplayFullTabs on texture viewer displays 2017-05-30 12:39:16 +01:00
baldurk 19218b6bef Remove hardcoded color stylesheets from shader labels in pipeline views 2017-05-29 17:52:25 +01:00
baldurk a504355900 Use QPalette::Base as background for SuggestRemoteDialog
* Removes hardcoded #fff white background which breaks on other themes.
2017-05-29 16:59:02 +01:00
baldurk 09c9ae94d2 Change the vulkan layer warning to be theme-friendly
* The hardcoded background color didn't work on light-on-dark themes,
  so instead just use the tooltip base color, and darken on hover.
2017-05-29 16:51:57 +01:00
baldurk 158bc4d583 Update code for new toolwindowmanager 2017-05-29 13:31:28 +01:00
baldurk ec4899ec72 Default current view in buffer viewer to VS In. 2017-05-19 16:24:43 +01:00
baldurk 79a61c5700 Disallow docked panels in a shader viewer from becoming float windows 2017-05-19 14:44:32 +01:00
baldurk a8a7e32cc0 Set reasonable bounds and steps for projection matrix guess controls 2017-05-19 14:41:42 +01:00
baldurk f6cef9ea4a Don't setFont(Consolas) - it's windows only. Fix monospace for scintilla 2017-05-17 15:55:42 +01:00
baldurk f8d10850f8 Fix ambiguous QVariant casts from uint64_t on linux 2017-05-17 13:59:17 +01:00
baldurk 9831a8eb24 Fix compile error comparing enums 2017-05-17 13:20:51 +01:00
baldurk 5b5e30cf54 Add HTML pipeline export for qrenderdoc 2017-05-15 10:11:56 +01:00
baldurk a6c77b5dee Give little tag structs unique names so we don't violate the ODR 2017-05-15 10:11:56 +01:00
baldurk 5986f209e1 Use Formatter::Format for formatting hex numbers 2017-05-15 10:11:55 +01:00
baldurk 08fa2ec411 Fix formatting of blend factor in pipeline state 2017-05-15 10:11:55 +01:00
baldurk 870f0cc166 Filename filters should be translated 2017-05-15 10:11:55 +01:00
baldurk 505dacfd21 Fix incorrect array index 2017-05-10 18:51:32 +01:00
baldurk f277e06ba0 Show the row offset control in the raw buffer viewer too 2017-05-10 18:10:23 +01:00
baldurk 3bd6adddc8 Implement right-click-to-toggle on channels buttons 2017-05-10 17:20:40 +01:00
baldurk f8bf45fa47 Fix sizing for matrix elements in buffer views 2017-05-10 17:20:39 +01:00
baldurk 7c7cd32c17 Populate the buffer format specifier with the initial format 2017-05-10 17:20:38 +01:00
baldurk 1ca55a8237 Add an optional 'rgb' specifier to colour buffer cells backgrounds
* When opening a texture as a buffer we can make use of this.
2017-05-10 17:20:37 +01:00
baldurk 6941444796 Add byte range offset/length controls to raw buffer viewer. Refs #224 2017-05-10 17:20:37 +01:00
baldurk c3e521f254 Set the tag for samplers on GL so the resource can be opened 2017-05-10 17:20:36 +01:00
baldurk 5b384f3c4a Don't hide RWs on GL if there are no subroutines 2017-05-10 17:20:35 +01:00
baldurk 886d6f608b Fix case that samplers are now "IsSRV" (renamed to IsReadOnly elsewhere) 2017-05-10 17:20:33 +01:00
baldurk 6c2f2c0401 Rename "Capture Executable" to "Launch Application" & add to window menu 2017-05-09 17:28:38 +01:00
baldurk bbff0fce1c Implement row colouring and tree colouring in event browser.
* Also do custom painting of branches to do proper full-row colouring
  instead of leaving an ugly gap around the tree controls.
2017-05-04 20:36:46 +01:00
baldurk ab432f24fc Implement the UI option for preferring monospaced font 2017-05-04 20:36:46 +01:00
baldurk 0b868e45c0 Explicitly set a fixed-width font for scintilla editors 2017-05-04 20:36:46 +01:00
baldurk ba3b76a61a Fix GL's vertex buffer columns to be consistent: Stride | Offset | Divis 2017-05-03 20:00:10 +01:00
baldurk 576edd6104 Fix handling of indices for PostVS data and draw index offset 2017-05-03 20:00:10 +01:00
baldurk ba59a28eba Fix shader label click handler - lambdas have QObject::sender() == NULL 2017-05-03 20:00:10 +01:00
baldurk a744316838 Rename overlay from 'Clipping' to 'Histogram Clipping' to clarify 2017-05-03 20:00:09 +01:00
baldurk 0e9c8127b0 Default m_TimeUnit to invalid so that UpdateDurationColumn runs 1st time 2017-05-03 20:00:09 +01:00
baldurk 0ecc6ca877 Enable QT_NO_CAST_FROM_ASCII & QT_NO_CAST_TO_ASCII
* Added a couple of utility macros to help with the conversion. lit() is
  paired with tr() for untranslated text.
* QFormatStr is more explicitly for non-textual formatting strings.
* Both are just #define'd to QStringLiteral()
2017-05-02 22:58:12 +01:00
baldurk da4813afbd Move functions in statistics viewer into class and operate on members
* This means we can translate strings in the functions via QObject::tr()
  as well as being a bit tidier
2017-05-02 22:58:11 +01:00
baldurk e5ec2c7280 Fix warning about struct initialisation 2017-04-28 19:46:17 +01:00
baldurk c05bea4563 Hook up compute thread debugging in qrenderdoc's D3D11 pipe viewer 2017-04-28 18:36:56 +01:00
baldurk 18d3eae1c8 Ensure that constant buffer views are grouped together in docking 2017-04-28 18:36:56 +01:00
baldurk e0191ccba4 Close transient log-specific windows when a log closes
* Shader viewers already close themselves, but the pixel history view,
  non-mesh buffer viewers, and constant buffer views also close.
2017-04-28 18:36:56 +01:00
baldurk f3508f57b1 Don't completely reset a constant buffer view if the vars are the same
* It's annoying to have the constant buffer view reset and collapse
  everything, especially if moving between draws where the variables are
  the same because the shader hasn't changed.
* We can just compare the previous set of variables to the new set and
  if the types and structures (member variables etc) are the same, then
  just update the values in-place.
2017-04-28 18:36:56 +01:00
baldurk f62777459b Fix index used for constant buffer slots in D3D11 pipeline viewer 2017-04-28 18:36:55 +01:00
baldurk 9e5736f03e Add context menu popup for disassembly in shader debugging 2017-04-27 19:47:50 +01:00
baldurk a7e58ae5f6 Fix a broken loop condition 2017-04-27 19:47:50 +01:00
baldurk ae50fa99ee Revamp version tagging, remove ugly suffix on git hash. Refs #571
* Tacking -official onto the git hash was a hack only needed on windows,
  and since we want more information it doesn't scale.
* Instead we track anything we need to know about the version in
  separate variables, like whether it's a stable build or a nightly/
  local build. Or if it's built by a downstream distribution then the
  version number for the downstream build.
2017-04-27 19:47:50 +01:00
baldurk 4199a857f5 Add right-click context menu to event browser with expand/collapse all 2017-04-27 19:47:50 +01:00