baldurk
0dda96a045
Change previous/next/parent IDs in DrawcallDescription to pointers
...
* This is a legacy holdover from the C# interop not being able to preserve
pointers easily.
2018-06-18 18:39:06 +01:00
baldurk
14e3a3d360
Move API-agnostic pipeline state wrapper into core interface
...
* There's no need for this to be in the UI, and moving it allows it to be used
from script which is very useful.
2018-06-18 18:39:06 +01:00
baldurk
4561b55464
Persist a default browse directory for file dialogs, if none is provided
...
* This provides a slightly more sensible default than the application working
directory.
* The default is shared across all dialogs and open/save.
2018-06-15 19:40:54 +01:00
baldurk
093e8a6b40
Support NewFloatingArea and LastUsedArea properly in AddDockWindow
2018-06-14 17:57:31 +01:00
baldurk
bf70aeb64d
Handle None being passed from Python for a QWidget pointer
2018-06-14 17:56:18 +01:00
baldurk
01a31b51d8
Print error if GUIInvoke is called with NULL object
2018-05-25 14:21:17 +01:00
baldurk
858b02480b
Pass command-line args as 'intent args' when launching apk. Refs #987
2018-05-24 21:42:29 +01:00
baldurk
206e0f1188
Add quality-of-life/convenience accessor functions to SDObject
2018-05-24 21:42:29 +01:00
baldurk
ab9a212b8d
Update qprocessinfo to 0d591f19f17805d65ef4880c3fc51021523003df
2018-05-23 17:28:42 +01:00
baldurk
851a88133a
Remove the 'save all initials' option. Behave as if it's always enabled
...
* This option has always been a mixed bag - when originally written captures
weren't compressed at all so saving the cost of a initial contents on a
gbuffer would have a significant savings.
* Now with compression the savings are lesser, and it's a source of
bugs/confusion for the case where either a bug is caused by leaking data from
the previous frame or worse still the contents are discarded incorrectly.
* D3D11 will now behave as the other APIs will - saving initial contents
whenever needed even if they seem like they might not be used.
2018-05-23 16:08:44 +01:00
baldurk
d8a64c4172
Fix compilation on GCC 8. Closes #984
2018-05-15 19:44:17 +01:00
baldurk
afb7ea5dab
Improve python wrapping of WindowingData
...
* If we make WindowingData an empty struct not an opaque one, it won't leak memory
* Similarly we need typemaps to allow python to pass plain ints and have them cast to pointers
2018-05-15 19:44:17 +01:00
baldurk
5c26270de0
Implement __hash__() for ResourceId
2018-05-14 16:40:58 +01:00
baldurk
f1dcb785a1
Fix implementation of array_setsubscript when deleting a range
2018-05-14 16:40:45 +01:00
Hans-Kristian Arntzen
50dc1d6faa
Support A2B10G10R10_SNORM in buffer viewer.
2018-05-11 01:04:45 +01:00
baldurk
d7b0807875
Ignore MultiDraw markers when checking if the capture has markers
2018-05-09 13:05:00 +01:00
baldurk
4ade1187aa
Fix linux compilation - pass parent QObject* to GUIInvoke
2018-05-08 19:10:28 +01:00
baldurk
2efce90591
[Coverity] Fix incorrect logic identified by deref-before-NULL-check
2018-05-08 12:47:28 +01:00
baldurk
082ab4d75d
GUIInvoke takes a QObject* to avoid callbacks after object lifetime
...
* The GUIInvoke object takes a QObject, and uses QPointer to check that
it hasn't been deleted when the callback fires. This prevents delayed
callbacks from executing after the object has been deleted and
crashing.
* In most cases the pointer is just 'this'.
2018-05-08 11:54:34 +01:00
baldurk
70f879ad7a
Export AmdPowerXpressRequestHighPerformance to encourage use of dGPU
2018-05-03 15:35:01 +01:00
Jake Turner
cae6b44a97
Fix xcode9.3 -Wunused-lambda-capture errors
...
Disable the warning on 3rdparty files
${glslang_dir}/hlsl/hlslParseHelper.cpp
Disable the warning on files where fixing it would cause a non-OSX compile error
os/os_specific.cpp
2018-04-30 10:53:42 +01:00
baldurk
52af0722ee
Add a 'human formatting' function for special-case/heuristic display
...
* For unsigned integers this notices UINT16/32/64_MAX and displays as
a text string for easier consumption.
* Also for numbers over a given threshold we display them as hex instead
of decimal.
2018-04-26 12:31:05 +01:00
baldurk
9f6610932d
Add missing documentation string
2018-04-25 22:08:55 +01:00
baldurk
f87338dc0e
Add support for VK_EXT_vertex_attribute_divisor
2018-04-25 19:11:04 +01:00
baldurk
048d2c4f4e
Bring RenderDoc window to foreground when event is selected from RGP
2018-04-25 19:10:52 +01:00
baldurk
2d0f675ca8
Add socket-based interop with RGP and profile embedding in captures
2018-04-25 19:10:51 +01:00
baldurk
c5612dc7dc
Add out typemap for rdcpair that passes through ConvertToPy
2018-04-04 16:19:17 +01:00
baldurk
6c3c488a4c
Fix typo of knosole -> konsole
2018-04-03 11:46:09 +01:00
Silent
3074ebeb51
Project fixes to fix building from paths with spaces
2018-03-26 15:07:12 +01:00
Baldur Karlsson
5076b9c37f
Escape any HTML characters in resource names when rendering rich text
2018-03-15 13:01:36 +00:00
Baldur Karlsson
68a3f3a31f
Filter out previous/next drawcall shortcuts when text editing.
...
Closes #911
editing.
path.
'ad0678a'.
2018-03-12 15:46:44 +00:00
baldurk
ab7fa9e281
Ignore python env vars which might load incompatible libs. Refs #902
...
* PYTHONHOME is used *ahead* of the python36.zip on Python's default
search path, so we need to suppress that to make sure it doesn't
interfere.
2018-03-07 22:18:55 +00:00
baldurk
8a0f4a367a
Fix RunProcessAsAdmin not quoting arguments
2018-03-06 11:49:51 +00:00
baldurk
d25d942c27
Only count capture load time in release mode
2018-03-01 18:45:32 +00:00
baldurk
1cd8559d0c
Pass through current GPU vendor in APIProperties, for analytics
2018-02-25 15:29:14 +00:00
baldurk
c0afad8cd8
Default Comments_ShowOnLoad to true, and actually use the value.
2018-02-25 15:29:09 +00:00
baldurk
3fe8ad4e3f
Rename 'ResourceId' structured data type to just 'Resource'
2018-02-24 23:22:24 +00:00
baldurk
d9c7a4d416
Show the status bar progress indicator if a replay operation is slow
...
* This mostly happens on android where there are large framebuffers
transferred over a very slow USB connection
2018-02-22 15:49:48 +00:00
baldurk
4a2242f0a1
Make checkerboard colours update immediately when theme changes
2018-02-21 14:29:36 +00:00
baldurk
13c1cf6ad4
Return ReplayStatus when launching/injecting, use to indicate JDWP error
...
* If android studio or other android tools are open when a package is
launched for debugging, they greedily jump on it and connect which
prevents us from connecting.
2018-02-20 11:54:57 +00:00
baldurk
dbfa3cdc4d
Remove DrawFlags::SetMarker from API Calls events
...
* This made them behave inconsistently and was not really necessary
anyway.
2018-02-20 10:02:40 +00:00
baldurk
6cf67f9e4f
Display matrices in multiple lines instead of a single line
...
* This makes it easier to preview without expanding the variables, and
also clarifies the row/column distinction in a "float3x4" since it's
immediately clear how many rows there are.
2018-02-19 11:54:09 +00:00
baldurk
2eb56e4279
Display matrix memory order in cbuffer type column. Refs #800
2018-02-19 11:53:20 +00:00
baldurk
1792673864
Show an error message if saving changes fails
2018-02-19 00:52:14 +00:00
baldurk
04034c334b
Gather pixel history panels together instead of making new dock for each
2018-02-19 00:52:13 +00:00
baldurk
934800793a
Improve workflow for capture import/export
...
* If the export doesn't need buffers, we export directly from the loaded
capture file instead of re-loading it.
* Add progress bars for the load step so it shows what's happening
instead of looking stalled.
* Reduce compression rate on XML+ZIP buffers as it took too long trying
to compress when exporting large captures.
2018-02-19 00:52:13 +00:00
baldurk
dda5629426
Don't sort resource list in resource inspector every time
2018-02-16 13:33:58 +00:00
baldurk
64406b47a3
Add an SDBasic type for ResourceId.
...
* This type is core enum and used globally (not API specific) that it
merits becoming a specific structured data type
2018-02-15 10:21:52 +00:00
baldurk
cad5520238
Tweak the event browser to support richtext in drawcall names
...
* This lets Resource ID text become links to the resource inspector even
in drawcall names (like glBlitFramebuffer(src, dst)).
2018-02-13 21:10:06 +00:00
baldurk
8368f9b8be
Stringify ResourceIds consistently as "ResourceId::12345"
...
* This means even strings generated in the core code will become
richtext in the UI.
2018-02-13 21:10:01 +00:00