Commit Graph

172 Commits

Author SHA1 Message Date
baldurk fb1dfbd184 Add ordered list editor for configuring shader search paths in settings 2017-02-09 19:28:20 +00:00
baldurk ef6d6b3271 Change some default initialisation to memsets, work around gcc ICE 2017-02-03 21:59:13 +00:00
baldurk 7357d1018e Linux compile fixes 2017-02-03 21:30:45 +00:00
baldurk cf1ef45a5e Add settings dialog for Qt 2017-02-03 20:11:06 +00:00
baldurk 923dfbd6fb Add Qt version of statistics viewer 2017-02-03 20:11:06 +00:00
baldurk 716aa7bbd4 Fix very scary bad mismatched pointers when defining buffer data range 2017-02-03 20:11:05 +00:00
baldurk 346550e012 Add debug message view to Qt 2017-02-03 20:11:04 +00:00
baldurk e29fb14ade Fix empty pixmap for debug messages alternating icon 2017-02-03 11:57:56 +00:00
baldurk 860aab1f0f Add save log menu handler 2017-02-03 11:57:16 +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 0a611417c1 Check drawcall is valid before checking draw properties 2017-02-01 10:03:51 +00:00
baldurk 55b3105905 Initialise cached column count to 0 2017-02-01 10:03:50 +00:00
baldurk 9690db525b Add support for raw buffer views (not mesh output) 2017-01-26 23:31:58 +00:00
baldurk bac0c011cd Hack around slow row-colour setting in pipeline state 2017-01-26 23:31:57 +00:00
baldurk 738dbafdfe Try to maintain table's horizontal scroll values when changing event 2017-01-26 23:31:57 +00:00
baldurk bbf1a0b906 Set specific window title for mesh view mode 2017-01-26 23:31:57 +00:00
baldurk a4acd3cb31 Hook up most of the small UI items and buttons in the buffer viewer 2017-01-26 23:31:57 +00:00
baldurk 849f3970ab Implement synced views 2017-01-26 23:31:57 +00:00
baldurk 425e65a1e8 Initialise the current stage to VSIn by default 2017-01-26 23:31:57 +00:00
baldurk d0e7428773 Don't register buffer viewer as log viewer until the end of construction 2017-01-26 23:31:57 +00:00
baldurk 19034c0d93 Don't use resizeColumnsToContents on full data, add column per component 2017-01-26 23:31:57 +00:00
baldurk 11db513705 Rename 'capture' button to 'launch' on CaptureDialog to clarify usage 2017-01-26 23:31:56 +00:00
baldurk 97aa6281ac Compile fixes for linux 2017-01-25 21:04:57 +00:00
baldurk e6295fa309 Stub out BufferViewer UI controls, and make camera control properly 2017-01-25 20:13:40 +00:00
baldurk 82068eeab8 Set up D3D12 pipeline state view in Qt 2017-01-25 20:13:39 +00:00
baldurk a39d8877bf Set up D3D11 pipeline state view in Qt 2017-01-25 20:13:37 +00:00
baldurk 64686d26d6 If LogfileLoaded is called out of order, ensure pipeline state is ready 2017-01-25 12:46:21 +00:00
baldurk 6ee0ef0402 Fix formatting of hex (to be uppercase) and bools ("true" or "false") 2017-01-25 12:46:07 +00:00
baldurk 21be0f8923 Fix incorrect range for view details - offset to offset+size 2017-01-25 12:45:11 +00:00
baldurk b428dfd139 Only use base filename, not full path 2017-01-25 12:44:57 +00:00
baldurk 3b7eaaa4fb Set titles for source file tabs in the shader viewer 2017-01-25 12:44:41 +00:00
baldurk 3b010c6eef Linux compile fixes 2017-01-24 21:24:32 +00:00
baldurk 87ed2fcd95 Fix a typo in groupbox name 2017-01-24 19:17:00 +00:00
baldurk 35b951b37c Don't show tree for widgets in GL pipeline viewer - no array binds 2017-01-24 19:07:00 +00:00
baldurk d0aec2197d Implement GL pipeline state viewer for Qt 2017-01-24 19:02:29 +00:00
baldurk 31c29c3149 Give Vulkan shader stage structs in pipeline state consistent names 2017-01-24 12:12:33 +00:00
baldurk 7ef73f92ef Add shader viewer (view only - not edit/debug) using Scintilla widget 2017-01-23 19:09:29 +00:00
baldurk bda5c71a3e Fix path to resources.qrc in AboutDialog.ui 2017-01-23 19:09:28 +00:00
Steve Legg 87adee1bf1 Implement multi-instance mesh picking 2017-01-20 16:12:48 +00:00
Alex Smith 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 94b34f6718 Fix a crash if a connection fails to start very early 2017-01-11 17:23:39 +00:00
baldurk 030cbfde9a Batch update copyright years everywhere 2017-01-06 12:13:31 +00:00
Jake Turner 0d52eeed35 Fixed OSX clang compile error (from -Wtautological-compare) 2017-01-04 13:54:59 +00:00
baldurk 5cf16ccbd4 Fix warnings from clang compilation 2017-01-03 14:49:42 +00:00
Jake Turner ee981ac59c Fixed some clang compiler warnings 2017-01-02 14:44:07 +00:00
baldurk d3dedbef5a Update mesh viewer to display the preview with basic controls + VS Out 2016-11-28 17:49:29 +01:00
baldurk 4ce3c31fef Add un-finished work in progress mesh buffer viewer 2016-11-25 17:05:58 +01:00
baldurk a2d40f8061 Add constant buffer previewer for qrenderdoc 2016-11-25 14:17:20 +01:00
baldurk 5883820727 Fixes for linux building including some very stupid casts 2016-11-24 20:13:32 +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