Commit Graph

3657 Commits

Author SHA1 Message Date
baldurk 32ca05bb2b Factor out command record/partial replay into common place
* Both command lists and command queues need to be able to access this
  data so we expose it in a common place.
* This gets command stepping partially working.
2016-08-06 18:31:19 +02:00
baldurk 9e604294ea Don't signal non-live fences 2016-08-06 18:31:18 +02:00
baldurk 6e5f8ae687 When serialising GPU_VIRTUAL_ADDRESS, make sure to store offset as well 2016-08-06 18:31:07 +02:00
Baldur Karlsson 5110782474 Merge pull request #317 from Anteru/master
Disable the "always show vertical scroll" bar in the settings menu.
2016-08-05 15:45:21 +02:00
Matthäus G. Chajdas 1cb6890df9 Disable the "always show vertical scroll" bar in the settings menu.
The window is always big enough that the scroll bar remains disabled, so just get rid of it by default.
2016-08-05 15:39:51 +02:00
baldurk 59bc8254bd Fix potential crash if drawcall is null when showing empty ibuffer 2016-08-05 12:54:13 +02:00
baldurk 610b22f600 Fix a lot of high-contrast inconsistencies or brokenness. Refs #315
* In a couple of places I had to resort to if(IsHighContrast) but mostly
  this is just using system brushes consistently or not assuming black
  text.
* The default DockPanel theme doesn't work well, so make a minimal high-
  contrast theme for it and assign it everywhere.
* The pipeline flow was using fixed colours, use system brushes for the
  different elements and switch based on high-contrast to ensure active
  and inactive stages are visible (using ActiveCaption looks bad on
  normal themes because it's a big block of colour).
* For some reason the flat toolstrip renderer doesn't handle white-on-
  black themes, but the system one does. It's a little clunkier but it
  shows up correctly without writing tons of custom painting code.
* Range histogram uses a properly contrasting colour for the border.
* Treelist views use a better system colour for selected rows when
  inactive and hovered rows (when high contrast).
* Mesh view grids have a system background instead of white
* Various things (pipeline state, mesh viewe) set text colour when
  colourising backgrounds of things instead of assuming black.
2016-08-05 12:46:56 +02:00
baldurk 12e0c301af Handle themes with light text when picking contrasting colour. Refs #315 2016-08-05 11:19:56 +02:00
baldurk bf6a62c1b3 Fix incorrect casting of forward declared ID3D11Device. Refs #316
* After clang-format re-arranged headers, the definition of
  WrappedID3D11Device was no longer visible from d3d11_context.h, but
  instead just the pre-declared "class WrappedID3D11Device;"
* This meant the function didn't correctly upcast to the right parent
  type and left the return value with the wrong vtable which would crash
2016-08-05 09:39:26 +02:00
baldurk d6d36f6383 Add -Wno-unused-result to get Release builds compiling. Refs #274 2016-08-04 18:54:24 +02:00
baldurk bee280ea0a Fix a strict-aliasing warning. Refs #274 2016-08-04 18:54:24 +02:00
baldurk 733ed8db96 Enable -fstrict-aliasing always, since it enables in release. Refs #274 2016-08-04 18:54:24 +02:00
Baldur Karlsson 8b4a8307f9 Add vim to dependencies needed, for xxd. Refs #314 2016-08-04 12:05:33 +02:00
baldurk 6c30a5582d Add -Wno-strict-aliasing for vk_common.cpp. Refs #274 2016-08-03 19:38:22 +02:00
baldurk 224e20a51f Fix incorrect cast (backwards compatible for serialising). Refs #274 2016-08-03 19:30:40 +02:00
Michael Rennie 5678541dcb Fixed exported capture names on Android 2016-08-03 19:21:29 +02:00
baldurk e1441f5767 Handle EnumerateDeviceExtensionProperties() calls for android loader 2016-08-02 23:40:29 +02:00
baldurk 1474f735d1 Compile fix - missing include 2016-08-02 19:17:10 +02:00
baldurk 18a843fd3d Change remote server config file to more friendly/extensible syntax
* lines like "whitelist IP/range" instead of just IP/range
2016-08-02 16:28:45 +02:00
baldurk a5c7620d24 Add install rules for renderdoc lib & binaries 2016-08-02 16:02:41 +02:00
baldurk 8dafb11456 Change qrenderdoc from ExternalProject to custom_command
* ExternalProject doesn't re-invoke on build to let qmake figure out if
  any files need rebuilding, so it's the totally wrong thing for
  qrenderdoc.
2016-08-02 16:02:01 +02:00
baldurk 377bf10505 Add expansion of ./ as well with current working directory 2016-08-02 15:03:38 +02:00
baldurk 6224f4437c Use execvp so that the PATH variable is checked for programs 2016-08-02 14:58:35 +02:00
baldurk a3c616bdff Expand ~ in application name and working directory 2016-08-02 14:41:29 +02:00
baldurk 4cd7627247 Fix highlight box rects for GL co-ordinate system. Refs #309 2016-08-02 13:49:04 +02:00
baldurk b7e7e4853b More hackery on gl_PerVertex redeclaring - this time, skip past all #ifs 2016-08-02 13:37:14 +02:00
baldurk e658e60eb5 Make sure Fake VAO references its bound buffers too 2016-08-02 13:36:57 +02:00
baldurk 298200608e Don't try to fill in non-created mips for immutable textures 2016-08-02 13:36:20 +02:00
baldurk 636ea250c8 Only serialise sampler binds when capturing a frame 2016-08-02 11:59:42 +02:00
Michael Rennie e08ce7239c Android build fixes 2016-08-02 11:52:12 +02:00
baldurk e28d0d57a6 Fix display of multisampled render buffers 2016-08-02 11:46:46 +02:00
baldurk c623883f78 Parse a config file and determine a whitelist of IPs to listen to.
* The remote server is going to start being responsible for more things
  soon, and one of those is launching programs to capture. Since this is
  remote code execution by design, we want to be able to lock down who
  can communicate with the server.
* By default, only private LAN IP ranges are listened to.
2016-08-01 22:31:23 +02:00
baldurk a995fd0f14 Add some network utility functions for examining a socket's remote IP 2016-08-01 22:30:03 +02:00
baldurk 9dbb37a0cd Add a file getline() function to parse files one line at a time 2016-08-01 22:29:28 +02:00
baldurk e8cb71a895 Add protection for buffer/texture viewer layouts failing to load. 2016-08-01 22:28:57 +02:00
baldurk 5508f9f599 Handle duplicate contents being returned and dummy them. Refs #310
* Unfortunately too late for v0.30, but at least this will help anyone
  who upgrades v0.29 -> v0.31 or such.
2016-08-01 22:22:50 +02:00
baldurk 39f453b166 Rename replay host to remote server, consistently. 2016-08-01 19:38:21 +02:00
baldurk 3655f0610d Bump version information to v0.31 2016-08-01 19:07:48 +02:00
baldurk 8b5f3de916 As DS_SETFOREGROUND doesn't work, move error reporter in/out of topmost
* This will guarantee the window is brought to the front, but it won't
  keep it there and be annoying.
v0.30
2016-08-01 14:56:21 +02:00
baldurk a04379b7a5 Fix incorrect style being removed from crash handler for topmost 2016-08-01 14:03:16 +02:00
Baldur Karlsson c5b5597b27 Add MIT license badge 2016-08-01 11:01:05 +02:00
baldurk 53f53dd1c2 Don't add mesh viewer to log viewer list twice 2016-07-30 12:42:19 +02:00
baldurk 081bdc3fd8 Back out breaking glslang change on nvidia, remove texel fetch hack
* No fixed nvidia driver has been released, and since there is an easy
  workaround that doesn't break any other IHV's drivers, temporarily do
  that until nvidia's driver is working again.
2016-07-29 21:48:27 +02:00
baldurk e6d07b41f3 Mark pipeline layout as referenced in push constants command 2016-07-29 14:11:01 +02:00
baldurk 74c09d064b Suppress debug messages when trying to make separable prorgams
* We half-expect the first attempt to fail, and we want to ignore any
  debug message spew from that failed compilation - if we fail after
  patching, we print out the output log then.
2016-07-28 20:40:25 +02:00
Baldur Karlsson f8a915165f Merge pull request #308 from ianelliottus/ian_160727b_AndroidFixes
Fix problems when building on Linux for Android
2016-07-28 00:57:07 +02:00
Ian Elliott 60f6a3097c Fix problems when building on Linux for Android
There were some typos, some Android-specific WSI code missing, an
uninitialized variable, and a missing library, etc.
2016-07-27 16:34:14 -06:00
baldurk 4f06161fb9 Update template custom shader to include UV, add new globals. Refs #304 2016-07-26 15:18:45 +02:00
baldurk 49cd21c8cc Fix broken implementation of firstbit family of opcodes 2016-07-26 15:04:14 +02:00
baldurk c6defdf1ef Fix vertex picking on Vulkan (proper accounting for inverted NDCs). 2016-07-26 12:47:19 +02:00