Commit Graph

2197 Commits

Author SHA1 Message Date
Mikko Rasa 19eb9bec34 Refactor drawing of lines in TimelineBar
They're now drawn as CE_StyledFrame controls, with either HLine or VLine
shape as appropriate for the orientation of the line.  This will go into
RDStyle when the light or dark UI theme is selected, allowing appropriate
colors to be used.
2021-02-08 11:43:37 +00:00
Mikko Rasa fa674a59b6 Consistently use outlineBrush() for drawing borders 2021-02-08 11:43:37 +00:00
baldurk 76fabedbe6 Fix false positive matching @EID on text containing foo@2x.png 2021-01-28 12:01:37 +00:00
baldurk 40b86b63fb Update code for new SSL libraries in new Qt version 2021-01-27 17:06:09 +00:00
baldurk f460d79968 Check for @ when initialising rich resource text
* This is used for event linking
2021-01-27 16:05:04 +00:00
baldurk 506f941a14 Don't set invalid size as minimum size on labels, set 0,0 2021-01-27 16:05:03 +00:00
baldurk 4d16c3e44c Add function to close top level windows to MiniQtHelper 2021-01-27 16:05:03 +00:00
baldurk 3f637e0d9b Link to renderdoc-contrib repository 2021-01-27 12:58:51 +00:00
baldurk 29c5965599 Update some missing entries and comments from custom shader snippets 2021-01-27 12:49:36 +00:00
baldurk 1c37bfa02e Fix painting issues when scrolling with pinned columns 2021-01-25 16:14:03 +00:00
baldurk e6601672ec Delete net worker when net manager thread completes 2021-01-22 14:57:48 +00:00
baldurk dae98c3547 Remove memset of struct that's no longer POD 2021-01-22 14:57:35 +00:00
baldurk ba06717842 Don't fetch resource lists for unbound shader stages
* This is a minor optimisation when there are large numbers of bound resources
  that are available (duplicated) to all shader stages. There's no point
  fetching them when there's no shader bound there.
2021-01-21 11:30:50 +00:00
baldurk a4fd53af8f Fix a crash if capture viewers are changed while processing SetEvent
* This could happen in particular now that thumbnails are capture viewers.
2021-01-21 11:28:23 +00:00
baldurk c002c71fe8 Don't display buffers as thumbnails in texture viewer
* This is a holdover from simpler binding times, these days it makes more sense
  to omit buffers than try to hold onto those bindings even when they don't
  contain textures.
2021-01-21 10:43:37 +00:00
baldurk 40f83cfbfd Fix lag in updating texture viewer display when selecting new draws 2021-01-20 17:15:34 +00:00
Marcin Ślusarz 309a08373b Put units in table header instead of each row. 2021-01-20 17:15:16 +00:00
baldurk 3d9bba65c8 Fix resizing issue with vulkan scissors display 2021-01-19 17:39:12 +00:00
baldurk 1fe92989b7 Fix aspect ratio calculation for negative viewport height 2021-01-19 17:10:09 +00:00
baldurk 2070e74cf1 Restore image auto-update on change feature
* This was apparently never ported over to Qt!
2021-01-18 13:22:36 +00:00
baldurk 03db0c480e Fix override warning 2021-01-15 21:40:24 +00:00
baldurk ee5d3f5837 Compile fix for linux 2021-01-15 19:32:41 +00:00
baldurk 3d52d5acaf Change window title to reflect development/release builds 2021-01-15 16:50:48 +00:00
baldurk 924c513d70 Fix cases where empty-range ellision in D3D12 pipeline state breaks
* We can't assume ranges in root signature elements map to shader binding
  arrays, there is a many:many relationship (one range can have multiple
  elements, or only part of an array, one array can have multiple ranges).
2021-01-15 14:57:34 +00:00
baldurk 6d1e37de3a Display bind array index in register name on D3D12 pipeline state 2021-01-15 14:14:50 +00:00
baldurk 1ce0958398 Add helper for setting images in labels 2021-01-15 12:36:14 +00:00
baldurk 99725b1dc4 Use devicePixelRatioF to calculate texture viewer coords. Closes #2148 2021-01-14 12:03:07 +00:00
baldurk 026da176bb Update copyright years to 2021 2021-01-13 13:56:10 +00:00
baldurk fbb17becf9 Only display base filename in loading progress dialog, not whole path 2021-01-13 12:50:34 +00:00
baldurk b6462b19a9 When flow layout hasn't been visible, be conservative with its size
* Because the flow layout adjusts to its available size, we instead set it to
  minimum size until it's first laid out. Otherwise it can get unreasonably
  sized.
2021-01-11 13:58:20 +00:00
baldurk 441be22410 Override QTreeView::moveCursor to fix scrollbar behaviour. Closes #2144
* This prevents SH_ItemView_ArrowKeysNavigateIntoChildren from causing left-move
  from an expanded node to jump immediately to its parent instead of collapsing
  it when the scrollbar is not leftmost
2021-01-11 11:45:18 +00:00
baldurk b0f07dfee4 Fix some style issues with new Qt versions 2021-01-08 15:39:02 +00:00
baldurk e970ee0e33 Fix issue with clamped length with byte offset in buffer viewer 2021-01-06 16:58:43 +00:00
baldurk 4f7abcd488 Remove unneeded window attribute in custom paint widget
* This was having some unpleasant knock-on effects in Qt that caused other
  controls in the panels to fail to render properly.
2021-01-06 16:58:43 +00:00
baldurk 0e60918e4d Combine/ignore the same usage from the same event
* This can happen if the same resource is used in a barrier more than once (e.g.
  multiple subresources)
2021-01-06 16:58:43 +00:00
baldurk 5e92bff7ee When build is invoked with ninja, build parallel over number of CPUs
* If we invoke 'make' on its own under a ninja build, it won't be parallel by
  default which makes the build a lot slower than it has to be.
2021-01-05 18:26:27 +00:00
Aliya Pazylbekova c1ecd9d375 Some GGP modifications
qrenderdoc/Code/CaptureContext.cpp
- Adds GGP windowing system

renderdoc/driver/ihv/amd/amd_counters.cpp
- Enables AMD counters

renderdoc/driver/vulkan/vk_serialise.cpp
- Handling VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP in pNext
for vkQueuePresentKHR

renderdoc/os/posix/ggp/ggp_callstack.cpp
- Check that the file was opened
2020-12-25 10:32:22 +00:00
baldurk fd1b051d2c Add helper for selecting sample mask, which varies in location by API 2020-12-18 14:05:54 +00:00
baldurk 674d11fdda Use RichResourceText system to linkify EID links with format @123 2020-12-18 13:42:04 +00:00
baldurk eabc6990b0 Don't try to always read 4 components of data from output. Closes #2119 2020-12-17 22:23:34 +00:00
baldurk 7c35bdb174 Omit large ranges of empty resources in arrays in D3D12 pipeline state 2020-12-17 15:20:50 +00:00
baldurk f3b66b0112 Only refresh texture list if resource renames changed
* Otherwise the texture list doesn't change when selecting events.
2020-12-17 15:20:32 +00:00
baldurk 47571c6b92 CPU writes should be treated as writes in the timeline bar 2020-12-17 12:22:00 +00:00
baldurk 539ea53b3c Fix python reference in docstring 2020-12-16 00:27:41 +00:00
baldurk 3aaccc4fda Use rdcfixedarray in parameters for functions instead of C arrays
* This maps better to tuples in python
2020-12-15 22:52:38 +00:00
baldurk 2b0f9c2eba Use richtext representation for ResourceId when converting to string 2020-12-15 22:52:38 +00:00
baldurk d727feb806 Improve handling of multiline richresourcetext documents 2020-12-15 22:52:38 +00:00
baldurk 143f66478a Support converting an rdcarray pointer to rdcarray
* This means if there's no intervening list() it still works, e.g. passing an
  rdcarray property to a function paramater that expects an rdcarray in python.
2020-12-15 22:52:38 +00:00
baldurk 0163328884 Fix error messages not being printed from async python callbacks 2020-12-15 22:52:38 +00:00
baldurk 4bc795c344 Fix DumpObject to work with lists 2020-12-15 22:52:38 +00:00