baldurk
9d3f7169ed
Add thumbnails to texture tooltips in pipeline state view
...
* If there would be no tooltip otherwise, it just shows the thumbnail. Otherwise
any tooltip text (like view parameters or image layout) is displayed below the
thumbnail
2021-04-20 13:51:41 +01:00
baldurk
260583b805
Move tooltip handling from RDTreeWidget to RDTreeView
2021-04-20 13:51:41 +01:00
baldurk
9cb5e9d1b6
Update toolwindowmanager to 4837f70a84
2021-04-20 13:51:41 +01:00
baldurk
270d4e5b07
Add resource usage entries into context menu in pipeline state viewer
2021-04-19 16:44:19 +01:00
baldurk
12d9b4f850
Add copy icon to treeview context menu
2021-04-19 15:30:19 +01:00
baldurk
da66701649
Don't mark bufferless constant buffers as empty due to stage masks
...
* These aren't present for push constants etc, so we ignore it
2021-04-16 13:55:38 +01:00
baldurk
eac94b74f6
Allow cbuffer previewer to apply custom format to non-buffer-backed CBs
...
* This in particular means push constants and specialization constants on vulkan
but also applies to root-value cbuffers on D3D12.
* GL bare uniforms are not feasible to expose in this way.
2021-04-14 18:59:12 +01:00
baldurk
6271f010cc
Don't hardcode font size/width calculating margin sizes. Closes #2227
2021-04-12 13:04:02 +01:00
baldurk
95e6a4a971
Respect font scale for fixed-width fonts
2021-04-12 13:04:02 +01:00
baldurk
34ea6529c9
Account for rootIsDecorated when painting tree lines in RDTreeView
2021-04-12 13:04:02 +01:00
baldurk
6a6b7f68e1
Display thumbnails for empty resources
2021-04-12 13:04:02 +01:00
baldurk
44db412b8d
Speculative workaround for QWidgetPrivate::subtractOpaqueSiblings crash
2021-03-22 18:37:10 +00:00
baldurk
61382d36a3
Don't show preserve option for alpha mapping in save dialog
2021-03-22 18:37:10 +00:00
baldurk
da288830c0
Fix display of doubles in mesh output
2021-03-22 18:37:10 +00:00
Dean Ellis
88cb0615d0
Add Support for building the Python API against Python 3.9
2021-03-22 18:22:17 +00:00
Jake Turner
faa9dbf709
Enable pyrenderdoc for Apple
...
It was previously marked as disabled for Apple
Required to build the python modules which are used by the testing framework
Python imports .so libraries by default, change the shared library extension to .so for python modules on Apple
2021-03-14 11:17:31 +00:00
Jake Turner
9c787bd05d
Tidyup the Apple RPATH usage
...
Use @rpath for build and install to reference dynamic libraries
Set RPATH to "@executable_path/../lib" when linking
2021-03-14 11:17:31 +00:00
Jake Turner
769fade4cf
Fixed small typo "htat" -> "that"
2021-03-14 11:17:31 +00:00
baldurk
cfe3374267
Reset invalid state when letting user retry adding a shader tool
2021-03-10 10:43:00 +00:00
baldurk
dce2c62bde
Fix typo in shader viewer menu item. Closes #2201
2021-03-08 16:45:05 +00:00
baldurk
527c662fb2
Only flip Y co-ordinates in texture viewer when clip origin is default
2021-03-01 11:38:29 +00:00
baldurk
d6e88ae4fa
Remove redundant callstack member in APIEvent
...
* We already link to the chunk index and the chunk metadata contains the
callstack, there's no need for a duplicate copy when there may be many
APIEvents in a capture
2021-02-24 13:52:07 +00:00
baldurk
728fa34acc
Move branch colouring to RDTreeView
2021-02-24 13:52:07 +00:00
baldurk
30dd13feb8
Pull index byte width and topology out of drawcall state
...
* These are treated as state on most APIs, only GL treats it as a drawcall
parameter.
2021-02-24 13:52:07 +00:00
baldurk
fd14fdbfa8
Add missing column of data to constant buffer array parent
2021-02-22 16:47:21 +00:00
baldurk
c6be4f7834
Fix highlighting of active thumbnail preview
...
* This was broken in fa674a59b6 where the style
overrode the widget's foreground role. Changed to only use the custom
light/dark role when the desired role is Text (or WindowText).
2021-02-22 12:38:43 +00:00
baldurk
0f07545151
Add context menu item for toggling bookmarks on events
2021-02-18 15:41:55 +00:00
baldurk
d66133d610
Fix handling of buffer length & offset in buffer viewer
...
* Previously the length was always being treated as buffer-relative instead of
offset-relative.
2021-02-15 12:56:21 +00:00
baldurk
907ce48f7a
Display message when no vertices or instances are present in drawcall
2021-02-15 12:56:21 +00:00
baldurk
0e86f0e320
Fix overflow setting rowOffset when numRows is 0
2021-02-15 12:56:21 +00:00
baldurk
b31d7d94e8
An instanced draw with no instances has no vertices even if numIndices>0
...
* If we show this with vertex input data in the mesh viewer that's quite
confusing when the draw is degenerate.
2021-02-15 12:56:21 +00:00
baldurk
218078f75f
Identify stencil-only GL framebuffer attachments correctly
2021-02-15 10:30:37 +00:00
baldurk
9f6eda6e12
Don't check Qt version if not building qrenderdoc
2021-02-14 15:45:57 +00:00
baldurk
9290ed926b
Display VRS state in D3D12 pipeline state viewer
2021-02-10 14:20:46 +00:00
baldurk
4c3cf74f18
Don't linkify any @123 EID text that is followed by an x
...
* This isn't something we generally want to support (@123 should be a separate
word) and it can come up with shader names like `shader@0x12345` as well as
with icon@2x.png
2021-02-08 14:05:04 +00:00
baldurk
15cbeef054
Fix offset calculation with declaring nested buffers in format string
...
* When calculating the size for a struct member we need to properly recurse
2021-02-08 14:05:04 +00:00
Mikko Rasa
69661b0cbb
Clamp the current event to the actually visible region
...
The local eidAxisRect has its left edge moved due to panning, so use the
member variable with original values instead.
2021-02-08 11:43:37 +00:00
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