Commit Graph

4329 Commits

Author SHA1 Message Date
baldurk 4cd31908b4 Update qrenderdoc for API changes 2016-10-14 19:38:11 +02:00
baldurk c71225e4be Don't skip over hooked programs when doing a ordinals fixup pass 2016-10-14 17:24:36 +02:00
baldurk 42816cdc50 Implement the highlight box rendering on D3D12 2016-10-14 16:51:30 +02:00
baldurk b15d9b6a72 Add not fully tested texture display, including depth/stencil via copy 2016-10-14 16:22:21 +02:00
baldurk 6cf08b6c71 Enable debug text for thread serialisers 2016-10-14 16:20:01 +02:00
baldurk 5c0746e261 Account for number of planes when calculating subresource count 2016-10-14 16:19:52 +02:00
baldurk 820b343ef3 Remove redundant numSubresources struct member that was just mips*slices 2016-10-14 16:19:15 +02:00
baldurk 1382138fab Fix typo - memcpy hash not memcmp! 2016-10-14 13:22:09 +02:00
baldurk c0d35bf522 Use thread-local memory for unwrapping parameters 2016-10-14 13:21:57 +02:00
baldurk eee04923e4 Remove D3D lock, instead use thread-local serialisers 2016-10-14 12:43:56 +02:00
baldurk f436c4a6bf Handle descriptors as if they are volatile and track mid-capture updates 2016-10-14 11:56:33 +02:00
baldurk c37ee2bb03 Display table index for root sig elements 2016-10-14 09:58:15 +02:00
baldurk 2f93a4a64b Add #ifndef checks around hacky annotation defines 2016-10-13 19:56:43 +02:00
baldurk 11f6a98166 Handle SetConstantBuffers1 setting offset/count to 0/4096 if buf == NULL 2016-10-13 18:06:56 +02:00
baldurk cb406f67a9 Add previous/next drawcall buttons to event browser. Refs #389
* They also have the global shortcut ctrl-left arrow and ctrl-right.
* Also a couple of tweaks to find behaviour to act more intuitively to
  what other applications do - allow F3/shift-F3 without the find box
  highlighted, and don't clear out the find text when closing it.
2016-10-13 16:49:28 +02:00
baldurk 7764192a3c Handle a possible divide by 0 if an invalid RECT is fetched 2016-10-13 16:06:25 +02:00
baldurk d05edca3d2 If DIA can't find Function symbol, retry with PublicSymbol. Closes #364
* I don't see any docs on why a function wouldn't be reported as a
  function, but instead as a public symbol, but this seems to be the
  case and it fixes some problems where symbols aren't located. Oh well.
2016-10-13 16:06:25 +02:00
baldurk a1fa1c0ca6 Handle more than 2k of saved ignored PDBs 2016-10-13 16:06:25 +02:00
baldurk 5352494aa7 Refresh module list before enumerating, to catch dynamic DLLs. Refs #364 2016-10-13 16:06:25 +02:00
baldurk 237b24e88e Remove printing of buffers as floats. Refs #395
* There's no guarantee that the buffer is actually float data at all,
  so printing it as such can cause float exceptions if the data includes
  NaNs.
* This is not really useful anymore anyway, and if really needed the
  float values can be manually converted from the hex data.
2016-10-13 16:06:25 +02:00
baldurk f44aa27d19 Stub implement replay create and IFrameCapturer, add D3D9 windows 2016-10-13 16:06:25 +02:00
baldurk c6a9be6df5 Add proper refcounting to wrapped D3D9 device 2016-10-13 16:06:25 +02:00
Michael Rennie d38ad5e2c9 Make APK file itself depend on renderdoc & renderdoccmd.
Previously the custom command wasn't running when .so's changed.
2016-10-13 13:39:28 +02:00
Michael Rennie 475a526ee5 Check for NULL serialiser in D3D wrappedDev. 2016-10-13 12:31:24 +02:00
baldurk 92dc82a0fe Copy apk and layer .so into distributions if they exist 2016-10-12 22:09:02 +02:00
baldurk 528ffcf2a7 Avoid symlinking in favour of copying, and copy apk to root /bin folder 2016-10-12 22:08:48 +02:00
Balazs Torok 825d616d64 poor man's black background 2016-10-12 19:44:20 +02:00
baldurk 6a02771846 Unify together overlay text in API-agnostic fashion 2016-10-12 18:54:56 +02:00
baldurk 33b8bca64d Added specific list of contributors to highlight notable work 2016-10-12 18:12:20 +02:00
Balazs Torok 12e5a9a316 basic implementation for Direct3D9 and Direct3DDevice9 2016-10-12 18:04:10 +02:00
baldurk d869222eed Linux build fixes 2016-10-12 17:36:35 +02:00
Michael Rennie 7a4c2f9546 Android cmake target for RenderDocCmd.apk
cd android-build
cmake -DBUILD_ANDROID=1 ..
make apk
2016-10-12 17:01:28 +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 f6c3c46050 Add clear() function alias 2016-10-12 16:50:26 +02:00
baldurk 7cf7fc0c34 NULL out D3D12 pipeline state on close 2016-10-12 16:50:21 +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