Commit Graph

282 Commits

Author SHA1 Message Date
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 28cba09f22 Apply cmake compiler selection into qmake command
* In particular this means that if you compile with clang, qmake won't
  try to use g++.
2017-01-24 22:30:02 +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 a200ed8455 Tweak grid layout lines to match up better for non-square tables 2017-01-24 19:00:57 +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 2e9167b08e Add Scintilla 3.7.2 to qrenderdoc to build in directly 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
Jake Turner a91c355062 Remove qt warning settings and use renderdoc ones
Disable warnings in qt (warn_off) then remove -w from qt compiler flags
to re-enable previous renderdoc warnings
Use qt standard way to enable c++11 eg CONFIG += c++11
2017-01-04 13:54:59 +00:00
baldurk 5cf16ccbd4 Fix warnings from clang compilation 2017-01-03 14:49:42 +00:00
baldurk 28e5cd6b56 Pass warning flags into qmake when building 2017-01-03 14:23:59 +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 288cce9de5 Add utility integer alignment function 2016-11-28 17:45:57 +01:00
baldurk 060a1caa8f Add extended RDTableView to expose viewOptions() 2016-11-28 17:45:49 +01:00
baldurk 08bd19a990 Fix compilation (mostly) on OSX, with stubs for VK WSI. 2016-11-28 12:57:55 +01:00
baldurk 1961ea465f Handle tab button being on either side on QTabBar without crashing 2016-11-28 12:49:43 +01:00
baldurk 4ce3c31fef Add un-finished work in progress mesh buffer viewer 2016-11-25 17:05:58 +01:00
baldurk 48169536f5 Implement float formatting rules 2016-11-25 15:43:25 +01:00
baldurk a2d40f8061 Add constant buffer previewer for qrenderdoc 2016-11-25 14:17:20 +01:00
baldurk 90a1b03a0f Fix some switch statements missing breaks 2016-11-25 14:14:47 +01:00
baldurk a6b0bd9245 Add utility function to locate the manager for a window 2016-11-25 14:14:36 +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
baldurk 9ab11786b2 Add a utility to style a QGridLayout with actual lines between elements 2016-11-24 19:47:04 +01:00
baldurk 0b9e11d1ec Add some more ToStr::Get implementations 2016-11-24 19:47:03 +01:00
baldurk e8c216464d Make both columns bold in the API Inspector view 2016-11-24 19:47:03 +01:00
baldurk 45c132ef81 Make sure the texture list frame is never deleted by the tool manager 2016-11-24 19:47:02 +01:00
baldurk 31317451de use ToolWindowManager::raiseToolWindow to show the texture viewer 2016-11-24 19:47:01 +01:00
baldurk 7efc1bc455 Don't delete locked tabs, allow them to be deleted by the toolmanager 2016-11-24 19:47:01 +01:00
baldurk 7cc066abac Fixed some issues setting up array textures slice dropdown 2016-11-24 19:47:00 +01:00
baldurk 31023d7c91 Rename the RightArrow icons to action/action_hover 2016-11-24 19:46:58 +01:00
baldurk 81f3bb4680 Add extended RDTreeWidget with hovering capabilities 2016-11-24 17:16:02 +01:00
baldurk e13b6277ed Add API Inspector 2016-11-21 19:33:19 +01:00
baldurk ad3ea6513d Fix a potential race where we'd double-delete a command
* If it was a blocking invoke, we'd release the processed semaphore then
  the main thread could delete cmd before we check self delete (which
  could be garbage and look like it's true) and delete it again.
2016-11-21 19:12:35 +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 aa8139fcb4 Add checks of any current captures or temp logs when closing main window 2016-11-21 17:59:01 +01:00
baldurk 46a86dce92 Add utility function to raise a toolwindow 2016-11-21 17:58:00 +01:00
baldurk 23d8c12457 Add status message about log warnings/errors 2016-11-21 17:38:02 +01:00
baldurk bce0b31060 Iterate recent item lists in reverse order, most recent item is last 2016-11-21 17:37:28 +01:00