baldurk
d48b84d8f5
Pass buffer length to format string parse, for better default format
...
* If we are only looking at a 4-byte buffer, don't use a uint4 default or it
will fail to display anything
2019-10-15 10:54:42 +01:00
baldurk
179dbb0e43
Display sample mask in D3D12 pipeline state
2019-10-14 14:06:42 +01:00
baldurk
5acb6af862
Fix some painting not reacting to different fonts correctly
2019-10-11 13:07:36 +01:00
baldurk
83c98f1ff7
Tweak rich resource text rendering to match non-rich text positioning
2019-10-11 13:07:36 +01:00
baldurk
0908588481
Don't delete capture unless it's still temporary, even if we own it
2019-10-11 13:07:36 +01:00
baldurk
8ce2ea2202
Improve calculation of histogram
...
* The histogram shouldn't be calculated as channel-wise averages, but instead by
'stacking' the channels (each channel contributes 1 to the appropriate
bucket).
* Degenerate channels (where min==max) are excluded and listed only as a single
spike, to avoid blowing out the automatic y-axis.
2019-10-10 16:48:42 +01:00
baldurk
4e6af7a47a
Don't crash if the event browser isn't open when opening a capture
2019-10-10 16:48:42 +01:00
baldurk
0d658156b3
Add a finishing dialog when recompressing a capture
2019-10-10 16:48:42 +01:00
baldurk
e9dda8343f
When deleting temp files, remove from the recent file list. Closes #1540
...
* If the UI was launched with a filename as a parameter to open the capture, it
will be added to the recent capture file list. Only later (relatively
speaking) if we make a capture connection will we realise that it is temporary
and potentially delete the file. If we do so, remove the capture from the
recent file list.
2019-10-10 16:48:42 +01:00
baldurk
a94f238e37
Ensure PersistantConfig member functions are documented
2019-10-09 10:25:49 +01:00
baldurk
e3d902e686
Don't try to set find icons if no capture is loaded
2019-09-30 16:30:40 +01:00
baldurk
ca6c6faf27
Highlight combined image/samplers to clarify sampler use. Closes #1533
...
* When the same sampler is used in multiple combined image/sampler descriptors
we only list the sampler once to avoid really verbose unnecessary rows. Use
row highlighting to indicate which sampler is used with which image, and add
it to the view details tooltip with the image layout
2019-09-30 16:30:40 +01:00
baldurk
ca9e43fd6e
Add hoverItemChanged event to RDTreeWidget
2019-09-30 13:41:14 +01:00
baldurk
94f469b361
Open capture with options should not be a top-level window
2019-09-23 13:14:28 +01:00
baldurk
aa57240d9c
Don't show individual enabled scissors if global toggle is off
2019-09-20 12:45:00 +01:00
baldurk
c67995b85a
Make it easier to run tests from within UI
2019-09-20 11:20:45 +01:00
baldurk
8cacf6927d
Handle unormten correctly
2019-09-18 17:04:10 +01:00
baldurk
62b9245215
Calculate basename by hand, for windows paths on linux
2019-09-18 11:18:28 +01:00
baldurk
c64183fbb3
Update toolwindowmanager to edce1185
2019-09-17 13:56:54 +01:00
baldurk
3005172aa5
Tweak the phrasing of crash dialog to better explain what happened
...
* In particular make it clear that crashes caught in the injected program may or
may not be a RenderDoc bug. Even if we could point the finger to a particular
DLL we can't necessarily tie that DLL to the responsibility of either us or
the application.
2019-09-17 11:43:01 +01:00
baldurk
9463cdf785
Add better error checks and race condition protection in crash handling
2019-09-16 11:18:30 +01:00
baldurk
764f294d75
Allow displaying fatal messages from android logcat
2019-09-10 13:31:56 +01:00
baldurk
54291b0e29
Fix linux compilation (again)
2019-09-07 12:06:05 +01:00
baldurk
7fe044faaf
Fix display of 64-bit integers in buffer viewer
2019-09-07 09:24:46 +01:00
baldurk
02dcd2183a
Fix linux compilation
2019-09-06 23:19:38 +01:00
baldurk
e1eaf07f2e
Display longs as hex if xlong is used
2019-09-06 22:24:56 +01:00
baldurk
a50513e561
Correctly handle long format elements
2019-09-06 22:19:28 +01:00
AJ Weeks
1961495390
Disable/enable (rather than show/hide) toggles
2019-09-05 20:33:14 +01:00
AJ Weeks
0a973130ac
Keep "Show hidden rows" text constant now that checkbox appears
2019-09-05 20:33:14 +01:00
AJ Weeks
7231de0ed0
Allow hidden errors and warnings to be shown again
...
* Fix copy paste typos (lines 322, 329)
* Allow hidden rows in Errors and Warnings tab to be made visible again
2019-09-05 20:33:14 +01:00
baldurk
878d4140c3
Fix support for checkable menu items in RDStyle
2019-09-05 11:48:48 +01:00
baldurk
6db13115a3
Fix access to array after target element has been removed
2019-09-04 16:22:29 +01:00
baldurk
6d40bbb783
Add experimental wayland support. Refs #853
...
* This is only lightly tested and may break heavily. It is disabled by default
and must be explicitly enabled.
* In particular this is only known to work for Wayland use at capture time.
Wayland on replay is still unsupported. Known issues include: EGL pbuffer
surfaces are not implemented on Wayland, Wayland cannot get window dimensions,
and there are hangs/failures with GL and vulkan presentation with Wayland.
2019-09-02 15:02:27 +01:00
baldurk
2d0b18b18b
Don't crash if shader viewer is closed while shader compilation is going
2019-09-02 12:54:08 +01:00
baldurk
e6d0c93b41
Fix wrong Qt cmake variable for qmake command being used
2019-09-02 11:37:55 +01:00
baldurk
c6dd97947b
Check that qmake runs successfully and check Qt version
2019-08-29 11:21:58 +01:00
baldurk
0d7c7eb247
Fix linux compilation
2019-08-27 19:44:29 +01:00
baldurk
80bfa1b409
Fix display of ResourceId text in log viewer
2019-08-27 18:51:57 +01:00
baldurk
21be21cb8f
RichResourceText QTextDocument should use parent widget's font
...
* Otherwise the hit-testing might be off
2019-08-27 18:51:57 +01:00
baldurk
6203909791
Expose replay options to the UI
...
* The defaults can be configured from the settings menu, and there's a new "Open
Capture with Options" menu option to open a capture with different options
temporarily.
2019-08-27 18:51:56 +01:00
baldurk
20be9f3d52
Add ReplayOptions struct to contain replay-time configuration
...
* Not currently exposed to the UI or used by the drivers, we just pass the
default object through
2019-08-27 18:51:56 +01:00
baldurk
878acd4ad9
Add a function to enumerate which GPUs are available at replay time
2019-08-27 18:51:56 +01:00
baldurk
af3c242b35
Fix signed/unsigned comparison
2019-08-26 14:52:58 +01:00
baldurk
d6289b93d0
Fix check for whether LastCaptureFilePath should be updated
2019-08-26 13:49:58 +01:00
baldurk
3b524ea7f1
Fix reflection of arrays-of-binds - textures and buffers
2019-08-26 13:22:26 +01:00
baldurk
2a8d7eddec
Set sampler name for combined image/samplers in pipeline HTML export
2019-08-23 23:41:19 +01:00
baldurk
a0bc429bef
Handle a source line corresponding to multiple instructions
...
* This can happen with inlined functions
2019-08-20 15:33:12 +01:00
baldurk
07158ad24c
Fix support for triangle fans on GL/Vulkan
2019-08-20 15:33:12 +01:00
baldurk
ee43d4377c
Account for pipeline specialisation constants when reflecting shaders
2019-08-16 17:38:35 +01:00
baldurk
ef269e2b92
Add support for VK_EXT_line_rasterization
2019-08-15 18:27:39 +01:00