Commit Graph

4527 Commits

Author SHA1 Message Date
Michael Rennie 7c4f0fd2e4 Android internal compiler error from array initialisers. 2016-11-11 20:34:04 +01:00
Michael Rennie 8e7c920ef0 Fix error MessageBox when failing to copy to remote host. 2016-11-11 20:34:04 +01:00
Michael Rennie b225731a2f Popup a dialog if we haven't granted Android storage permissions. 2016-11-11 20:34:04 +01:00
baldurk db27879ff7 Fix calculation of color luminance. 2016-11-10 22:01:00 +01:00
baldurk 9e22509521 Add resource file to qrenderdoc for icon and version embedded data 2016-11-10 16:22:35 +01:00
baldurk 01c0ec36b0 Update URLs to point to https:// 2016-11-10 16:19:16 +01:00
baldurk e6149a55ce Set replacement sampler for bias to the right slot, fix clamping 2016-11-10 15:30:36 +01:00
baldurk d600f686d4 Try to set constant buffers without offset, in case it works 2016-11-10 15:30:35 +01:00
baldurk 80eabd0f47 Fix cbuffer lookups to check register instead of expecting index 2016-11-10 15:30:35 +01:00
baldurk 8f265a76cf Fix usage calculation for constant buffers to match non-sparse cbuffers 2016-11-10 12:39:49 +01:00
baldurk ec32769395 Fix cbuffer indexing when preparing for shader debug. Refs #411 2016-11-10 11:47:17 +01:00
baldurk b843c38bdc Categorise remaining TODOs somewhat 2016-11-09 19:27:44 +01:00
baldurk d6a3086394 Pass in environment modification list when capturing 2016-11-09 19:27:18 +01:00
baldurk cff5da63eb Cache method index for GUIInvoke invokes to avoid string compares 2016-11-09 19:13:22 +01:00
baldurk 28f5bdcf9d Add a mostly-complete capture dialog 2016-11-09 18:35:48 +01:00
baldurk 27f1aa71a6 Use absoluteFilePath() when the filename is needed in the path 2016-11-09 18:34:08 +01:00
baldurk 2ccc157114 Add TempLogFilename() utility function 2016-11-09 18:33:38 +01:00
baldurk e53a854de3 Handle drag and drop into the main window 2016-11-09 18:18:56 +01:00
baldurk 9d264e1998 Fix error message when failing to load a capture 2016-11-09 18:17:57 +01:00
baldurk 2175404d4e Ensure message boxes happen on the main thread 2016-11-09 18:09:56 +01:00
baldurk 8b697f7055 Fix issues with FlowLayout not resizing properly in some cases 2016-11-09 13:26:21 +01:00
baldurk 5c850ac03a Enable action buttons in texture viewer when log is loaded 2016-11-09 13:24:10 +01:00
baldurk bb2f3a205c Move common Qt utility functions & JSON I/O together in a single place 2016-11-09 13:23:53 +01:00
baldurk 66298ea1ce Output moc/uic/rcc directly into generated/ folder for VS to use 2016-11-09 13:12:28 +01:00
baldurk 5ecd4f9437 Hold hooking lock for a shorter time to avoid deadlocks
* In particular, we don't want to hold this lock while potentially
  calling FreeLibrary as that could try to acquire the loader lock that
  another thread might be holding while waiting on our lock.
2016-11-09 12:01:34 +01:00
baldurk 7baf53c89b Do stencil copies before depth copies, to *actually* do workaround 2016-11-08 14:11:33 +01:00
baldurk 2b2eb1b96b Workaround failed depth copies on nvidia 2016-11-08 13:38:18 +01:00
baldurk 2ef5b469ea Fix VS2015 variable shadowing warnings 2016-11-07 20:14:37 +01:00
baldurk 4304b626ad Fix clang warning, remove redundant 0 in braces-initialiser 2016-11-07 19:42:52 +01:00
baldurk 5a243c4b42 Add an implementation of QOverload to avoid depending on Qt 5.6
* Also switch travis to 5.6 so we don't add a dependency on 5.7 by
  accident.
2016-11-07 19:22:56 +01:00
baldurk bcc2eec252 Allow a back-door UUID to query for the real ID3D11InfoQueue. Refs #418
* The user is responsible for making sure they don't break anything by
  getting the real interface - ie. not querying for anything else.
  Likewise the normal ability to record debug messages will be changed
  if they add any filters or retrieve messages before RenderDoc records
  them when capturing.
* API Validation still must be enabled via RenderDoc's capture options
  before device creation, one way or another.
2016-11-07 18:14:50 +01:00
baldurk 8d0915401f Unify feature macro handling 2016-11-07 18:14:49 +01:00
baldurk f1b247fa3d Don't change filetype to PNG while trying to invoke callback 2016-11-07 18:14:48 +01:00
baldurk f260d5e2c8 Don't display 'resolve samples' option for non-resolveable formats 2016-11-07 18:14:47 +01:00
baldurk 16c96f2399 Don't print performance warnings from vulkan validation layers 2016-11-07 18:14:47 +01:00
baldurk 7eca17b28a Check if we're on the replay context during replay for backbuffer state 2016-11-07 18:14:46 +01:00
baldurk 1603493244 Use glGetProgramiv for LINK_STATUS, not glGetShaderiv 2016-11-07 18:14:46 +01:00
baldurk 65e05a3196 Add support for serialising multisampled images in vulkan. Refs #193
* This also applies to stencil even in non-multisampled images.
* Serialisation applies to both network proxying data, initial frame
  contents at the beginning of a captured frame, and saving images to
  disk.
2016-11-07 18:14:45 +01:00
baldurk 3dc767415f Catch and handle exceptions when saving constant buffers to CSV 2016-11-04 21:45:10 +01:00
baldurk 6b9cf8dc89 Update glslang to e5e58cfee34dfd6126a770b4250c14ea9340a231 2016-11-04 21:45:10 +01:00
Michael Rennie a2bdda41ef S_IWRITE is an obsolete synonym of S_IWUSR. Not available on Android. 2016-11-04 16:54:26 +01:00
baldurk 1b475e017e Remove API text from capture pane's title 2016-11-03 17:41:26 +01:00
baldurk fa466fcca5 Only print spammy unknown GUID once. 2016-11-03 17:00:04 +01:00
baldurk 1f2c45a22f Remove log message about failed connections
* This could just be an attempt to connect to see if probe to see if a
  socket is listening, so don't spam the log.
2016-11-03 16:29:38 +01:00
baldurk 503484c9c8 Make checking for process children less aggressive 2016-11-03 16:16:56 +01:00
baldurk efb47c6712 Unwrap instance/device before calling down the G*PA chain. 2016-11-03 16:16:41 +01:00
baldurk e040249398 When selecting the final swapchain present, use present target
* It was using the last bound render target, which could be empty if
  state was reset before presentation. Instead we use the copy target
  listed in the present drawcall as the actual swap buffer presented to.
2016-11-02 23:39:35 +01:00
baldurk 5a5c576a33 Allow TGA and PNG to discard/flatten alpha as desired. Refs #407
* DDS will always save the format entirely literally, and the float
  formats do not support alpha processing currently.
* TGA and PNG will either discard the alpha and write entirely opaque,
  or they'll include it in the file. Blending to colour or checkerboard
  is not supported.
2016-11-02 23:39:35 +01:00
baldurk dc96853b39 Look up constant buffers properly via shader details in D3D11. Refs #411 2016-11-02 23:39:35 +01:00
baldurk 94eb512726 Fix copy-paste confusion between offset and count. 2016-11-02 23:39:35 +01:00