Commit Graph

34 Commits

Author SHA1 Message Date
baldurk f3c3f82cc4 Minor tweaks to GL pipeline view in Qt, to display format for FBO att.s 2017-02-20 14:48:47 +00:00
baldurk 486f8d4441 Fix QString warning about calling .arg() too many times 2017-02-17 13:25:04 +00:00
baldurk 3398fcc9de Add support for configuring an external SPIR-V disassembler in Qt UI 2017-02-16 17:10:04 +00:00
baldurk 3423c2e0d9 Fix a string format to refer to the right parameters 2017-02-14 19:14:52 +00:00
baldurk 2ce133812f Set font size to 12 on pipeline flowchart 2017-02-14 19:14:52 +00:00
baldurk 871a48d7fa Add flowchart custom widget to show select pipeline stages 2017-02-13 19:20:25 +00:00
baldurk f8ed197318 Add static resources collection with pre-constructed QPixmaps & QIcons
* Apart from making the code cleaner when accessing them, creating these
  from strings can be slow if you do it often enough (e.g. once per
  resources for action/action_hover in pipeline state view).
2017-02-13 19:20:22 +00:00
baldurk 8630f82db3 Update shader viewer to support editing and debugging of shaders 2017-02-10 21:48:50 +00:00
baldurk 235167f6df Extract out shader saving code into common pipeline state viewer 2017-02-10 21:48:49 +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 c2c8346699 Fix some UIC warnings about duplicated object names 2017-02-09 19:28:23 +00:00
baldurk 9e47ed53b5 Move resources.qrc into Resources/ folder 2017-02-09 19:28:22 +00:00
baldurk 6cf0179cc8 Add code to display buffer viewer to D3D12/GL/Vulkan pipeline views 2017-02-09 19:28:20 +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 97aa6281ac Compile fixes for linux 2017-01-25 21:04:57 +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 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
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 030cbfde9a Batch update copyright years everywhere 2017-01-06 12:13:31 +00: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