Commit Graph

5510 Commits

Author SHA1 Message Date
baldurk 481dfe994b Ensure each element in an array is vec4-aligned in cbuffer. Refs #618 2017-05-18 09:46:49 +01:00
baldurk 3d20a6be1f Fix GL pipeline state viewer brokenness. Refs #617 2017-05-17 19:50:49 +01:00
baldurk b94d13b838 Make sure linux log files don't get deleted while still logging to them
* We need to use file locks to ensure the last process knows it can
  delete the log, as well as delete any inherited file descriptors when
  forking to launch a new executable.
* To accomplish this, tracking the single logfile handle is now part of
  the OS-specific code instead of common logging code. It makes little
  difference either way as we don't support multiple log files.
2017-05-17 19:41:39 +01:00
baldurk 6df6d152f0 Increase maximum wait time to find the target control port after launch
* Sometimes a process can take a while to start, this change waits up
  to 1+2+4+8+16+32+64 = 127 ms which is still not that much.
* Also log a message if we still can't find it, so it's clear what the
  problem was.
2017-05-17 17:45:58 +01:00
baldurk 61dc8806bd Add message about NVIDIA 378.x series driver crash issues 2017-05-17 17:10:37 +01:00
baldurk 5dc10bcc3d Make sure to call parent event handlers when we override to emit signals 2017-05-17 16:42:37 +01:00
baldurk 1dc5f1b7ed Fix vulkan drawindirect - not incrementing arg pointer each draw 2017-05-17 16:35:12 +01:00
baldurk f6cef9ea4a Don't setFont(Consolas) - it's windows only. Fix monospace for scintilla 2017-05-17 15:55:42 +01:00
baldurk c867784647 Don't assign function ptrs in gl*GetProcAddress if we have one already
* In theory, gl*GetProcAddress can return different function pointers
  at different times, but in practice this does not happen. Also we have
  many more problems if there was an implementation that did this.
* In reality what can happen if we don't preserve existing function
  pointers is that any call to gl*GetProcAddress will overwrite
  required emulated functions for e.g. EXT_dsa if the implementation
  doesn't support the extension but does return valid pointers for the
  query.
2017-05-17 15:15:36 +01:00
baldurk f8d10850f8 Fix ambiguous QVariant casts from uint64_t on linux 2017-05-17 13:59:17 +01:00
baldurk 9831a8eb24 Fix compile error comparing enums 2017-05-17 13:20:51 +01:00
baldurk 3fff6fa86a Ensure that in-memory buffer created serialisers have right version
* When flattening a log m_SerVer would be uninitialised which mean that
  if it was less than 0x32 we'd start aligning buffers when we shouldn't
  have.
2017-05-17 11:59:17 +01:00
baldurk b69a71c885 Don't try to set line number on disposed python shell 2017-05-17 11:57:10 +01:00
baldurk 8a1304f6b4 Don't enable D3D12 debug layer in release builds on replay 2017-05-16 23:34:46 +01:00
baldurk 9259055286 Handle 32-bit depth as floating point values 2017-05-16 18:01:30 +01:00
baldurk 2ebcb9a337 Print a more helpful error when failing to convert component 2017-05-16 17:47:08 +01:00
baldurk c070c3e643 Ignore CoreMessaging.dll - it causes bizarre crashes in PeekMessage 2017-05-16 15:56:51 +01:00
baldurk 51c4a6365a Handle an InstanceDataStepRate of 0 as all data being identical 2017-05-15 16:29:14 +01:00
baldurk 88f5da6f04 Protect against out-of-bounds array access 2017-05-15 15:59:01 +01:00
baldurk dda3da8e96 Only copy adb.exe if there's already an android folder 2017-05-15 11:01:45 +01:00
baldurk fc61918b89 Update sphinx_rtd_theme (keeping our local changes) 2017-05-15 10:52:43 +01:00
baldurk b4ed02d040 Take out the python API from the docs index until qrenderdoc ships 2017-05-15 10:21:20 +01:00
baldurk 5b5e30cf54 Add HTML pipeline export for qrenderdoc 2017-05-15 10:11:56 +01:00
baldurk a6c77b5dee Give little tag structs unique names so we don't violate the ODR 2017-05-15 10:11:56 +01:00
baldurk 1c190f0eb5 Don't change values of m_ImmediatePipeline/m_pDevice when assigning
* This fixes an issue where applying a ID3DDeviceContextState by copying
  the state it has saved would trash these members on the immediate
  context's state tracker, and lead to missing refcounting and possibly
  a crash if an error was later encountered.
* Since this would be confusing to do in an operator=, we instead remove
  the operator and explicitly call a CopyState() function
2017-05-15 10:11:55 +01:00
baldurk f9908927ad Add RDTreeWidgetItem overload that constructs from QVariantList 2017-05-15 10:11:55 +01:00
baldurk 83f155855b Hex formatted numbers are always uppercase 2017-05-15 10:11:55 +01:00
baldurk 5986f209e1 Use Formatter::Format for formatting hex numbers 2017-05-15 10:11:55 +01:00
baldurk 08fa2ec411 Fix formatting of blend factor in pipeline state 2017-05-15 10:11:55 +01:00
baldurk 870f0cc166 Filename filters should be translated 2017-05-15 10:11:55 +01:00
babymustgrowstrong 7f78e6fe11 gearvr support 2017-05-15 02:11:04 -07:00
Peter Gal 21772a3b12 Add GL_HALF_FLOAT_OES support when querying size informations
When GL_OES_texture_half_float or GL_OES_texture_float extensions
are available the GL_HALF_FLOAT_OES should be defined.
2017-05-11 07:40:06 -07:00
baldurk c6c13a584a appveyor coverity build should happen with v140 toolset 2017-05-11 15:17:35 +01:00
baldurk 505dacfd21 Fix incorrect array index 2017-05-10 18:51:32 +01:00
baldurk f277e06ba0 Show the row offset control in the raw buffer viewer too 2017-05-10 18:10:23 +01:00
baldurk 3bd6adddc8 Implement right-click-to-toggle on channels buttons 2017-05-10 17:20:40 +01:00
baldurk 441d136177 Add extended RDToolButton 2017-05-10 17:20:39 +01:00
baldurk f8bf45fa47 Fix sizing for matrix elements in buffer views 2017-05-10 17:20:39 +01:00
baldurk 7c7cd32c17 Populate the buffer format specifier with the initial format 2017-05-10 17:20:38 +01:00
baldurk 1ca55a8237 Add an optional 'rgb' specifier to colour buffer cells backgrounds
* When opening a texture as a buffer we can make use of this.
2017-05-10 17:20:37 +01:00
baldurk 6941444796 Add byte range offset/length controls to raw buffer viewer. Refs #224 2017-05-10 17:20:37 +01:00
baldurk c3e521f254 Set the tag for samplers on GL so the resource can be opened 2017-05-10 17:20:36 +01:00
baldurk 5b384f3c4a Don't hide RWs on GL if there are no subroutines 2017-05-10 17:20:35 +01:00
baldurk 007e0f7b40 Disable optimisation for QTDebug target in qrenderdoc too 2017-05-10 17:20:35 +01:00
baldurk 50a02d713d Only apply ctrl-left/right shortcut when it doesn't conflict. Refs #542
* We only apply it for non-textbox controls since there ctrl-left and
  ctrl-right move through words.
* Also only apply it while a capture is open.
2017-05-10 17:20:34 +01:00
baldurk 886d6f608b Fix case that samplers are now "IsSRV" (renamed to IsReadOnly elsewhere) 2017-05-10 17:20:33 +01:00
baldurk 657def5fb2 Refactor out-of-bounds check to handle negative (~0U in uint) idxs 2017-05-10 10:24:58 +01:00
baldurk 4fb8b22b2d QBrush() is not a 'use default' return value from a model, QVariant() is 2017-05-09 18:49:44 +01:00
baldurk 6c2f2c0401 Rename "Capture Executable" to "Launch Application" & add to window menu 2017-05-09 17:28:38 +01:00
baldurk 8f70762ed6 Add a release target for linux clang builds 2017-05-09 16:37:06 +01:00