955 Commits

Author SHA1 Message Date
baldurk 1f3d300e74 Bump version to v0.92 on v0.x branch 2018-03-06 12:45:58 +00:00
baldurk 0547be54ea Multiply index offset by stride when opening buffer viewers. Refs #884 2018-02-24 14:08:09 +00:00
baldurk 477d5b6557 Use absolute dimensions of viewport to calculate aspect ratio. Refs #856
* On vulkan the viewport height could be negative to flip the NDC, but
  we don't care about its sign only its magnitude to calculate the
  aspect ratio.
2018-02-02 22:07:31 +00:00
baldurk 9d54cf6b79 Special case - manually backport "Don't select unused bindings..." to C# 2017-09-13 14:52:18 +01:00
baldurk 965d5bbcfb Mark v0.91 build 2017-08-14 12:57:14 +01:00
baldurk 643edbe8a7 Fix cases where find results or file list were breaking
* The change to make the disassembly view not directly a child of a
  DockContent but instead a table layout (to add the disassembly type
  drop-down) were causing some casts of 'thing.Parent' to fail.
2017-08-14 11:18:11 +01:00
baldurk 11a47bfbe4 Don't set-up table layout with disasm type selector in debug case
* Otherwise it hangs around and breaks the layout when we don't want it
  to be visible at all
2017-08-14 10:54:19 +01:00
baldurk b7795f562d Search up the parent heirarchy for a DockContent
* Fixes a crash debugging a shader that has embedded source available
  (i.e. compiled with D3DCOMPILE_DEBUG).
2017-08-06 09:58:30 +01:00
baldurk c8dd41cdef Mark v0.90 build 2017-08-04 17:35:42 +01:00
baldurk 9878223839 Don't allow displaying non-debuggable disassembly forms when debugging 2017-08-02 15:30:58 +01:00
baldurk 42add67bf8 Don't skip modified shaders when tex viewer is just in another tab
* We only want to skip these events if the texture viewer has actually
  been closed and destroyed.
2017-08-02 15:30:56 +01:00
baldurk f3cae89df7 Don't treat combined image/sampler resources as samplers and discard 2017-07-28 19:06:39 +01:00
baldurk 806876c540 Add a menu item to do nothing but replay the capture in a tight loop. 2017-07-27 16:14:17 +01:00
baldurk 515c933545 Rename Maths_* and Topology_* to make RENDERDOC_ a consistent prefix
* This will make it easier for a linker script on linux
2017-07-17 15:14:15 +01:00
baldurk 8adde662fd Save target of clear calls that don't clear currently bound targets
* This prevents the UI from showing confusing results when the currently
  bound state doesn't match what's being cleared.
2017-07-17 11:33:50 +01:00
baldurk 44b74eb813 Refactor global hooking, to bring it into the C++ OS-specific code
* This way it can be used from Qt or any other UI as well.
* The pipes are created internally and just passed as stdin to the
  renderdoccmd processes instead of being named pipes.
2017-07-12 12:41:39 +01:00
baldurk 79101c7b13 Move DXBC shader friendly naming logic into C++ side code
* This makes more sense and lets us share it between Qt and C# UIs.
2017-07-05 20:37:49 +01:00
baldurk 13bf08a99e Remove disassembly from shader reflection, request it on demand 2017-07-05 16:31:44 +01:00
baldurk bdf2a68c71 Add shader's ID and entry point to the shader reflection struct
* This allows better identification of a shader from its reflection
  bundle. The entry point was already 'optionally' in the debug info
  struct which is no longer a great location for it.
* For APIs where the entry point isn't contractual and it might not be
  listed, instead we just fall back to 'main'. This means that the UI
  or anyone fetching the info can be guaranteed that some sensible entry
  point will be listed.
* Also for the debug info, remove the 'entryFile' index and instead just
  guarantee that as much as possible the entry point will be in the
  first file in the list.
2017-07-05 16:29:26 +01:00
baldurk aa34cf131b Change KeyUp to KeyDown event so we don't get false positives. Refs #674
* If we pick up on keyup, it might be a keypress from somewhere else
  (like a dialog) that was released on our control. Instead we should
  look for keydown.
2017-06-23 21:44:21 +01:00
baldurk 1dc3f65445 Handle some edge cases around samplers being lumped in with RO resources 2017-06-21 11:05:40 +01:00
baldurk 90077f54ee Make sure to skip padding registers when enumerating D3D12 bindings 2017-06-21 11:02:44 +01:00
baldurk ec8aa67ed3 Fix mismatching enums between C# and C++. Refs #665 2017-06-20 17:11:21 +01:00
baldurk abcfcfd8a4 Display resolve attachments with other framebuffer outputs in UI 2017-06-16 15:59:39 +01:00
baldurk e0104e8fe0 Allow configured adb path to be empty, look for adb in shipped path
* On windows we ship adb.exe under android/ so that there's no configure
  needed. Look for that file if there isn't an override path.
2017-06-15 05:28:07 -07:00
baldurk 6423a82d18 Add support for multiple connected android devices
* We forward a different range of ports to each device so we can pick
  and choose which to communicate with based on its index.
* The index is encoded in the 'hostname' like so: adb:X:deviceidhere
* Whenever we want to interact with an android device we always specify
  the device, never leave it to a default.
2017-06-15 05:28:07 -07:00
baldurk ac3596aa6f Add config settings to renderdocui to avoid extremely dubious redirect
* IronPython >= 2.7.5, if installed, adds a *global* redirect so all
  programs (like renderdoc) that tried to reference the 2.7.4 they
  provided will instead get redirected to 2.7.5. Whether or not it even
  exists.
2017-06-13 14:56:40 +01:00
baldurk 13e9096f94 Decode JPG capture thumbnails to raw bytes before passing to the UI
* This removes the need to have JPG decode in qt.
2017-06-13 14:56:40 +01:00
baldurk 922263df83 Remove unused save dialog and use the proper dialog for error message 2017-06-02 17:56:39 +01:00
Arseny Kapoulkine 8154b93e2a Use case-insensitive comparison for process filter
This makes it easier to filter processes that have upper case letters -
for example, you can now type 'calc' to filter out 'Calculator'.
2017-05-25 00:19:18 -07:00
baldurk 87ec279f1c Update some forgotten Copyright years to 2017 2017-05-19 17:28:41 +01:00
baldurk 1f5f34e16c Bump version info to v0.35 2017-05-19 17:27:00 +01:00
baldurk d1db941275 Tweak a couple of lines to refer to renderdoc.org instead of github 2017-05-19 14:24:27 +01:00
baldurk 04433f4c3a Remove search for suffix on git commit hash in C# UI
* Instead we just add a comment next to a 'false' return, and it can be
  replaced in a build script.
2017-05-19 12:51:15 +01:00
baldurk 3d20a6be1f Fix GL pipeline state viewer brokenness. Refs #617 2017-05-17 19:50:49 +01:00
baldurk b69a71c885 Don't try to set line number on disposed python shell 2017-05-17 11:57:10 +01:00
baldurk 5986f209e1 Use Formatter::Format for formatting hex numbers 2017-05-15 10:11:55 +01:00
baldurk 50a02d713d Only apply ctrl-left/right shortcut when it doesn't conflict. Refs #542
* We only apply it for non-textbox controls since there ctrl-left and
  ctrl-right move through words.
* Also only apply it while a capture is open.
2017-05-10 17:20:34 +01:00
baldurk 886d6f608b Fix case that samplers are now "IsSRV" (renamed to IsReadOnly elsewhere) 2017-05-10 17:20:33 +01:00
baldurk 6e5a744b1a Remove some CodeAnalysis lines in the csproj that were causing a warning 2017-04-27 19:47:49 +01:00
baldurk 0f8e25a103 Fix a case where descriptor bind length wasn't being checked for ~0U 2017-04-27 19:47:48 +01:00
baldurk f415681f65 Expose a function to fetch the debug overlay's texture ID 2017-04-27 15:16:34 +01:00
baldurk 9759911ffd Clamp progress value to 0.0 - 1.0 before updating progress bar
* Speculative fix for a reported crash
2017-04-26 20:47:04 +01:00
baldurk bffea4c788 Don't handle filesystem watcher callbacks once texture viewer is closed
* Fixes a reported crash
2017-04-26 20:47:04 +01:00
baldurk d406a0bf76 Fix highlighting of vertex attributes/vertex buffers on GL pipeline view 2017-04-26 20:47:04 +01:00
baldurk dd56e91885 Add --python command line to renderdocui 2017-04-25 17:10:59 +01:00
baldurk 89c3b3bb78 Remove InvocationIndex enum from C# enum, which was forgotten before 2017-04-25 15:59:58 +01:00
baldurk 5848d00091 Fix reported crash - clamp row count input to non-negative value 2017-04-21 18:43:14 +01:00
Michael Vance 3c178e2124 Add an option to enable/disable fake markers. 2017-04-20 13:14:39 +01:00
baldurk 43eb5072b4 Remove 'magic constant' use of ~0U as invalid/skip/no result.
* In python it's not as quick to get ~0U since ints aren't unsigned or
  fixed size. Adding named constants makes it easier for people to use
  the right values, and C++ users can still pass ~0U.
2017-04-18 14:57:47 +01:00