baldurk
3841af5697
Add fake profile markers if a capture doesn't have any markers at all
2017-02-13 19:20:20 +00:00
baldurk
2285b209c3
Access CaptureContext & RenderManager by reference, not pointer
...
* Neither of these can or should be NULL so enforce it explicitly.
2017-02-09 19:28:24 +00:00
baldurk
9e47ed53b5
Move resources.qrc into Resources/ folder
2017-02-09 19:28:22 +00:00
baldurk
7c422e3651
Add Load/Save functions around Deserialize/Serialise in config
...
* This lets us do some processing before saving and after loading
regardless of the path the load/save takes.
2017-02-09 19:28:21 +00:00
baldurk
f4bd51fc21
Revamp progress dialogs to abstract away most of the handling
2017-02-09 19:28:20 +00:00
baldurk
923dfbd6fb
Add Qt version of statistics viewer
2017-02-03 20:11:06 +00:00
baldurk
346550e012
Add debug message view to Qt
2017-02-03 20:11:04 +00:00
baldurk
477df04072
Make sure we're on a consistent event before calling OnLogFileLoaded
...
* Certain panels like BufferViewer assume there is a current drawcall
at startup and not an invalid event ID like 0. Normally the event
browser is loaded first and sets the event ID, but if it's later in
the list this will break.
2017-02-01 11:17:56 +00:00
baldurk
9690db525b
Add support for raw buffer views (not mesh output)
2017-01-26 23:31:58 +00:00
baldurk
7ef73f92ef
Add shader viewer (view only - not edit/debug) using Scintilla widget
2017-01-23 19:09:29 +00:00
Alex Smith and Baldur Karlsson
6e2fc42cbd
qrenderdoc: Show currently selected event in the API inspector
...
Currently, selecting an event with children (e.g. vkCmdExecuteCommands)
in the event browser will cause the API inspector window to show the
final child event, rather than the event itself. This behaviour makes
sense everywhere else: selecting an event with children shows the state
after all children have completed.
However, for the API inspector, we want to be able see API calls for
the parent event when it is selected rather than those of its last
child, particularly in the case of vkCmdExecuteCommands which may have
other API calls leading up to it.
To allow this, distinguish between the "current event" and "selected
event". For an event with children, the former refers to the last
child, while the latter refers to the event itself. ILogViewerForm now
has two separate event callbacks for when either one changes.
The API inspector now makes use of the selected event, while everything
else continues to use the current event.
2017-01-14 20:23:51 +00:00
baldurk
030cbfde9a
Batch update copyright years everywhere
2017-01-06 12:13:31 +00:00
baldurk
08bd19a990
Fix compilation (mostly) on OSX, with stubs for VK WSI.
2016-11-28 12:57:55 +01:00
baldurk
4ce3c31fef
Add un-finished work in progress mesh buffer viewer
2016-11-25 17:05:58 +01:00
baldurk
6ef7dbb356
Add pipeline state viewer and implement vulkan viewer
...
* Minus interactions with as-yet-unimplemented windows like buffer and
shader viewers.
* Also missing HTML export
2016-11-24 19:47:05 +01:00
baldurk
e13b6277ed
Add API Inspector
2016-11-21 19:33:19 +01:00
baldurk
c068a71903
If no capture directory is specified in the UI, save to $TEMP/RenderDoc
2016-11-21 17:59:59 +01:00
baldurk
0e7364a4c1
Process command-line remote connection and open new LiveCapture
2016-11-21 17:04:57 +01:00
baldurk
60f83c1b5e
Set icons for child windows
2016-11-21 17:04:08 +01:00
baldurk
411815a300
Set XCB/Xlib data every time
...
* Oops...
2016-11-14 17:29:29 +01:00
baldurk
86c9742309
Let capture context manage singleton window panes
2016-11-14 15:20:51 +01:00
baldurk
893fa6d53b
Assign the temp path properly when fetching it as a default
2016-11-14 14:12:48 +01:00
baldurk
1c61b82221
Add stub ToStr copied functions to fix up some implementations
...
* Eventually the main project's ToStr will move into a header file so
that we don't have to duplicate any code.
2016-11-11 20:35:59 +01:00
baldurk
b843c38bdc
Categorise remaining TODOs somewhat
2016-11-09 19:27:44 +01:00
baldurk
27f1aa71a6
Use absoluteFilePath() when the filename is needed in the path
2016-11-09 18:34:08 +01:00
baldurk
2ccc157114
Add TempLogFilename() utility function
2016-11-09 18:33:38 +01:00
baldurk
9d264e1998
Fix error message when failing to load a capture
2016-11-09 18:17:57 +01:00
baldurk
bb2f3a205c
Move common Qt utility functions & JSON I/O together in a single place
2016-11-09 13:23:53 +01:00
baldurk
18898b7f09
Set up proper log loading/closing
...
* This includes the recent log menu list, progress bars and popup.
2016-10-12 16:59:25 +02:00
baldurk
fbcb04944d
Add texture saving dialog
2016-10-12 00:26:15 +02:00
baldurk
3051c48357
Add RefreshStatus to force-replay to the current event
2016-10-10 13:29:05 +02:00
baldurk
9d49b7ae38
Add menu-showing function to RDDialog (using manual event loop pump)
2016-10-10 13:28:52 +02:00
baldurk
03eb2ea696
Save and load persistant config file
2016-10-07 19:51:05 +02:00
baldurk
ff6da5d81e
Add layout loading/saving to main window
2016-10-07 19:51:02 +02:00
baldurk
ccfa1ceaed
Add some utility functions to rdctype::array/str
...
* Avoids the need to directly reference .elems to cast to const char*
for strings, and has begin()/end() for C++11 foreach loops
2016-10-07 15:58:44 +02:00
baldurk
044c16a0a3
Switch to helper functions for blocking dialogs (file and message)
...
* To continue the workaround for QTBUG-56382 we need to run our own
manual message loop for dialogs as well. We only use a couple so we
can just run it through a handful of thin wrappers.
2016-10-05 16:52:05 +02:00
baldurk
86623528bf
Work around QTBUG-56382 with manual event loop flushing
...
* See https://bugreports.qt.io/browse/QTBUG-56382 for more details -
creating DXGI swapchains adds a windows hook, and enough windows hooks
forces out Qt's internal hook which it relies upon for proper event
processing.
2016-10-05 16:52:05 +02:00
baldurk
b14135a22e
Compile fix, typo'd variable name
2016-10-05 01:08:49 +02:00
baldurk
ea81c9ef8e
Move includes to header file for Display/xcb_connection_t definitions
2016-10-04 20:13:57 +02:00
baldurk
fe1e86d35a
Fill out pipeline state with API pipelines
2016-10-04 19:54:32 +02:00
baldurk
0b6b6b3e86
Add MIT License comment to the head of all source files
2016-10-04 19:54:31 +02:00
baldurk
e91634004f
Rename Core to CaptureContext
2016-10-04 19:54:31 +02:00