Commit Graph

17 Commits

Author SHA1 Message Date
baldurk 9460fbd970 Add feature to globally hook processes to inject indirectly.
* This allows you to hook into processes that are difficult to launch
  directly with the existing functionality in RenderDoc.
* This is rather risky, as it modifies the AppInit_DLLs registry key to
  inject a small shim dll that checks for the desired process and injects
  the full renderdoc.dll. If that registry key got left, or if there was
  some incompatibility with the shim dll, you could have problems. It
  should only ever be used as a last resort if there's no other way to
  capture.
2014-10-05 13:57:11 +01:00
baldurk e0c57be087 Ensure large enough params buffer, respect & passthru NULL log path 2014-10-04 16:18:36 +01:00
baldurk 8d685de609 Reorganise 3rdparty, include breakpad with sln, drop mhook. Closes #84 2014-09-24 20:24:35 +01:00
baldurk 6fbb247efd Re-organise external-facing headers to be more easily used
* renderdoc/api/replay/ contains all the headers for using the replay and
  analysis side of renderdoc (like in a UI or auto-testing tool)
* renderdoc/api/app/ contains the headers if you wanted to write a
  renderdoc-aware application.
2014-09-13 12:52:25 +01:00
baldurk 9e90eda3b5 Locate breakpad libraries via $(PlatformToolset)
* This means people building on VS2013 don't need to rebuild breakpad
  locally to link successfully.
* Committed binaries built on VS2012 Update 4 and VS Express 2013 for
  Desktop, which will hopefully work for everyone.
2014-09-11 18:59:32 +01:00
baldurk 2735de8b9a Clean up linux Makefile
* Compiler now used to generate dependencies via -MM
* Object files are put into .obj folder rather than loose next to the
  source files
2014-09-10 18:20:22 +01:00
baldurk 3e45d2775b Factor version number out in C++ code
* Fewer places to update with the version number.
* Linux can now use this natively rather than passing via Makefile var
2014-09-09 23:39:59 +01:00
baldurk 89e90f8c36 Replace mip selection with sample idx when viewing Tex2DMS. Refs #79
* Also for float/unorm texture add an additional "resolved" option that
  just does an unweighted average of all samples, which is the behaviour
  from before (assuming that's what ResolveSubresource does).
2014-08-29 01:54:14 +01:00
baldurk 61b82bbbb8 Update version number in makefiles 2014-08-25 16:54:07 +01:00
baldurk 4ccc7d3901 Update email in code & add menu item for nightly builds 2014-08-22 08:13:21 +01:00
Baldur Karlsson 9fda74fc07 Add a button on the texture viewer that flips the tex in Y
* Useful for systems that render OpenGL upside down with a final flip,
  for example.
2014-07-28 10:28:28 +01:00
Baldur Karlsson 2ac456a1d4 Check creation flags to see if it's backbuffer color, not name 2014-06-19 16:04:45 +01:00
baldurk d7e752f7e9 Fixes for compiling on linux 2014-06-08 11:19:22 +01:00
baldurk 0f080d1f44 Cleaned up renderdoccmd, split out necessary bits to OS-specific files 2014-06-08 11:00:41 +01:00
baldurk 772fd94336 As a slight hack, reference glXWaitGL to pull in libGL in the right order
* Basically we want libGL to be loaded second, after librenderdoc. This is
  in order to make sure dlsym(RTLD_NEXT) can work.
* This can be done just by order in the ld command. Unfortunately since
  renderdoccmd links directly against librenderdoc (rather than LD_PRELOAD)
  any symbols exported by librenderdoc resolve, so unless we reference a
  function that isn't exported by librenderdoc, libGL won't be linked in
  at all.
* I realise this is probably a horrible hack, but it works for now.
2014-06-07 13:50:26 +01:00
baldurk 253f47c097 Get linker parameter order correct for dependency resolution 2014-06-03 21:10:21 +01:00
baldurk c38affcded Initial commit of existing code.
* All renderdoc code up to this point was written by me, history is available by request
2014-05-02 08:33:01 +01:00