Commit Graph

6624 Commits

Author SHA1 Message Date
baldurk 03a0a06f60 Remove use of itoa (not portable) 2017-12-15 18:12:01 +00:00
baldurk 8c5f14436f Add cmake option to strip the output of android builds 2017-12-15 17:33:56 +00:00
baldurk 8d5a621ee1 Re-enable python API docs 2017-12-15 17:33:55 +00:00
baldurk 229febfbcb Update python API references to latest renames/reorganisations 2017-12-15 17:33:54 +00:00
baldurk f27e5d48f6 Fix typo in in_application_api restructuredText, missing colon on param 2017-12-15 17:33:54 +00:00
baldurk 2460bc998d Add sphinx_paramlinks extension and use :paramref:`` to reference params 2017-12-15 17:33:53 +00:00
baldurk 8d29758851 Remove members of public structs called 'bytes'
* It is at best confusing, and at worst could cause errors by aliasing
  with the python type.
2017-12-15 17:33:53 +00:00
baldurk de6e95845c When specifying a built-in type return type, always put it in ``s 2017-12-15 17:33:52 +00:00
baldurk 0c0c2969df Add python modules to default VS .sln 2017-12-15 17:33:51 +00:00
baldurk cc442b7aee Fix compilation of python modules on windows and rename generated files 2017-12-15 17:33:51 +00:00
baldurk 1a6db595a0 Ignore -Wmaybe-uninitialized on GCC. Refs #815 2017-12-15 12:28:41 +00:00
baldurk 1c9addae52 Skip raw filetype when enumerating texture save formats 2017-12-15 12:28:41 +00:00
baldurk 51cd28b62f Add ToStr case for raw filetype 2017-12-15 12:28:41 +00:00
baldurk 84220b9aaf Fix uninitialised data in rich resource text layout Refs #820 2017-12-15 12:28:41 +00:00
Richard Khoury a1c8d1d256 Missed a file change from the previous commit. 2017-12-15 13:20:26 +01:00
Richard Khoury 61b227580d Removing unnecessary addition of the ReplayOutput::GetTextureDisplay.
This member function wasn't required and the TextureDisplay was
accessible from within the TexxtureViewer as m_TexDisplay.
2017-12-15 13:20:26 +01:00
Richard Khoury 937c8e7c91 Missing Qt UI file change from previous commits. 2017-12-15 13:20:26 +01:00
Richard Khoury d8bc07f945 Added ability to save out overlay textures using the TextureSaveDialog.
This is part of the work specified by github Issue 586, allowing the
ability to save out the overlay in the TextureViewer.  If no overlays
are on then there is no option to save the overlay. Currently there is
no option to remap the overlay to a grayscale or absolute value range
before saving. This can be a future task.

NOTE: the overlay texture resource that's saved out is not the blended
texture that the user will see in the TextureViewer, it is just the
overlay itself. The ability to save out the blended texture would be a
future task.
2017-12-15 13:20:26 +01:00
baldurk a68e55e814 Add fallback for determining LibGit2SharpPath
* Relying on $(DevEnvDir) won't work when invoking msbuild directly in
  e.g. a build process, so instead we look relative to $(VSInstallDir).
2017-12-15 10:26:17 +00:00
baldurk 92aaf0d547 Fix memory alignment checks and error message format strings. Refs #821 2017-12-14 18:51:05 +00:00
baldurk 0c10b20bc6 Fix comment for GetIBuffer 2017-12-14 18:45:45 +00:00
baldurk 64ab04c42c Fix display of live chunk count 2017-12-14 18:39:18 +00:00
baldurk 26d879df12 Hide renderdoc's packages from enumerated list 2017-12-14 16:46:59 +00:00
baldurk 316cb41af2 Set a proper title for the virtual file browser 2017-12-14 16:45:39 +00:00
baldurk 78890e9c30 Tweak emphasis in vulkan layer patching message, to focus on Vulkan req. 2017-12-14 14:50:35 +00:00
baldurk b3e48a7576 Add search logic to find android tools automagically, which we ship
* We search first in specified folders by the user (they can browse to
  the android SDK and java JDK).
* If the tools we want aren't found there, we look relative to the UI
  as we now distribute the required tools with windows builds.
* If we still don't find them, we prefer to look in PATH since the user
  has 'opted in' to any tools found in there. If the tool isn't in PATH
  either then we look relative to known environment variables.
2017-12-14 14:38:39 +00:00
baldurk f62096f986 Remove ntohl from GetRemoteIP on android (Thanks @cnorthrop for catch)
* Since android uses local abstract sockets, this seems to not be needed
2017-12-14 13:42:54 +00:00
Peter Gal bca909adef Android abstract socket
Replace Android TCP communication with unix abstract sockets.
This makes it possible to not require INTERNET permission for
Android applications.
2017-12-14 13:41:06 +00:00
baldurk 8c241f13b7 Remove hash_version.sh - no longer needed on windows now
* The VS project fetches the git hash if we're in a git clone inside the
  build process.
2017-12-14 13:36:10 +00:00
baldurk ac5574c5c7 Fix sizing of pages column on left side of settings dialog 2017-12-14 13:33:03 +00:00
baldurk db0e2400f8 Disable vulkan validation layers that were accidentally enabled 2017-12-14 12:48:48 +00:00
baldurk fcba572fb2 Don't set -DSWIGWORDSIZE64 on apple, where uint64_t typedef is different 2017-12-14 10:26:25 +00:00
baldurk 1fe736fdab Also don't pass -Wno-unused-lambda-capture on apple's clang 2017-12-14 09:11:11 +00:00
baldurk 965bcac6ea Try again to detect clang 5.0, because cmake doesn't have a version >= 2017-12-14 02:21:07 +00:00
baldurk 60becb1bb3 Only pass -Wno-unused-lambda-capture on clang 5 and above 2017-12-14 01:33:43 +00:00
baldurk 7838e2c0c6 Disable -Wunused-lambda-capture which complains about nonsense sometimes 2017-12-14 00:20:52 +00:00
baldurk 1752a96ba9 Specify -DSWIGWORDSIZE64 on linux to fix problems with uint64_t on swig 2017-12-13 22:43:06 +00:00
baldurk 53e669748e Add emulation of python list functions/interface in rdcarray bindings 2017-12-13 22:43:05 +00:00
baldurk a75a036a12 Add operator== and operator< to many interface structs
* This will enable the last few python list emulation functions, like
  index (which needs operator== to find objects) and sort (which
  obviously needs operator< to sort).
2017-12-13 22:43:03 +00:00
baldurk 0b527fab49 Use rdc types instead of Qt containers in public QRenderDoc interface
* This is to support python bindings - the pyside implementation of
  QVector, QString, etc is not available to SWIG, so SWIG treates these
  all as opaque types.
* Rather than trying to set up bindings that work for rdcarray and
  QList/QVector, or implementing separate bindings, we instead just say
  that the public interface must use the rdc types. In most cases they
  seamlessly convert to/from Qt types anyway.
* In a couple of places we use an array of pairs instead of a map. In
  future we probably want an rdcdict or rdcmap with proper dict bindings
  in python.
2017-12-13 22:43:01 +00:00
baldurk d081623181 Removing a resource replacement also needs to clear PostVS cache 2017-12-13 22:02:06 +00:00
baldurk 910466ae41 Don't keep RDCFile file handle open in read-write mode when not writing 2017-12-13 22:02:05 +00:00
baldurk 584b3c041c Add functionality to return raw thumbnail bytes, not encoded
* This is useful if you want to retrieve the thumbnail for in-memory
  processing instead of writing it to disk immediately.
2017-12-12 14:30:09 +00:00
baldurk f76ef57b43 Add R10G10B10_XR_BIAS exception to DXGI format unit tests 2017-12-11 21:16:28 +00:00
baldurk 9b9c74ec03 Fix transform feedback pipeline state display 2017-12-11 20:12:02 +00:00
baldurk 1c44f91cb8 Change vulkan/D3D12 to always re-record any cmd buffers being submitted
* Previously we'd cache a copy of each command buffer at load time, and
  submit it any time we're not partially re-recording. This has a couple
  of drawbacks though:
  - Technically we do some things that invalidate those command buffers,
    like updating descriptor sets (with initial state application) and
    so for 100% correctness we'd need to re-record.
  - It also means that any edits we apply, like modified shaders, don't
    properly apply to the whole frame, they only apply to whichever
    command buffer is currently being partially recorded.
* We refactor out the 're-record all commands' behaviour previously
  reserved just for applying GPU counters, and use that for re-recording
  any command buffers that are wholly or partially submitted. Note that
  it's still true that only one primary and one secondary at most are
  actually *partially* re-recorded. The others are re-recorded in their
  entirety.
2017-12-11 19:37:40 +00:00
baldurk 9099e7a8c5 Add missing break statement in switch 2017-12-11 19:37:39 +00:00
baldurk f693a9fadc Remove dependent temp replacement pipes when removing shader replacement 2017-12-11 19:01:44 +00:00
baldurk 6547c6db94 Fix DXBC reflection - search file *contents* not filename for entry func 2017-12-11 19:01:43 +00:00
baldurk 470514bd48 Don't return DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM for float typeHint
* We almost always mean DXGI_FORMAT_R10G10B10A2_UNORM instead and the
  xr bias format is rarely used (so unlikely to be the right
  interpretation) and might not work at all.
2017-12-11 19:01:42 +00:00