Commit Graph

3991 Commits

Author SHA1 Message Date
Baldur Karlsson 6e7f2dadce Merge pull request #360 from michaelrgb/master
Add offset to Android network ports, to differentiate from localhost.
2016-09-15 17:09:32 +02:00
Michael Rennie ab71450fb0 Add offset to Android network ports, to differentiate from localhost.
This requires adb forward to include the offset, for example:
adb forward tcp:38970 tcp:38920
adb forward tcp:39970 tcp:39920
2016-09-15 13:42:05 +01:00
baldurk 6521a6b782 [Coverity] Fix some null checks 2016-09-14 18:28:53 +02:00
baldurk e88722f000 [Coverity] String.Replace is not in-place but returns a new string 2016-09-14 18:28:52 +02:00
baldurk b8fc0c91eb [Coverity] Remove redundant assignment 2016-09-14 18:28:52 +02:00
baldurk 3ce3fbe025 [Coverity] Fix some possible divide by 0 cases 2016-09-14 18:28:51 +02:00
baldurk 361498a735 [Coverity] Fix some copy-paste errors in CopyDescriptors 2016-09-14 18:28:42 +02:00
baldurk 25465cb247 [Coverity] Fix some uninitialised values 2016-09-14 17:53:54 +02:00
baldurk c9eeef3151 [Coverity] Add proper NULL check before comparison 2016-09-14 17:41:14 +02:00
baldurk 31a06effb6 [Coverity] File closing was inconsistent between success/error paths 2016-09-14 17:39:26 +02:00
baldurk 541c2f2d99 Add copies to ./bin for renderdoccmd & librenderdoc.so
* This allows qrenderdoc to link properly when opened directly in
  qtcreator, as otherwise it doesn't know where to link to the generated
  librenderdoc.so somewhere in CMake's build directory
2016-09-14 17:31:45 +02:00
baldurk 289289d2a1 Simplify root Makefile to just invoke cmake for everything
* It was building qrenderdoc separately for no good reason that I can
  tell.
2016-09-14 16:56:45 +02:00
baldurk 66bb732027 Add vcxproj for qrenderdoc to build locally without needing Qt SDK
* Currently non functional - relies on generated files in generated/
  and the relevant Qt headers/libraries under 3rdparty/Qt which won't be
  committed until qrenderdoc is added to the solution - not for a while.
2016-09-14 15:58:42 +02:00
baldurk 7a86b9cbb7 Put temporary files for windows Qt builds in a more conventional place 2016-09-14 15:12:54 +02:00
baldurk 221bb4ad65 Specify current exe directory as a path for Qt platform plugins 2016-09-14 15:12:14 +02:00
baldurk 76f2dd50ca Error out if Qt build is less than Qt 5 2016-09-14 14:05:57 +02:00
baldurk 7ca1c2237c Tweak default capture save behaviour to 'soft' remember dir. Refs #335
* Rather than exclusively always opening at the default directory, it
  will only do that until a capture has been successfully saved - then
  it will re-use that previous directory. This is only remembered for as
  long as RenderDoc is open, thereafter it will revert back to the dir
  specified in the options.
2016-09-14 12:15:11 +02:00
baldurk 2f8fd706db Change where remote lookup counter is inc/decremented for better results 2016-09-14 12:06:48 +02:00
baldurk 2736716aa1 Don't enum & add hosts until controls are properly created & available 2016-09-14 12:06:19 +02:00
baldurk b36fe219d9 Use default save directory from options. Refs #335 2016-09-14 11:40:03 +02:00
baldurk 0442401a57 Allow unsetting default save directory by entering blank. Refs #335 2016-09-14 11:39:39 +02:00
baldurk f03a2118ff Lock around captures, don't delete chunks that are being written out 2016-09-14 10:15:17 +02:00
baldurk 186d7785ec Bump version information to v0.32 2016-09-13 19:24:27 +02:00
baldurk 8213a992c9 Make sure deferred dirty marks don't get lost while not capturing v0.31 2016-09-13 16:07:57 +02:00
baldurk c10c487a02 Allow shutting down the active remote server 2016-09-13 16:07:57 +02:00
Baldur Karlsson c1a0b4857b Merge pull request #354 from michaelrgb/master
Android user experience fixes.
2016-09-13 15:55:39 +02:00
Michael Rennie b32bb1cc55 Keep target as Android package name instead of "unknown". 2016-09-13 13:00:13 +01:00
Michael Rennie 687744cf6d Save captures to /sdcard, so that APK can replay it immediately. 2016-09-13 11:01:06 +01:00
baldurk 4dc9857341 detect adb: (invalid in normal hostname) as android remote target
* For now, just redirect to 127.0.0.1 and assume the user has proper
  port forwarding set up, but in future we'd do this ourselves and maybe
  parse out a device name after the adb:
2016-09-12 20:05:51 +02:00
baldurk 80fbe84fb1 Don't crash if switching to a local context while a live capture is open 2016-09-12 20:04:59 +02:00
baldurk 588d6149cd Don't disable inputs when selecting localhost
* If there aren't any other host, then selecting localhost will still
  need to keep the option to add a new host
2016-09-12 18:20:45 +02:00
baldurk 6518d8bdf8 Don't rely on data files being exported from .so, add explicit function 2016-09-12 17:40:28 +02:00
baldurk 0feaba5a53 Handle glTexBuffer(buffer = 0) calls, and resizing buffers after create 2016-09-12 16:32:41 +02:00
baldurk 19cc4fa415 Make sure host (if non-local) shows up in connection window title 2016-09-12 15:36:08 +02:00
baldurk 0809778b26 Add a FAQ entry about hooking child processes 2016-09-12 15:09:25 +02:00
baldurk 46644e127f Add some introductory text to the in-application API about how to start 2016-09-12 15:09:13 +02:00
baldurk 0c009cd578 Fix a crash in vulkan pipeline state export to html 2016-09-12 14:28:46 +02:00
baldurk 39fae161d8 Add F3/shift-F3 for find forward backwards in event browser 2016-09-12 14:22:15 +02:00
baldurk 4e4b9e21ad Fix a crash with vulkan shader edit & replace 2016-09-12 14:15:06 +02:00
baldurk b493865349 Make members of TextureSave class not struct, so python can modify them 2016-09-12 12:51:14 +02:00
baldurk f588a21e05 Handle initial states of views better (don't try and copy data contents) 2016-09-12 11:50:24 +02:00
Baldur Karlsson 00a81cc065 Merge pull request #352 from bioglaze/bugfix
Fix glVertexAttribI3iv serialization
2016-09-11 19:16:09 +02:00
Timo Wiren 15b27c7a67 Fix glVertexAttribI3iv serialization 2016-09-11 19:49:41 +03:00
baldurk d43dbf7ce9 Scissors that cover the viewport should be 16384^2 not 4096^2 2016-09-11 09:30:50 +02:00
Baldur Karlsson 60ae11a6ae Merge pull request #351 from nlguillemot/master
Handle NULL arrays passed to GL_ARB_multi_bind functions
2016-09-11 08:53:42 +02:00
Nicolas Guillemot de4dfd043d coding style fixes 2016-09-10 22:29:36 -07:00
Nicolas Guillemot 105b81c1d8 handle NULL buffers in glBindBuffersBase
based on glBindTextures
2016-09-10 18:35:27 -07:00
Nicolas Guillemot b77a3c3eff handle NULL buffers in glBindVertexBuffers
based on glBindTextures
2016-09-10 18:24:11 -07:00
Nicolas Guillemot d48334049a handle NULL samplers array in glBindSamplers
fix based on glBindTextures
2016-09-10 18:15:47 -07:00
Nicolas Guillemot 1ee1d50b0a handle NULL textures array in glBindImageTextures
ported the fix from glBindTextures
2016-09-10 18:12:14 -07:00