Commit Graph

3888 Commits

Author SHA1 Message Date
baldurk 9acd1777cd Fully initialise structure 2016-09-02 14:48:07 +02:00
baldurk cec838fe5d Print more useful error message for unexpected cbuffer types 2016-09-01 17:54:30 +02:00
baldurk f0d4547480 Don't try and bind a non-layered texture with a specific layer to an FBO 2016-09-01 17:45:57 +02:00
baldurk e83bb9d7e9 Look up a real Window from a GLXWindow so we can do XGetGeometry 2016-09-01 17:45:57 +02:00
baldurk 20c6a461bb Make sure to export the full GLX API set of functions
* This helps fix capture on glfw on linux
2016-09-01 17:45:57 +02:00
baldurk e96f980e66 Handle renderpasses with implicit attachment transitions. Closes #212
* We need to make sure we track these transitions, both during capture
  (so we have the right initial image states at frame begin), and during
  replay.
* Likewise when repurposing a renderpass for isolating a drawcall, we
  need to make sure the image layouts aren't transitioned - especially
  from UNDEFINED - otherwise we'd end up with garbage data.
2016-09-01 17:45:57 +02:00
baldurk 9c0f20c6b0 Take parameter as const to emphasise that it's read-only 2016-09-01 17:45:57 +02:00
baldurk f873ac57be Comment out mostly harmless assert that first on UE4 constantly 2016-09-01 17:45:57 +02:00
Baldur Karlsson 87cd2b43f0 Merge pull request #343 from michaelrgb/master
Fix replaying on 32bit ARM devices.
2016-08-31 22:36:21 +02:00
Michael Rennie 0ab8627353 Fix deserialising uint64_t on 32bit ARM device. 2016-08-31 18:06:04 +01:00
Michael Rennie 8a5efd8c8d Handles are typed on 32bit, so cant take pointers.
"error: passing NULL to non-pointer argument"
2016-08-31 17:56:10 +01:00
baldurk 5715731894 Prompt to add if an env var is being edited when the dialog is closed 2016-08-30 17:54:21 +02:00
baldurk 1faf46ddc5 Handle StaticExports.GetVersionString() being missing
* If the user is somehow running a really new UI with old DLL, handle
  the exception and continue to allow the user to update without
  crashing.
2016-08-30 17:37:06 +02:00
baldurk bb5f8c9bec Pick up UAV byte address buffers when guessing resources. Refs #342 2016-08-30 17:25:33 +02:00
baldurk b6c4e3c612 Don't trash view from tag, to avoid aliasing multiple views of same buf 2016-08-30 17:05:16 +02:00
baldurk 6a7ccb9670 Check if views have the raw flag first before checking struct size 2016-08-30 16:58:39 +02:00
baldurk fb418f883e Add a button to pipeline state view to save shader raw contents to file
* The exact contents depend on the API - on D3D11 this is the bytecode
  blob, on Vulkan it's the SPIR-V. On OpenGL it is just a concatenation
  of all the source files passed in sequence.
2016-08-30 16:43:52 +02:00
baldurk c587e24509 Add documentation of network capture & replay workflow 2016-08-30 14:39:04 +02:00
baldurk 4c3dc549d1 Remove mention of beta builds 2016-08-30 14:38:45 +02:00
baldurk 4573c9c20f Update docs of in-application API to 1.1.1 2016-08-30 14:38:35 +02:00
baldurk 226ce7a5ce Remove line about missing features that are now implemented 2016-08-30 14:38:07 +02:00
baldurk 8ad29b1bce Add documentation for local-replay option 2016-08-30 14:37:42 +02:00
baldurk a35c88e577 Close some minor UX holes when live-connected but without replay context
* If there's no replay context we can still use the live connection to
  copy and delete captures remotely. Try to use that whenever possible
  and warn the user when it's not possible (i.e if the program has been
  closed and there's no replay context, we have no way to access the
  files anymore).
* If the user tries to open a remote log without a replay context,
  prompt them either to swithc to a replay context on that host or to
  save the log locally.
2016-08-30 11:55:36 +02:00
baldurk 279aa72064 While cross-compiling, force a host-side build of include-bin 2016-08-30 10:49:23 +02:00
baldurk a875a33f7f Display a prompt if a capture file is about to be lost/leaked
* This can happen if the program is closed, and no remote replay context
  is active. Unlikely locally, the UI cannot natively save or delete
  temporary captures.
2016-08-29 20:28:25 +02:00
baldurk accbeb577a Give the suggest remote dialog a proper title 2016-08-29 19:42:56 +02:00
baldurk 90beef8f3c Allow live capture windows to stay open if switching ctx to that host 2016-08-29 19:42:48 +02:00
baldurk 13b09e410b don't allow switching to the connected host 2016-08-29 19:42:17 +02:00
baldurk a6b54e33fd Don't auto-open a solo capture if we're not remote context'd to the host 2016-08-29 19:42:09 +02:00
baldurk db944cc484 Disable live capture buttons when connection is closed 2016-08-29 16:57:00 +02:00
baldurk 0b359468e6 Handle remote disconnects somewhat gracefully in the virtual file dialog 2016-08-29 16:29:29 +02:00
baldurk 3b74dbc079 Set an appropriate icon for the virtual open file dialog 2016-08-29 16:14:09 +02:00
baldurk bf210bbe23 Fix crash if selecting / on linux path browser 2016-08-29 16:13:29 +02:00
baldurk c05380cdf5 Add cancel buttons (which respond to escape) to a couple of dialogs 2016-08-29 16:12:58 +02:00
baldurk a2edad4f48 Slight tweak to dialog message 2016-08-29 16:12:22 +02:00
baldurk 302cbd681a Lock properly to remove races while render thread is inactive 2016-08-29 16:12:12 +02:00
baldurk 1efaca1883 Store view with EventUsage, and use to filter pixel history. Refs #341 2016-08-29 15:35:33 +02:00
baldurk 4f7f00a9c6 Don't try and query for immutability or fill out mips on buffer textures 2016-08-29 15:35:32 +02:00
baldurk e83fa057f3 Handle querying out cubemap face of FBO separate from layer. Refs #341
* In GL although the ARB_dsa extension allows binding of cubemap faces
  as if they were a 2D array (you know, the sane way), it doesn't let
  the queries return the cubemap face to the LAYER query. Instead it
  needs a separate query of CUBE_MAP_FACE.
2016-08-29 15:35:31 +02:00
baldurk 067b991561 Re-jig remote manager GUI a little for better user flow 2016-08-26 17:27:28 +02:00
baldurk d98b4c0f97 Fix potential crash if timer check/probe is happening during shutdown 2016-08-26 17:04:31 +02:00
baldurk 52cf19e3b3 Fix possible crashes if remote hosts are deleted during processing 2016-08-26 16:04:07 +02:00
baldurk 2d5de256d9 Delete new VS2015 incremental pdb/obj files from dist folders 2016-08-26 14:01:46 +02:00
baldurk 258da93e94 Speculative crash fix - ensure prev array slice is in valid range 2016-08-26 13:52:46 +02:00
baldurk 72c4a43875 Remove sandcastle help file builder project - switched to sphinx now 2016-08-26 13:44:56 +02:00
baldurk e3a11dc453 Remove use of non-portable egrep in scripts 2016-08-26 13:44:10 +02:00
baldurk 74bd568724 As a last fallback for locating qrenderdoc, return the binary name
* This way if the binary is in the PATH somewhere but not in any of our
  expected locations, we can still execute it.
2016-08-26 13:35:55 +02:00
baldurk d3e4790ee8 Add command to renderdoccmd that will handle vulkan layer registration
* This is similar to the button on the capture dialog of the windows UI,
  except on linux the situation is a bit more complex as layers can be
  registered in two different system locations (one for distro packages
  and one for non-distro stuff), as well as in $HOME.
* On linux we make sure the json always contains an absolute path so we
  can tell from any given build whether or not a json is our own or not.
* By default we now install the json to /etc since /usr is reserved for
  proper distro packages, and shouldn't be written to by 'make install'.
  There's a CMake variable for overriding this for anyone who wants to
  make install into a custom folder (maybe for packaging).
2016-08-26 13:35:31 +02:00
baldurk 3693a17c73 Tiny tweak to renderdoccmd usage output 2016-08-25 21:07:40 +02:00
baldurk 96e0444183 Hook up SO stream elements to open buffer viewers properly. 2016-08-25 21:07:40 +02:00