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
8382d3e4f1
Fix check for legacy adb devices
2019-08-07 21:45:10 +01:00
baldurk
51c15d596f
Identify image viewer use before adding API to analytics
2019-08-01 11:19:55 +01:00
baldurk
e2704fa2eb
Add an abstracted interface around android-specific handling
...
* This makes it easier to use the same kind of interface to manage other kinds
of devices.
2019-07-31 17:51:13 +01:00
baldurk
06f2e61b8f
Refactor RemoteHost to be copyable with shared storage
...
* This allows RemoteHost handles to still be valid and usable (if returning
empty data) when they are deleted/removed if the device is disconnected, as
well as providing better multi-thread access (they lock internally)
2019-07-31 17:51:12 +01:00
baldurk
dc7bf0f1fc
Don't use deprecated overload of QProcess::ExitStatus
2019-07-09 16:16:15 +01:00
baldurk
b5d10de243
Handle formatting double signature parameters
2019-07-04 12:50:30 +01:00
baldurk
039b65f89f
Add a viewer of the diagnostic log in the UI itself
2019-06-27 10:22:13 +01:00
baldurk
e525630a17
Add special resource type for A8_UNORM. Closes #1426
...
* While it's redundant this format is still valid in D3D so needs to be handled
correctly.
2019-06-25 19:08:07 +01:00
baldurk
38f0d27901
Use configure_file in CMake to force rebuild if git commit changes
...
* We also only use GIT_COMMIT_HASH where necessary to avoid rebuilding many
files for no reason, including splitting version.cpp out into a separate
project as we do with VS since otherwise changing its preprocessor defines
rebuilds the whole renderdoc project.
* At the same time, move the git hash to be internal only so we don't have to
try to link version.cpp into other projects like renderdoccmd or qrenderdoc.
2019-06-20 19:14:14 +01:00
Aliya Pazylbekova
e21ddb4877
Set analytics APIs for remote capture file and replay
...
The API used was not populated for the case of remote
capture and replay.
2019-06-20 19:13:57 +01:00
baldurk
9e09de40ce
Fix analytics tracking of capture features
...
* We want these flags to be 'sticky', not to be unset if they aren't used in a
capture.
2019-06-06 17:39:14 +01:00
baldurk
694524c7bd
Allow querying the shader encoding supported by custom shaders
...
* This is distinct from target shaders in the remote proxy case - custom shaders
are built locally.
2019-05-22 16:09:18 +01:00
baldurk
807345fd0f
Add auto-detection for dxc as a shader processing tool
2019-05-22 14:16:02 +01:00
baldurk
e48065c96b
Replace use of std::pair with rdcpair wherever possible
...
* Only remaining uses in our code is when we're interacting with std::map where
it uses std::pair internally
2019-05-17 16:32:56 +01:00
baldurk
51c50e0da3
Localise addressing mode state display for GL
...
* On GL addressing modes are called wrap modes, and the wrap value is then known
as repeat. If we don't 'localise' this then it can be confusing to show that
it is "Wrap".
2019-05-17 16:32:55 +01:00
baldurk
699f8753af
Convert ToStr, Serialise, and TypeName to use literal strings
2019-05-15 14:12:17 +01:00
baldurk
ad038ff3e0
Add a log message when running as administrator
2019-05-06 12:25:31 +01:00
baldurk
53f54ae882
Clear cached updates if the version changes some other way. Closes #1368
2019-05-01 21:11:48 +01:00
baldurk
8ffe33767c
Handle UNormSRGB in some places that were missing handling
2019-04-23 16:31:18 +01:00
baldurk
a9a64242f6
Don't crash if python output happens without a stack frame
...
* This can happen if SyntaxWarning message are printed during parsing before
execution.
2019-04-16 19:33:57 +01:00
baldurk
3d2fa8cd3e
Optimise RichResourceText to special-case for single ResourceId text
...
* Most cases don't have other text together with a ResourceId, so handle an
isolated ResourceId specially and manually render it.
* Further work - we could cache the name the same way as the RichResourceText
does. So far it doesn't seem to appear on profiling.
2019-03-29 17:48:15 +00:00
baldurk
ad6c050604
Handle displayAsHex in constant buffer preview formatter
2019-03-27 19:34:26 +00:00
baldurk
e2bb45fd8f
Restore removed LastCaptureExe saving last exe selected. Closes #1318
2019-03-25 15:12:55 +00:00
Aliya Pazylbekova
14019cf6c7
Modify "qrenderdoc --targetcontrol" command
...
Modify "qrenderdoc --targetcontrol" to accept hostname or ipv4
address.
2019-03-14 01:23:11 +00:00
baldurk
26d823905e
Allow running on Android 5.0 but with a warning that it's unsupported
...
* The apk targets api level 21 which is 5.0, so it still won't install on
anything older.
* We pop up a big warning to the user the first time they try and select such a
remote host.
2019-03-13 22:24:45 +00:00
baldurk
1dd6933328
Trim strings in structured data to a maximum of 3 lines. Closes #1298
2019-03-07 10:22:15 +00:00
baldurk
a893b48aea
Inherit font properly from itemview when painting rich resource links
...
* This fixes the links not being italic when rendering disabled resources in
pipeline state view
2019-03-05 17:01:27 +00:00
baldurk
9fc8c0bd66
Delete dangling GUIInvoke object
2019-03-01 11:34:04 +00:00
baldurk
72d3c0ee3e
Set 'pyrenderdoc' global after extension registration. Closes #1291
2019-03-01 08:32:35 +00:00
baldurk
bbdf2c1f80
Remove redundant self-assignment
2019-02-28 17:48:30 +00:00
baldurk
5a1c5e2db5
Fix extension package names being incorrect
2019-02-18 17:23:19 +00:00
baldurk
e9e42839c3
Support specifying structs in buffer formatter. Closes #805
...
* Structs and arrays-of-structs are completely flattened for the purposes of
displaying them still.
2019-02-14 12:55:44 +00:00
baldurk
bbc2f47fa8
Centralise generation of buffer format strings for struct buffers
...
* We also fix a number of issues that could cause incorrect formats to be
generated.
* Test cases added for D3D11/GL/Vulkan to test different struct types. These
aren't automated at the moment because most of the code they're testing is in
the UI itself.
2019-02-13 18:50:56 +00:00
baldurk
fe0be58908
Implement CGLPlatform using CGL and NSOpenGLContext
...
* On replay on macOS we use NSOpenGLContext so we can render to windows.
* We have two windowing systems on mac - one for Metal compatible outputs and
one for OpenGL compatible outputs.
2019-02-13 18:50:54 +00:00
Haiyu Zhen
ca54a910f5
Add --replayhost command line option for qrenderdoc
...
This allows users to specify which remote host to connect to on startup.
2019-02-07 23:46:33 +00:00
baldurk
852d345bf7
Save the queued frame capture settings with settings files
2019-02-07 15:23:07 +00:00
baldurk
fc9249842a
Correct description of float controls - min/max is for decimal places
...
* This wrongly said that it controlled the number of significant figures.
2019-02-07 15:23:07 +00:00
baldurk
fbb6b23b23
Support advanced cbuffer layouts
...
* This includes 8/16/64-bit integers, 16-bit/64-bit floats, and scalar block
packing
2019-02-07 15:23:06 +00:00
baldurk
6d07e1c42e
Add support for VK_EXT_discard_rectangles
2019-02-05 18:40:31 +00:00
baldurk
354b37be56
Add support for VK_EXT_sample_locations
2019-02-05 18:40:31 +00:00
baldurk
f20e871510
Add option to make y-flipping a per-texture state instead of global
2019-02-04 18:06:10 +00:00
baldurk
86ff87863e
Update copyright years to 2019
2019-02-01 18:32:13 +00:00
baldurk
69a76bfb41
Use ASCII name for duration column in draw list export. Refs #1246
2019-01-24 10:15:36 +00:00
baldurk
f39be022a3
Satisfy strange Qt thread-ownership requirements around QProcess objects
2019-01-11 16:03:35 +00:00
baldurk
d265a14a45
Change renderdoccmd to be a console program on windows.
...
* This means it outputs natively/properly to stdout/stderr and its output can be
redirected with pipes.
* It does mean we need to be very careful whenever it's run internally to not
pop up a command window, which happens by default.
2019-01-09 16:27:15 +00:00
baldurk
2237c241ff
Fix incorrectly named methods in ResourceFormat
...
* We try to maintain at least an internally consistent naming scheme for the
python/public interface, even if it doesn't match python naming schemes.
2019-01-03 12:22:29 +00:00
baldurk
7860bee811
Make sure to fail if errors are found in python interface method naming
2019-01-03 12:22:28 +00:00