Commit Graph

398 Commits

Author SHA1 Message Date
baldurk 29e78c467e Set tab order on the form 2014-09-16 19:52:23 +01:00
baldurk eccf3fc052 Handle overwrite & invalid path on save click to validate filename 2014-09-16 19:52:23 +01:00
baldurk 73f624b922 In GetTextureData don't use rawoutput, but force no-blend
* This allows the range min/max to apply when rendering down to RGBA8
2014-09-16 19:05:21 +01:00
baldurk 339ee48ea6 Texture save dialog should be non-sizeable 2014-09-16 19:00:34 +01:00
baldurk 5a7c4201aa 64bit compile fix 2014-09-16 01:30:29 +01:00
baldurk e81169f021 Add a dialog to guide users to selecting available save options 2014-09-16 01:27:08 +01:00
baldurk 326ca2ebe8 Move SaveTexture logic to replay layer
* Expand the abilities of the GetTextureData in replay drivers
  to be able to resolve samples and render down to RGBA8 unorm
  for file export to other programs.
* Greatly improve the ability to save textures - in theory any
  texture format/type/dimension/etc should now be mappable in
  sensible & useful ways to output formats.
2014-09-16 01:25:13 +01:00
baldurk 9f62428f7f Move DDS writing code out from d3d11 driver 2014-09-16 01:18:00 +01:00
baldurk 8ba8041a2a Add variants to stb_image_write that take FILE* instead of filename 2014-09-16 01:16:55 +01:00
baldurk 1c77f6d27e In GetTextureData() handle MS textures as if they were arrays
* Client code is expected to handle this and request arrayIdx N for the Nth
  sample (possibly offset if it's an array of MS textures).
2014-09-16 01:16:55 +01:00
baldurk cf2511727b bugfixes to CopyTex2DMSToArray and CopyArrayToTex2DMS 2014-09-16 01:16:54 +01:00
baldurk 3a3a8a8578 Move InitRemoteAccess to app API 2014-09-15 07:50:07 +01:00
baldurk eee0740874 Remove old file no longer in project 2014-09-15 07:49:28 +01:00
baldurk 72e2ed1513 Remove UNorm_SRGB component type as it's redundant 2014-09-14 20:29:25 +01:00
baldurk 6f9e8f3002 Linux compile fixes 2014-09-14 16:51:11 +01:00
baldurk 69fec43309 Add API to set which keys trigger cap etc in-program
* Not exposed in the UI to be able to configured just yet, but it can be
  set by a program that's renderdoc-aware.
2014-09-14 13:17:00 +01:00
baldurk 599a182c30 linux compile fix 2014-09-13 19:59:03 +01:00
baldurk bda68c8ba6 CBuffer window is a dialog now, with ability to set custom layout 2014-09-13 18:48:39 +01:00
baldurk d9104b73c3 Set Debug Messages title correctly 2014-09-13 18:48:38 +01:00
baldurk 475c0dab7c Improve type display in constant buffer previewer 2014-09-13 18:48:37 +01:00
baldurk 1a2831a52e Update help text 2014-09-13 18:48:37 +01:00
baldurk 67b8b4521a Add api for applications aware of renderdoc to get list of captures 2014-09-13 13:19:34 +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 fd7c18ffde Handle case where file is empty (don't index invalidly). 2014-09-12 23:29:13 +01:00
baldurk 035570d054 Set the right render target slot when fetching shader output value 2014-09-12 19:17:39 +01:00
baldurk a854fbcc5a Update replay proxy serialisation functions for new members 2014-09-11 19:56:10 +01:00
baldurk 4cca4f90f1 ReplayRenderer takes over ownership of ProxySerialiser 2014-09-11 19:52:14 +01:00
baldurk 974f57279c Fix winsock deprecation warning on inet_addr
* It appeared suspiciously after I installed VS2013 Update 3, even when
  compiling on VS2010...
2014-09-11 19:01:43 +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 35884170eb In D3D11 support setting friendly names on shaders 2014-09-10 18:25:29 +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 48748936ba Set installer version via env variable from the code version 2014-09-09 23:59:04 +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 3d0fe01a56 Add stb_impl to linux Makefile 2014-09-09 23:00:22 +01:00
baldurk b8af0fa144 Compile fix for gcc (or others where 'and'/'or' are keywords) 2014-09-09 22:57:07 +01:00
baldurk 03b6e01d1b Add Radiance RGBE .hdr writer to stb_image_write.h 2014-09-09 01:38:10 +01:00
baldurk f443a40b06 Move stb_impl to a C file so I can test that changes compile 2014-09-09 01:07:18 +01:00
baldurk c1f92dd3d5 Add stb_image.h and stb_image_write.h from http://nothings.org 2014-09-08 19:31:07 +01:00
baldurk 9f1b3362ea Better handling of cubemaps, requiring dx10 header to pass array size 2014-09-07 20:13:15 +01:00
baldurk 24088b6e09 Update README in a few places
* Tweaked links and rearranged a few things
* Updated the building section with instructions for VS2013 or express
2014-09-07 13:42:13 +01:00
baldurk a88fec729d Add a little USE_DIA for anyone building on VS express to disable
* The DIA SDK is only available on VS pro and above, but it's only needed
  to be able to resolve symbols in the pdblocate helper program. So we add
  a little define that makes pdblocate instantly quit, and then symbol
  resolution just fails.
2014-09-07 13:22:46 +01:00
baldurk 0ff9cccbde Release compile fix, remove GetDescDirect as it's a hazard :/ 2014-09-07 10:46:13 +01:00
baldurk 4d05273bc1 Fix loading settings not working with the working-dir hint 2014-09-06 16:28:34 +01:00
baldurk 982b32cc5e Better handling for when app state had depth enabled but not bound 2014-09-06 15:13:17 +01:00
baldurk 68157814ad Mark pixel history events as UAV writes and display before/after 2014-09-06 13:28:58 +01:00
baldurk 640d8aac49 Don't include Present() with others in auto-marker groups 2014-09-06 12:59:29 +01:00
baldurk ea40e40c9b Allow helper/inactive pixels to continue running
* To get correct ddx/ddy results we have to keep helper/inactive pixels
  running along to query from. Just don't allow them to modify global UAV
  data
2014-09-06 12:22:38 +01:00
baldurk 543165cece Give the shader viewer a better disambiguating title when debugging 2014-09-06 11:45:51 +01:00
baldurk 490c9a1fcb Some programs fatal error if SetFullscreenState fails :(. Lie instead
* A bit silly since this can fail for plenty of legit reasons and you could
  just fall back to windowed. So instead we'll just return S_OK and pretend
  everything went swimmingly
2014-09-06 11:42:30 +01:00
baldurk bfffc2110a Change settings title to 'Settings' not SettingsForm 2014-09-06 11:32:27 +01:00