baldurk
bd36bccd43
Synchronise properly when passing commands to capture connection thread
2019-06-18 15:54:38 +01:00
baldurk
48cdc00b7f
Fix callback not being run for injection path. Closes #1411
2019-06-11 20:33:20 +01:00
baldurk
3d81638d06
Fix some copyright dates still referring to 2018
2019-06-07 18:54:10 +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
70007d0794
Don't consider interim position builtins to be projected/rasterized
...
* Even if the VS outputs to the position builtin, if there's a tessellation or
geometry shader consuming it that doesn't mean much.
2019-06-05 17:57:28 +01:00
baldurk
4738844122
Allow choosing activities for an android program. Closes #1387
2019-06-04 18:18:09 +01:00
baldurk
fe406b8ce9
Fix capture times not being timezone-adjusted. Closes #1393
2019-05-27 10:56:08 +01:00
baldurk
605f77217d
Don't automatically open a single capture if a dialog is open
...
* Prevents a crash if the LiveCapture window is closed while it owns a popup
dialog for e.g. saving or deleting a capture.
2019-05-27 10:21:30 +01:00
baldurk
e4333291a1
Allow using shader processing tools for custom shaders
...
* This is primarily useful for HLSL on Vulkan, but could be used with any other
combination. If multiple tools can perform the conversion, the highest
priority one is used.
2019-05-22 17:54:10 +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
55107a6144
Only display textual shader encodings for shader compile options
2019-05-22 16:08:31 +01:00
baldurk
807345fd0f
Add auto-detection for dxc as a shader processing tool
2019-05-22 14:16:02 +01:00
baldurk
69e4be52cf
Display bounding box data in mesh view camera panel
...
* This isn't the best place for it but it makes the most sense for now.
2019-05-22 13:57:23 +01:00
baldurk
074070b1cf
Only unproject position attributes that output a position. Closes #1363
...
* If we select a UV attribute to draw as position we don't want to unproject it
for display, just treat it as we do any normal attribute.
2019-05-22 13:38:20 +01:00
baldurk
467dd5e808
Fix calculation of bounding boxes for non-4 component attributes
...
* If we only have 3 or 2 components, set the remaining bounding box values to 0
so they aren't set at +/- FLT_MAX.
2019-05-22 12:40:56 +01:00
baldurk
dd77b8a2b6
Fix order-of-operations, update position/secondary columns first
...
* We need to have the correct position and secondary columns before updating the
mesh configuration that references them.
2019-05-22 12:40:19 +01:00
baldurk
05f044016b
Don't call QObject::connect for a NULL model
2019-05-22 11:33:09 +01:00
baldurk
943a790319
Fix a crash when resizing a header view with all sections hidden
2019-05-22 10:53:52 +01:00
baldurk
775fa9b635
Disconnect item model before deleting RDTreeWidget/RDTreeView
...
* This avoids odd races where some events might be fired mid-destruction and
encounter the item model in an undefined state.
2019-05-21 13:58:38 +01:00
baldurk
c83a087400
Don't pass negative firstMip/firstSlice
...
* These can be -1 to indicate that all mips/slices are available - so pass 0 in
that case.
2019-05-21 13:29:43 +01:00
baldurk
59ad2ebfa2
Clear stream-out state when clearing pipeline state
2019-05-20 14:16:43 +01:00
baldurk
06feec392d
Use pipeline base mip/slice binding for texture thumbnails. Closes #1327
2019-05-20 13:13:47 +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
8edc01c928
Show the object (whether a sampler or the texture) in GL's sampler state
2019-05-17 16:32:55 +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
96cc08b960
Rename 'show disabled' button to 'show unused' as it is clearer
...
* Bindings that are unused aren't disabled - they may in fact be explicitly
enabled - but they are unused by the pipeline which is why they're hidden.
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
c8a518f05c
Refactor rdcstr with small-string and literal-string optimisations
...
* rdcstr no longer inherits from rdcarray, it implements all functionality
itself.
* There are now three representations:
- Heap-allocated, same as how rdcarray behaves.
- Local-allocated, for small strings we store them in a union array.
- Compile-time literal, only created from user-defined literals.
* The main observation is that a lot of RenderDoc's strings are compile-time
literals either from struct names, member names, or stringified enum values.
Storing these directly and allowing them to be moved and copied quickly saves
on allocations and time. When the string is modified, it's copied to one of the other formats.
2019-05-15 14:12:17 +01:00
baldurk
4520dcbaa2
Adjust offset used in VB string if there was padding bytes
2019-05-10 23:50:32 +01:00
baldurk
ad038ff3e0
Add a log message when running as administrator
2019-05-06 12:25:31 +01:00
baldurk
63b3f3dfe9
Fix execution of set_plist_version.sh and ln on mac qmake build
2019-05-02 14:02:58 +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
b5b3e91ad5
Add a missing gap in the vulkan pipeline export
2019-04-23 15:09:40 +01:00
baldurk
e13671a72c
Add sanity check for if dock area isn't available while restoring layout
2019-04-22 18:39:53 +01:00
baldurk
11e8bdb209
Display default 'viewed as' for typeless textures. Closes #1351
...
* Typeless textures must be interpreted as some kind of format, so without a
better hint we use UNORM as a default. Ensure that this is listed explicitly
2019-04-22 18:39:52 +01:00
baldurk
2eac0ab03c
Fix inaccurate tooltip for Android SDK path
2019-04-22 18:39:52 +01:00
baldurk
870d553a38
setPixmap can clear text, when removing pixmap do so before setting text
2019-04-22 18:39:52 +01:00
Wade Brainerd
88cb468350
Fix minor omission in tooltip messages
2019-04-19 01:49:25 -07: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
2320bb5391
Pass the right MeshDataStage to HasAlignedPostVSData()
2019-04-12 16:51:35 +01:00
baldurk
de37c7d005
Check if the capture is closed while a timing request is pending
2019-04-12 15:11:26 +01:00
baldurk
cc43af3aba
When dragging the mouse on the timeline bar jump to the nearest draw
2019-04-11 13:29:11 +01:00
Matias N. Goldberg
bea9385bb4
Choose the default qmake as specified by Kits in QtCreator
...
When QtCreator is used to build a CMake script, it defaults to storing
the qmake to use in the variable "QT_QMAKE_EXECUTABLE"
(this is tweakable in Tools->Options->Kits->CMake generator)
We detect if QT_QMAKE_EXECUTABLE is already defined and if so, use that
setting. Otherwise use the previous default (which is "qmake")
Why this change? A user may have several Qt versions installed, and
QtCreator supports managing between them via the IDE.
Without this change the user will change between kits in the IDE but
Renderdoc will still use the default qmake.
This is problematic in Linux systems because the Qt version installed
via the Qt installer is often more up to date than the distro-provided
one
2019-04-10 08:04:12 -07:00
Matias N. Goldberg
cc180e383a
Add support for Ninja generator
...
Fixes baldurk/renderdoc#1126
2019-04-10 08:02:53 -07:00
baldurk
2ddf3b7adf
Auto-fit the WASD camera to the bounding box after switching
...
* We do the same for the arcball, there's no reason the flycam should default to
the origin for vertex inputs
2019-04-09 11:09:22 +01:00
baldurk
ee76ed7a4c
Sanitise []s out of vertex attribute names when opening buffer viewer
2019-04-05 17:16:16 +01:00
baldurk
13c9718858
Preserve expansion when changing events in vulkan pipeline state view
2019-04-05 13:25:28 +01:00
baldurk
4311b35038
Tidy up RDTreeView expansion handling
2019-04-05 13:22:33 +01:00
baldurk
f256218e17
Pass bindless feedback data to UI through vulkan pipeline state
...
* Each binding element within an arrayed descriptor has a bool indicating if
it's dynamically used or not (which will be set to true if the feedback isn't
available). Each descriptor has a uint32_t indicating how many elements are
dynamically used - which is useful for the UI to hide the root of an array
that has no used elements, or to heuristically decide whether to expand or
elide the contents.
2019-04-05 09:19:22 +01:00