baldurk
9610919c16
Fix copy-paste of rich resource text
...
* We need to cache to the QString text on demand, which requires a context
potentially sooner than paint/etc time.
2020-12-02 17:44:46 +00:00
baldurk
58e16414e0
Add a number of control functions to the Qt python interface
2020-11-20 17:02:33 +00:00
baldurk
d9eab23bd5
Fix clipping when rendering RichResourceText documents
2020-11-09 16:02:48 +00:00
baldurk
d397b7fdce
Fix nit-picky OSX compile error
2020-10-28 15:08:00 +00:00
baldurk
1ceeb159b7
Add lazy-populating item model for SDObjects
...
* We also add intermediate paging nodes for large arrays to ease expansions
2020-10-27 15:15:20 +00:00
baldurk
394896a3c9
Hide list of children completely in structured data
...
* This makes it easier to enforce object ownership, as well as gives us options
for e.g. generating structure data on demand lazily.
2020-10-26 10:24:47 +00:00
baldurk
7fc06ee77e
Fix rendering of selected/highlighted rich resource text
2020-10-16 16:13:30 +01:00
Kevin McCullough
e213cfafa9
Modifying the TextureList to use EventBrowser-style chooser.
2020-10-15 22:19:44 +01:00
baldurk
0c1b304917
Verify JSON documents being saved don't contain byte arrays
...
* Newer Qt versions will base64 the byte arrays even if we've already base64'd
them so they're safe. To prevent this we explicitly convert to QString
afterwards.
2020-08-28 19:06:05 +01:00
baldurk
e7657f6212
Use QTextBoundaryFinder to truncate resource names
2020-08-14 14:58:16 +01:00
baldurk
d9fc87ec2a
Do our best to determine suffix for unknown file filters. Closes #1993
...
* We work around a GNOME bug here by ignoring a selected filter if it's the
empty string. For all other unknown filters we try to determine the suffix on
the fly.
2020-08-07 16:12:29 +01:00
baldurk
e6a2b94b6f
Disallow closing progress dialogs early
...
* Normally the close button is hidden but some platforms don't allow this.
2020-07-27 16:17:13 +01:00
baldurk
bc4a803605
Add usage entries for discards. Closes #1951
2020-07-12 10:52:10 +01:00
baldurk
ebe0ab1b64
When running process as root, show error dialogs. Closes #1932
...
* Error logs are less likely to be noticed by users when things go wrong.
2020-06-08 16:01:45 +01:00
baldurk
a0a373a8e1
Fix handling of buffer truncation and zero-sized buffers
2020-05-29 17:26:29 +01:00
baldurk
a81994071f
Wait for shader viewer background debugging, add cancel button
...
* Until we properly support background debugging we need to wait for it to
complete, otherwise the user could close the window and we'd crash.
2020-05-15 20:31:42 +01:00
baldurk
90c10ea1fc
Handle boolean inputs in vulkan shader parameters
...
* We change to use VarType instead of CompType for signature parameters which
allows us to represent different types of variables beyond just
unsigned/signed integer and float.
2020-05-07 22:46:41 +01:00
Steve Karolewics
f29fe5864e
Make RichResourceTextMouseEvent only respond to left button clicks
...
Previously it prevented context menus from working when activated over
a rich resource text field.
2020-04-27 18:16:46 +01:00
baldurk
97665b2c30
Display resources in shader viewer tooltips properly
2020-04-23 19:14:09 +01:00
baldurk
f506dcf395
Add support for storage buffer access
2020-04-23 19:14:08 +01:00
baldurk
f57709366a
Truncate resource names that are unreasonably long. Closes #1832
2020-04-21 17:09:33 +01:00
baldurk
c572ad2ed8
Fix HLSL edit stub generation with system values
2020-04-20 12:00:37 +01:00
baldurk
c05dd34962
Switch back to setPointSizeF for scaling fonts
2020-02-24 18:10:55 +00:00
baldurk
21b7168d5c
Use pixel size not point size for global font scaling
2020-02-18 19:18:51 +00:00
baldurk
5e6ec417c1
Add a global font scale option in settings window
...
* This lets the user override the default application font.
* Unfortunately Qt seems to behave inconsistently with font scaling from the
system, so we take the font size initially from QApplication::font() (which
doesn't always pick up the font size) and scale from there. While this might
cause some font scaling to be lost it does mean at least we have a consistent
scale, as otherwise you get some text scaling and others not.
2020-02-13 11:01:45 +00:00
baldurk
dd3c63e8ca
Add resource usage for CPU writes to resources
2020-02-05 13:53:59 +00:00
baldurk
066de4d1d0
Fix hover line rendering for ResourceId-only rich resource text painting
2020-01-29 11:48:04 +00:00
baldurk
2916c0f9f7
Update copyright years to 2020
2020-01-06 16:20:45 +00:00
baldurk
27098f8f70
Give our threads debugger-friendly names
2019-12-19 21:50:13 +00:00
baldurk
14d01ff995
Remove support for serialising STL types, remove STL interop
2019-12-16 18:10:32 +00:00
baldurk
c4ca8cb1d1
Reduce reliance on big public headers where possible
...
* Mostly moving includes from common headers to cpp where possible, and removing
includes of the whole thing where only enums or rdcstr etc are needed.
2019-12-16 17:06:16 +00:00
baldurk
e205054317
Add UI support for GPU typed pointers in buffers
2019-11-29 13:53:44 +00:00
baldurk
b3979262a5
Replace FormatElement with ShaderConstant/ShaderVariableType
...
* FormatElement is now a static BufferFormatter class to help generate and parse
buffer formatting strings
2019-11-29 13:53:44 +00:00
baldurk
6562185e1a
When using a terminal emulator to sudo, print the command
2019-10-16 15:11:20 +01:00
baldurk
b48b3fb87e
pkexec is not a reliably graphical sudo, don't use it
2019-10-16 13:39:24 +01:00
baldurk
328666e71f
Fix clipping of rendered rich resource text
2019-10-15 15:04:56 +01:00
baldurk
83c98f1ff7
Tweak rich resource text rendering to match non-rich text positioning
2019-10-11 13:07:36 +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
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
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
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
8ffe33767c
Handle UNormSRGB in some places that were missing handling
2019-04-23 16:31:18 +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
e2bb45fd8f
Restore removed LastCaptureExe saving last exe selected. Closes #1318
2019-03-25 15:12:55 +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
86ff87863e
Update copyright years to 2019
2019-02-01 18:32:13 +00:00