Commit Graph

3868 Commits

Author SHA1 Message Date
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
baldurk 8897a1295a Handle parameters to SOSetTargets being NULL, use defaults. Refs #338
* It seems like actually ppSOTargets can only be NULL if NumBuffers is
  0, but the D3D runtime will happily accept a null pOffsets and just
  act as if it's full of -1 (which means append)
2016-08-25 21:07:40 +02:00
baldurk 90604c6d9c Print custom lines of API support on the version string of renderdoccmd
* An easy way to check what support is compiled into this binary.
2016-08-25 21:07:40 +02:00
baldurk 6819f22181 Tweak aliases for help/version to cover a couple of more cases 2016-08-25 21:07:40 +02:00
baldurk 5393d939fd Fix crash if replay renderer doesn't create 2016-08-25 21:07:40 +02:00
baldurk ced197abe3 Only enable stdout/stderr log output after main initialisation
* This suppresses lines like "RenderDoc v0.31 x64 (...) loaded in replay
  application" which are only useful for the logfile and not for actual
  user output.
2016-08-25 21:07:40 +02:00
Baldur Karlsson bbcc9960ee Merge pull request #339 from michaelrgb/master
RenderDocCmd.apk arguments, plus Internet permissions to use sockets.
2016-08-25 16:32:41 +02:00
Michael Rennie 80b2974b7e Pass in apk parameters via am start ... -e renderdoccmd "args"
Examples:
adb shell am start -n org.renderdoc.renderdoccmd/.Loader -e renderdoccmd "remoteserver"
adb shell am start -n org.renderdoc.renderdoccmd/.Loader -e renderdoccmd "replay /sdcard/capture.rdc"
2016-08-25 14:42:14 +01:00
Michael Rennie e95813c5ae RenderDocCmd.apk requires Internet manifest permissions to use sockets.
Also cleaned up the manifest file.
2016-08-25 11:54:49 +01:00
baldurk 5d859dfe5a On linux set the rpath to $ORIGIN so that librenderdoc.so will be found
* Distributions will just be a tarball with binaries and library, so if
  the user doesn't install it somewhere in LD_LIBRARY_PATH, we want it
  to still work.
2016-08-25 11:48:30 +02:00
baldurk 963a2deb71 Fix if() being backwards 2016-08-24 18:39:59 +02:00
Norbert Nopper b180aaaf11 Last, maximum wait time is 32 milliseconds. 2016-08-24 18:34:56 +02:00
Norbert Nopper 3dad918ad1 Increased wait time and changed retries for gathering proc entry.
(Not tested)
2016-08-24 18:34:49 +02:00
Norbert Nopper e46c41b4e7 Added UNKNOWN vendor.
Otherwise member variable can be uninitialized.
2016-08-24 17:10:30 +02:00
baldurk 17d53d8129 Fixes for browsing NT paths 2016-08-24 17:09:26 +02:00
baldurk 136342b056 Add handling in GL for certain uncompressed special formats 2016-08-24 15:54:00 +02:00
baldurk c539510da8 Only flip uncompressed texture data out of GL when saving to disk
* When transferring over the network, we keep texture data consistently
  in GL origin-bottom-left order. This means we can just flip images on
  display and otherwise have things consistently behaving, while still
  preserving the behaviour of flipping on saving to disk to try and
  mostly 'do the right thing' when saving an image.
* The behaviour should be the same as before except for remote proxying
  which is fixed. The behaviour for GL is still that compressed images
  saved as compressed will appear to flip vertically from what is
  natively displayed in the UI, but I think this is the only sensible
  way to behave (and anyway, flipping compressed images is far too
  involved to be worthwhile).
2016-08-24 15:53:59 +02:00
baldurk c3e6f58580 Fix incorrect enum being passed to compressed format check 2016-08-24 15:53:59 +02:00
baldurk e8e3d50c86 Expose the different local and remote renderers to the UI 2016-08-24 15:53:58 +02:00
baldurk a4bf27098a Fix a overlay issue, glyph texture didn't have MAX_LEVEL set 2016-08-24 15:53:57 +02:00
baldurk c500c326f3 Add a sleep into remote server status checks so back-to-back checks work
* Without this sleep, a second CheckStatus() could actually receive a
  busy signal on localhost (or a sufficiently fast connection or slow
  computer) because the last client hang-up hasn't completed by the time
  the next connection comes in.
2016-08-24 15:53:57 +02:00