Commit Graph

363 Commits

Author SHA1 Message Date
baldurk ea7cee9d13 Make the find behaviour in event browser to be a bit more 'sticky'
* Clicking away from the find box doesn't lose your highlight/search,
  and if you open find again it has the previous search text there.
2017-02-13 19:20:23 +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 fa33d883ac Don't make a blocking call to the UI from render thread 2017-02-13 19:20:21 +00:00
baldurk 99fc18e162 Add "min-max" naming in EID column for marker regions 2017-02-13 19:20:21 +00:00
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 1100f36d77 Add toolbar buttons for previous/next drawcall step 2017-02-13 19:20:20 +00:00
baldurk 0c79d778e9 Add shortcuts for functionality in event browser 2017-02-13 19:20:13 +00:00
baldurk 55e5bcca61 Implement bookmark handling in the event browser 2017-02-13 14:29:13 +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 73a694904a Fix pixel history context menu not appearing 2017-02-10 21:48:49 +00:00
baldurk 545d712946 Add icons for run-to-NaN and run-to-sample 2017-02-10 21:48:48 +00:00
baldurk 4d699a2068 Allow overriding the variable type when formatting a shader variable 2017-02-10 21:48:48 +00:00
baldurk 354a2707ae Avoid copying large structs, prefer to pass by reference 2017-02-10 21:48:46 +00:00
baldurk 456b117a76 Don't copy support files as executable programs 2017-02-10 12:41:24 +00:00
baldurk 7caf12aea4 Add $ORIGIN/../lib/ to rpath for renderdoccmd and qrenderdoc 2017-02-10 12:09:05 +00:00
baldurk af0faeea44 Fix compilation on OS X - include headers for powf 2017-02-10 12:08:49 +00:00
baldurk 7c53c6a0e0 Add RDTreeView to qmake project 2017-02-10 01:53:36 +00:00
baldurk 59b28e6843 Fix compilation warning about int/uintptr casts 2017-02-10 01:52:26 +00:00
baldurk 5588686fd7 Mitigate remote probe thread delaying full shutdown of program 2017-02-09 23:22:09 +00:00
baldurk 4d8e799a0e Add pixel history window 2017-02-09 23:21:45 +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 0d141b6d7e Add TODOs that were missing in a couple of places 2017-02-09 19:28:24 +00:00
baldurk 60a1950b16 Fetch image/resource layouts from pipeline state data 2017-02-09 19:28:24 +00:00
baldurk f45adb8cc5 In LambdaThread delete QThread on finished signal instead of during run 2017-02-09 19:28:24 +00:00
baldurk 913554c005 Return the right result for copying progress bars 2017-02-09 19:28:24 +00:00
baldurk 3d2c4a5b32 Correct checking for remote support (it was stubbed out without a TODO) 2017-02-09 19:28:23 +00:00
baldurk c2c8346699 Fix some UIC warnings about duplicated object names 2017-02-09 19:28:23 +00:00
baldurk e1d180246c Add dialog for both managing remote hosts (add/remove) and attaching 2017-02-09 19:28:23 +00:00
baldurk 47be248cad Don't run slow blocking remote probes on UI thread 2017-02-09 19:28:23 +00:00
baldurk d728a47b99 Use CONFIG += silent to avoid the need to reset MAKEFLAGS
* When cmake custom commands invoke make, the make execution is silent.
  The MAKEFLAGS reset was to remove the silent flag, but it also lost
  the -j parallel build flags.
* Instead, we set qmake to silent mode (which it already was going to
  be), and that causes it to add echo statements to each rule that will
  be printed even when make is silent.
2017-02-09 19:28:23 +00:00
baldurk a685621b3f Remove help button from dialogs 2017-02-09 19:28:23 +00:00
baldurk b36b822faa Remove extension masks from vcxproj.filters file 2017-02-09 19:28:23 +00:00
baldurk aaf87aec96 Add a QTDebug project configuration for compiling against Qt debug DLLs 2017-02-09 19:28:23 +00:00
baldurk 2156fc56f3 Compile with moc/uic/rcc custom tools in local vcxproj
* The plan is to commit those executables with the headers/libs/dlls we
  were already going to commit once the Qt UI is shipping on windows.
2017-02-09 19:28:22 +00:00
baldurk c5adc7a4ed Use relative paths for 3rdparty headers, don't add to search paths
* Unfortunately scintilla assumes its headers are all in the search path
  so where possible we only add those folders when compiling scintilla
  source, not our own.
2017-02-09 19:28:22 +00:00
baldurk 9e47ed53b5 Move resources.qrc into Resources/ folder 2017-02-09 19:28:22 +00:00
baldurk 7f27f94648 Move some files that were mistakenly in the generated filter in VS 2017-02-09 19:28:22 +00:00
baldurk 9d6aed683e Default to TargetDir for debugging working dir (the dir with the exe) 2017-02-09 19:28:22 +00:00
baldurk 9c03eb69bc Add remote file browsing dialog 2017-02-09 19:28:21 +00:00
baldurk 4ec3b4dce3 Add support for remote context capture and replay, including Android
* Still missing is remote file/folder browsing, and managing remote
  hosts adding/removing etc.
2017-02-09 19:28:21 +00:00
baldurk 267ad262ee Add dialog for suggesting remote replays for non-local captures 2017-02-09 19:28:21 +00:00
baldurk 24564a5439 Don't pass strings by copy unnecessarily 2017-02-09 19:28:21 +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 7d9c38b14a Keep list of remote hosts in persistant config 2017-02-09 19:28:21 +00:00
baldurk f67b02ecf0 Add class for managing remote hosts 2017-02-09 19:28:21 +00:00
baldurk d1a4238e00 Add a utility to check if running on a lambda thread 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 5969160712 Add debug messages refresh when new messages are detected at runtime 2017-02-09 19:28:20 +00:00
baldurk 6cf0179cc8 Add code to display buffer viewer to D3D12/GL/Vulkan pipeline views 2017-02-09 19:28:20 +00:00