Commit Graph

5739 Commits

Author SHA1 Message Date
baldurk 63f4bf2d77 Add a cmake option to override the name of the 'qmake' binary. Refs #671 2017-06-22 14:20:21 +01:00
baldurk 747afa7b74 Handle subpasses with all color attachments being UNUSED. Refs #670 2017-06-22 14:20:21 +01:00
baldurk a00e0f3ed0 Add link to wiki information on clang-format to CONTRIBUTING.md 2017-06-22 14:20:20 +01:00
baldurk 6c4eb5cf71 Update toolwindowmanager to 6f1c258 2017-06-22 14:20:19 +01:00
baldurk 25c72714cd Fix errors to be more friendly when converting QWidgets in python 2017-06-22 14:20:19 +01:00
baldurk 614b04a34f Check for an active replacement when naming command buffers. Refs #669 2017-06-22 14:20:18 +01:00
Tim Jones bcad28b4d0 Add initial D3D8 driver
Implemented overlay, but no capture or replay yet, so this is
functionally equivalent to the current D3D9 implementation.
2017-06-22 06:07:28 -07:00
baldurk 08cbddf063 Fix clang-format problems that were included
* My git hook got silently broken :(.
2017-06-21 22:20:00 +01:00
baldurk 391e0966af Add items to matrix type dropdown in buffer viewer configuration 2017-06-21 21:17:35 +01:00
baldurk 57806148dd Allow descriptor set writes to be missing vulkan handles
* Since we don't mark descriptor sets or the written data as referenced
  until the descriptor set is actually used, any writes for sets that
  are otherwise unused might be missing the necessary objects.
* This is harmless though so we just make sure not to warn about them
  being missing as it gets spammy.
2017-06-21 21:17:20 +01:00
baldurk f8aa58343a Allocate enough space in the QVector for resolve attachments 2017-06-21 21:16:25 +01:00
baldurk 72abd054c8 Make sure to pad allocations to allow for buffers on replay as well
* Capture allocations were already doing this, but we create a whole-mem
  buffer for replay allocations so we should also pad them up.
2017-06-21 21:16:13 +01:00
baldurk 4a73c69d1c Add SPIR-V disassembly of OpVectorExtractDynamic 2017-06-21 21:15:43 +01:00
baldurk 6ea2358d60 Remove an errant debug print 2017-06-21 21:14:57 +01:00
baldurk 7e3e86f56f Don't apply graphics state to compute or copy command lists 2017-06-21 11:06:58 +01:00
baldurk ba91e82feb Don't try to replay maps with empty writes.
* This can lead to crashes if we try to optimise with a buffer upload
  and try to create a buffer of 0 bytes. Easier just to skip these no-op
  maps.
2017-06-21 11:06:21 +01:00
baldurk 1dc3f65445 Handle some edge cases around samplers being lumped in with RO resources 2017-06-21 11:05:40 +01:00
baldurk 90077f54ee Make sure to skip padding registers when enumerating D3D12 bindings 2017-06-21 11:02:44 +01:00
baldurk 734fa13443 Add support for __uuidof(ID3D12Device1) in D3D12CreateDevice
* Make sure to cast to/from the right interface when handling the void*
2017-06-21 00:03:44 +01:00
baldurk ec8aa67ed3 Fix mismatching enums between C# and C++. Refs #665 2017-06-20 17:11:21 +01:00
baldurk b930b255c9 Don't close the live capture while a menu might still be open. 2017-06-20 10:46:18 +01:00
baldurk 628e6481d5 Distinguish between friendly and real hostnames for remote hosts
* This means we don't pass a friendly hostname internally to connect to,
  and we don't display a hostname where we want a friendly hostname.
2017-06-19 16:17:20 +01:00
baldurk d44528794a Change qrenderdoc icons to Farm-Fresh, to add high-DPI versions. 2017-06-19 16:17:20 +01:00
baldurk ac885b1882 Fix handling for a couple of cases where we need device pixel co-ords
* When interacting with the C++ UI we have to use device pixels, so
  multiply/divide by the device pixel ratio.
2017-06-19 16:17:20 +01:00
baldurk b87cf00c86 Fix range histogram painting to be device pixel ratio aware. 2017-06-19 16:17:20 +01:00
baldurk cc1abb98a9 Update toolwindowmanager to 368309a 2017-06-19 16:17:20 +01:00
baldurk 2831c4dfdd Set a proper sizeHint for the pipeline flowchart 2017-06-19 16:17:19 +01:00
baldurk b2f760a1c6 Fix detection of "matN" in buffer format specifier 2017-06-19 16:17:19 +01:00
baldurk a998de110d Only re-hook all modules after LoadLibrary if the library loaded
* This fixes a problem where if some code is repeatedly doing
  LoadLibrary for a library that doesn't exist, we'll constantly re-hook
  everything pointlessly.
2017-06-19 16:17:19 +01:00
Michael Rennie f2b2c6c5b9 Fix reading back index buffer to determine client vertex range. 2017-06-19 08:15:09 -07:00
baldurk 6c348c65c2 Fix clang formatting error that somehow snuck in 2017-06-17 01:11:33 +01:00
baldurk 5fc90f7a08 Fix menus not showing up on some user configurations
* Menus aren't guaranteed to pass isVisible() immediately after calling
  popup() on them, so we need to wait for their aboutToHide signal to
  stop the event loop.
2017-06-16 23:31:05 +01:00
baldurk efe105a203 Remove TODO for implemented feature 2017-06-16 23:07:50 +01:00
baldurk af28e971ba Add documentation for newly added enums 2017-06-16 23:04:28 +01:00
baldurk abcfcfd8a4 Display resolve attachments with other framebuffer outputs in UI 2017-06-16 15:59:39 +01:00
baldurk 0f2f359eef Don't count resolve attachments, when looking at color load/store ops 2017-06-16 15:50:10 +01:00
Janos Pantos 6032589484 Handle client memory VAOs at glDrawArraysInstancedBaseInstance wrapper
The other glDraw* functions already handle client VAOs (except the
glDraw*Indirect ones which do not support it at all).
2017-06-15 08:09:04 -07:00
Janos Pantos 3021d25190 Fix unmapping element array buffer at CopyClientMemoryArrays 2017-06-15 08:09:04 -07:00
Janos Pantos 4242eb6b96 Sort supported GLES extensions alphabetically 2017-06-15 07:18:43 -07:00
Janos Pantos 335aa03920 Add support for GL_EXT_base_instance 2017-06-15 07:18:43 -07:00
Janos Pantos a0c68e6dc6 Add GL_KHR_blend_equation_advanced to supported GLES extensions 2017-06-15 07:18:43 -07:00
Janos Pantos 818f7223d3 Add support for GL_OES_texture_storage_multisample_2d_array 2017-06-15 07:18:43 -07:00
Janos Pantos 4a3a0964d0 Add support for GL_EXT_texture_border_clamp and GL_OES_texture_border_clamp 2017-06-15 07:18:43 -07:00
baldurk 0516016070 Follow-up commit to b7f893b5 with minor fixes/tweaks
* Moved the AMD project under an IHV folder
* Moved the AMD headers from the D3D11 project to the AMD project, and
  added the GPUPerfAPI headers there too.
* Set the counterID inside the CounterDescription for AMD counters
* Add an extra search path for the GPUPerfAPI dlls, which will be inside
  distributed builds soon.
2017-06-15 14:59:16 +01:00
Matthäus G. Chajdas b7f893b559 Add backend support for AMD performance counters. 2017-06-15 14:29:55 +01:00
baldurk e0104e8fe0 Allow configured adb path to be empty, look for adb in shipped path
* On windows we ship adb.exe under android/ so that there's no configure
  needed. Look for that file if there isn't an override path.
2017-06-15 05:28:07 -07:00
baldurk 6423a82d18 Add support for multiple connected android devices
* We forward a different range of ports to each device so we can pick
  and choose which to communicate with based on its index.
* The index is encoded in the 'hostname' like so: adb:X:deviceidhere
* Whenever we want to interact with an android device we always specify
  the device, never leave it to a default.
2017-06-15 05:28:07 -07:00
baldurk 06b5b300c3 When enumerating adb devices, reuse old hosts where possible.
* This fixes a crash where an enumeration from application startup is
  still going when opening the remote manager dialog, and then all the
  android hosts that are being enumerated get deleted while it's still
  going.
2017-06-15 05:28:07 -07:00
baldurk c76b8298f8 Use adb getprop to give adb devices friendly names
* This means you'll see "Google Pixel XL" or "samsung SM-G900F" instead
  of "HT74T0200775" or "9a9502c6"
2017-06-15 05:28:07 -07:00
baldurk 02a7d8d50c Remove confusing duplicated logic in remote manager
* Instead of having button enabling and so on logic in both
  on_hostname_textEdited and on_hosts_itemClicked, just handle the
  hostname edit as selection or unselecting any matching item, and then
  process all the logic whenever the selection changes.
2017-06-15 05:28:07 -07:00