Commit Graph

36 Commits

Author SHA1 Message Date
baldurk 04c22d04f2 Reduce some copy-pasting between mesh stage UI elements 2017-02-20 14:48:45 +00:00
baldurk 7a10504260 Only VSIn stage applies baseVertex offset. 2017-02-20 14:48:44 +00:00
baldurk 7495ff37d5 Use bounding box data for placing arcball/WASD cameras 2017-02-20 14:48:43 +00:00
baldurk a7964a45d0 Add threaded calculation of bounding boxes in mesh viewer, cached by EID 2017-02-17 20:16:20 +00:00
baldurk 300029d4e1 Apply baseVertex when calculating index 2017-02-17 20:16:19 +00:00
baldurk da98e9e58d Refcount pointers to BufferData so we can pass them to other threads 2017-02-17 20:16:18 +00:00
baldurk 1e65762e93 Process render commands 1 by 1 to allow pre-empting high frequency cmds 2017-02-17 20:16:17 +00:00
baldurk b76ca0f060 Add proper guessing and selection of position/secondary elements 2017-02-17 13:24:40 +00:00
baldurk c2eb0f6eb1 Add fetching of GS/DS output data 2017-02-17 12:32:19 +00:00
baldurk 14e7c1e9a3 Sort position element on output to the start before calculating offsets 2017-02-17 12:30:58 +00:00
baldurk a7af30e800 Don't try to use index buffers for non-indexed draws 2017-02-17 12:30:05 +00:00
baldurk 079dcf2e24 Don't leak menus by creating every time the callback is called 2017-02-17 12:29:11 +00:00
baldurk b6f62d030f Add support for highlighting columns that are selected in buffer viewer 2017-02-17 12:28:47 +00:00
baldurk 5a88b280ca Add context menu to BufferViewer to debug vertices, or export data 2017-02-16 17:10:08 +00:00
baldurk 354a2707ae Avoid copying large structs, prefer to pass by reference 2017-02-10 21:48:46 +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 716aa7bbd4 Fix very scary bad mismatched pointers when defining buffer data range 2017-02-03 20:11:05 +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 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 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
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 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
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