Commit Graph

192 Commits

Author SHA1 Message Date
baldurk 9fd1e6bae2 Add qprocessinfo from https://github.com/baldurk/qprocessinfo
* This lets us enumerate processes and fill the inject list on windows
  and linux at least.
2016-11-11 20:35:59 +01:00
baldurk 9e22509521 Add resource file to qrenderdoc for icon and version embedded data 2016-11-10 16:22:35 +01:00
baldurk b843c38bdc Categorise remaining TODOs somewhat 2016-11-09 19:27:44 +01:00
baldurk d6a3086394 Pass in environment modification list when capturing 2016-11-09 19:27:18 +01:00
baldurk cff5da63eb Cache method index for GUIInvoke invokes to avoid string compares 2016-11-09 19:13:22 +01:00
baldurk 28f5bdcf9d Add a mostly-complete capture dialog 2016-11-09 18:35:48 +01:00
baldurk 27f1aa71a6 Use absoluteFilePath() when the filename is needed in the path 2016-11-09 18:34:08 +01:00
baldurk 2ccc157114 Add TempLogFilename() utility function 2016-11-09 18:33:38 +01:00
baldurk e53a854de3 Handle drag and drop into the main window 2016-11-09 18:18:56 +01:00
baldurk 9d264e1998 Fix error message when failing to load a capture 2016-11-09 18:17:57 +01:00
baldurk 2175404d4e Ensure message boxes happen on the main thread 2016-11-09 18:09:56 +01:00
baldurk 8b697f7055 Fix issues with FlowLayout not resizing properly in some cases 2016-11-09 13:26:21 +01:00
baldurk 5c850ac03a Enable action buttons in texture viewer when log is loaded 2016-11-09 13:24:10 +01:00
baldurk bb2f3a205c Move common Qt utility functions & JSON I/O together in a single place 2016-11-09 13:23:53 +01:00
baldurk 66298ea1ce Output moc/uic/rcc directly into generated/ folder for VS to use 2016-11-09 13:12:28 +01:00
baldurk 5a243c4b42 Add an implementation of QOverload to avoid depending on Qt 5.6
* Also switch travis to 5.6 so we don't add a dependency on 5.7 by
  accident.
2016-11-07 19:22:56 +01:00
baldurk 7e7b3d3f80 Add supporting desktop files for QRenderDoc and thumbnail handler etc 2016-11-02 23:39:35 +01:00
Alberto Taiuti d1e5149527 Fix missing <math.h> header in qrenderdoc for Arch/clang++
Add the <math.h> header to some of the source files for the target
qrenderdoc. The build would not have succeded without these headers
declaration under Arch Linux/clang++.
2016-10-19 18:55:50 +02:00
baldurk 4cd31908b4 Update qrenderdoc for API changes 2016-10-14 19:38:11 +02:00
baldurk d869222eed Linux build fixes 2016-10-12 17:36:35 +02:00
baldurk 18898b7f09 Set up proper log loading/closing
* This includes the recent log menu list, progress bars and popup.
2016-10-12 16:59:25 +02:00
baldurk c5973d1ed6 Add centralised reset function for restoring to clean state 2016-10-12 16:54:14 +02:00
baldurk 8a375abe41 Add self-deletion and waiting to LambdaThread 2016-10-12 16:51:29 +02:00
baldurk a601462de0 Set locked tab proprety early so we can pick it up when it activates 2016-10-12 13:24:28 +02:00
baldurk 791599b48c Cache texture lookup and only update whenever it changes 2016-10-12 13:24:14 +02:00
baldurk 402ef54f0d Enable QT_MESSAGELOGCONTEXT and debugging info in release builds 2016-10-12 13:02:03 +02:00
baldurk ec1ce1d738 Fix bool checks across threads to be correct, so it's not optimised out 2016-10-12 13:01:09 +02:00
baldurk d316701f61 Ignore warning 4714 which fires in Qt headers 2016-10-12 11:44:57 +02:00
baldurk fbcb04944d Add texture saving dialog 2016-10-12 00:26:15 +02:00
baldurk f0c359b329 Remove include guards and change to #pragma once 2016-10-11 21:38:16 +02:00
baldurk d72e0f0cf4 Add missing MIT license from some files 2016-10-11 21:34:06 +02:00
baldurk 48a60104bb Create more of a directory structure for qrenderdoc files 2016-10-11 21:31:57 +02:00
baldurk db5bdbb05e Add range histogram 2016-10-11 18:33:37 +02:00
baldurk 35d4bddaec Add keypress event to RDLineEdit 2016-10-11 18:32:43 +02:00
baldurk b4b45835b0 Delete thread when it's cleaned up, not automatically 2016-10-11 18:32:34 +02:00
baldurk 6b99f40b2b Remove direct use of RENDERDOC_LogText in favour of Qt's logging 2016-10-10 18:50:39 +02:00
baldurk ea587608cb Don't allow dropping dockables onto the tabs where textures sit 2016-10-10 18:50:11 +02:00
baldurk 2507634df9 Add filterable texture list to texture viewer 2016-10-10 18:48:38 +02:00
baldurk a1e9554e66 Implement the ctrl-g texture goto popup 2016-10-10 16:41:48 +02:00
baldurk 3bdd631146 Fix scrollbar positions not updating properly 2016-10-10 13:58:15 +02:00
baldurk 3a772f26ce Implement locked texture tabs and partially complete event usage popup 2016-10-10 13:52:00 +02:00
baldurk dbb0254556 Add double-click event handling to RDLabel, CustomPaintWidget & thumb 2016-10-10 13:30:01 +02:00
baldurk 3051c48357 Add RefreshStatus to force-replay to the current event 2016-10-10 13:29:05 +02:00
baldurk 9d49b7ae38 Add menu-showing function to RDDialog (using manual event loop pump) 2016-10-10 13:28:52 +02:00
baldurk 7f6e7583b0 Fix weird clang-format confusion on X-macro 2016-10-07 21:26:53 +02:00
baldurk a451efcc59 Use now available config 2016-10-07 19:51:06 +02:00
baldurk 2d4c79b244 Rename main.cpp to qrenderdoc.cpp to be more clear 2016-10-07 19:51:06 +02:00
baldurk 03eb2ea696 Save and load persistant config file 2016-10-07 19:51:05 +02:00
baldurk 3ec1be62ff Paint custom render widgets properly without output, recreate as needed 2016-10-07 19:51:05 +02:00
baldurk 2f461a5029 Handle keypress events for clipboard copy and pixel nudging 2016-10-07 19:51:04 +02:00