baldurk
9e5cfa8b96
Add safety to satisfy Coverity on some errors that are likely impossible
...
* Reported by Coverity Scan
2017-11-22 19:11:14 +00:00
baldurk
25ea14c965
Fix possible division by zero in edge cases
...
* Reported by Coverity Scan
2017-11-22 12:05:59 +00:00
baldurk
7ec2c79e86
Fix conditional branches on 'constant' values
...
* Reported by Coverity Scan
2017-11-22 11:59:18 +00:00
baldurk
4c67de2995
Fix copy-paste errors reported by Coverity Scan
2017-11-22 11:50:37 +00:00
baldurk
c860d8baa3
Fix uninitialized variable warnings from static analysis
...
* Reported by Coverity Scan
2017-11-22 11:31:07 +00:00
baldurk
a738c7726a
Compile fixes on linux
2017-11-21 22:32:39 +00:00
baldurk
e0fe401ca5
Add extra elements to pipeline viewer to display hidden state objects
...
* For example state objects on D3D11, or render pass on Vulkan.
* These are all properly resource-linked.
2017-11-21 19:10:35 +00:00
baldurk
b030ae5bd7
Fix possible crash with pixel history if window is closed early
2017-11-20 20:01:03 +00:00
baldurk
6429d47ee8
Use bindpoint mapping to look up matching shader resources on D3D11
2017-11-20 20:01:02 +00:00
baldurk
657c343ac8
Support multi-line input in the python shell
2017-11-20 20:01:02 +00:00
baldurk
31b7662db1
Fix adding empty tree widget items in performance counter selection
2017-11-20 20:01:01 +00:00
Cory Bloor
58b628ee8b
Fix unused variables
...
In almost all cases these can be removed. The only exception is in
ShaderViewer.cpp, where regIdx should have been used.
2017-11-18 00:17:06 +01:00
baldurk
734ad2fbd9
Batch and sort updates to related resources
2017-11-17 17:45:27 +00:00
baldurk
e790555914
Fix another case with not enough column data and protect against crashes
2017-11-17 17:06:51 +00:00
baldurk
0e3cd3d575
Clear timeline bar current state when closing capture
2017-11-17 16:33:06 +00:00
baldurk
016bc29609
Add a tool menu item that will recompress a capture file
2017-11-17 16:33:05 +00:00
baldurk
d206a012f3
Fix incorrect data-to-column count when adding data to treewidget
...
* We also add an error in case it happens again.
2017-11-17 16:33:00 +00:00
baldurk
4a4089f316
Add generic user-provided notes to save along with the capture.
...
* In future one of the notes items would be for gathered hardware info.
Not automatically, but with one button press the full configuration
can be embedded.
2017-11-17 16:31:03 +00:00
baldurk
19974e1771
Move bookmark storage centrally and save it with capture. Refs #501
2017-11-17 16:31:03 +00:00
baldurk
c34d4f6122
Add Ctrl+F4 as an alternative shortcut for closing the capture
...
* Hopefully this is less muscle-memoried than Ctrl+W as 'close tab'.
2017-11-17 16:31:02 +00:00
baldurk
c00a6ca8ef
Add notion of UI modifications to a capture, saved in .rdc sections
2017-11-17 16:31:01 +00:00
baldurk
bb6452c334
Expand IStackResolver into ICaptureAccess to allow section read/write
2017-11-17 16:31:01 +00:00
baldurk
33ff48811b
Normalise terminology in UI code - don't call captures 'logs'
...
* Log is an overloaded term since it can also mean the debug log. We now
consistently refer to capture files as capture files or just captures
for short. The log is just for log messages and diagnostics.
* The user-facing UI was mostly already consistent, but many of the
public interfaces exposed to python needed to be renamed, and it made
more sense just to make everything consistent.
2017-11-17 16:30:57 +00:00
baldurk
200f0799a4
Generate clickable links to resource inspector in RDTreeWidget
2017-11-17 16:30:56 +00:00
baldurk
1776b4e6c0
Declare ResourceId Qt metatype in public header so it's QVariant'able
2017-11-17 16:30:55 +00:00
baldurk
25de6726f6
Add some cross-linking for panels that view a single resource
...
* We add a button with a link icon to indicate that it goes to the
resource details. We'll re-use the crosshair as a visual metaphor for
any interactive widget that goes to the resource inspector.
* To remove any possible confusion, we change the icon for the texture
list and locked tabs in the texture viewer to not include the link.
2017-11-17 16:30:54 +00:00
baldurk
2ac0802b10
When a custom name is changed, refresh the UI to propagate it properly
2017-11-17 16:30:54 +00:00
baldurk
7c8628b237
Centralise resource naming with capture context to allow customisation
...
* We remove the now unneeded name fields in buffer/texture descriptions
and some of the pipeline state structs.
* A single function will give the human-readable name for a resource id.
This will look up a custom set of renames, on top of the names from
the resource descriptions.
2017-11-17 16:30:53 +00:00
baldurk
d009ed3b30
Add a resource inspector window for viewing resource details
2017-11-17 16:30:52 +00:00
baldurk
bace05d926
Split out code to populate RDTreeWidget with structured data
2017-11-17 16:30:51 +00:00
baldurk
60e530de88
Split out utility function to group together resource usage events
2017-11-17 16:30:51 +00:00
baldurk
152abc501a
Fetch structured file on capture load so it's available persistently
2017-11-17 16:30:50 +00:00
baldurk
8997cb9f07
Fix copy-paste error that searched ReadOnlyResources array for UAVs.
2017-11-17 16:30:48 +00:00
baldurk
004514e556
Give a little more room to pixel history when displaying it
2017-11-10 18:36:11 +00:00
baldurk
2f02f2159e
Fix some margins/spacings to be more consistent across the UI
2017-11-10 18:36:10 +00:00
baldurk
0dfae4d1c5
Remove Ctrl+W for closing captures, easily confused with close tab
...
* Whether there's a sensible way to define a tab closing shortcut is
unclear at the moment - there isn't a single set of tabs, so just
closing the most recently highlighted panel could be quite
unintuitive.
2017-11-10 18:36:09 +00:00
baldurk
82e1218b62
Defer loading .rdc from drag & drop, to unblock the calling application
2017-11-10 18:36:08 +00:00
baldurk
136909eaad
Raise capture dialog when an .exe is dropped on the window
2017-11-10 18:36:08 +00:00
baldurk
9cbff34d95
By default don't have any pixel selected in texture viewer
2017-11-10 18:36:07 +00:00
baldurk
d97f259fd5
Use case-insensitive comparison for process injection filter
2017-11-10 18:36:06 +00:00
baldurk
805f01244c
Remove size policy causing problems on buffer view's format specifier
2017-11-10 18:36:06 +00:00
baldurk
8133188a4c
Make mesh viewer more robust if no ibuffer is bound on indexed draw
2017-11-10 18:36:05 +00:00
baldurk
988121ee65
Display generic mesh input attrs, and add ---s for out of bounds access
2017-11-10 18:36:04 +00:00
baldurk
3c2a486d6a
Use application-level event filter for handling shortcut redirects
...
* If we just filter the main window, it won't properly pick up shortcuts
used in floating windows.
2017-11-10 18:36:03 +00:00
baldurk
de452da804
Update picked pixel values when changing overlays
...
* This accounts for e.g. quad overdraw where the picked pixel value is
affected.
2017-11-10 13:21:19 +00:00
baldurk
cac4c7f100
Locate RDTableView even if it's a parent in slot functions
...
* These slots are called on the item selection view, so the RDTableView
is actually the sender's parent.
2017-11-10 13:17:11 +00:00
baldurk
954a11de89
Implement shutting down individual replay outputs
...
* This means e.g. that if the mesh output view gets closed, we don't
keep it around internally and keep calling InitPostVSBuffers for it.
2017-11-10 12:22:13 +00:00
baldurk
241b8f4404
Clarify the draw range options (this inst vs. all inst vs. whole pass)
2017-11-10 12:10:02 +00:00
baldurk
5ac10b9406
Use structured data exposed from replay controller to document API calls
2017-11-08 18:24:23 +00:00
baldurk
b992e95f94
Update replay proxy to use new serialisation mechanism
2017-11-07 19:30:36 +00:00