Commit Graph

7946 Commits

Author SHA1 Message Date
baldurk 9116983972 Fix error mail script with incorrect quoting 2018-09-27 14:44:13 +01:00
baldurk 6f1a458c8a If a non-global dlopen happens, check for loaded libraries. Closes #1114 2018-09-27 14:44:13 +01:00
Jeremy Lukacs de4bf9711c Fix D3D12 expanded pipeline state creation 2018-09-27 09:33:00 +01:00
baldurk 0bad880e72 Handle EINTR errno correctly 2018-09-26 13:39:26 +01:00
baldurk 3893fc2567 Make sure to trim off filename for windows paths, or if there's no path 2018-09-26 13:26:11 +01:00
baldurk 4ac54ac554 Add VirtualFileDialog fall back if initial directory is invalid 2018-09-26 13:24:18 +01:00
baldurk 3cc0159b84 Create client-memory fake buffers after serialising context activation
* Doing it this way around ensures that the creation of the buffers themselves
  doesn't trash the state of the previous context with bind-to-edit calls.
2018-09-26 13:03:48 +01:00
baldurk b47ca371e7 When deleting objects for a context, don't double-increment iterator 2018-09-26 12:54:07 +01:00
baldurk 9aedacdc90 Serialise glObjectLabel calls in the resource's own record 2018-09-26 12:53:52 +01:00
baldurk e13c292fac Explicitly select c++_static STL, default Android STL is totally broken 2018-09-26 11:12:44 +01:00
baldurk c99cce5d5b Detect the case where no vulkan physical devices are enumerated and bail 2018-09-25 19:08:00 +01:00
baldurk cd1d87daa1 Disable IA bytecode button when no capture is open 2018-09-25 18:39:59 +01:00
baldurk b3c8c66a99 When reading file, handle an empty or truncated header 2018-09-25 18:24:09 +01:00
baldurk fcb74d2f7c Don't try to display vertex buffer if we should be using generics 2018-09-25 18:20:27 +01:00
baldurk 2eb01151c3 When mapping with VK_WHOLE_SIZE, account for any offset 2018-09-25 17:32:45 +01:00
baldurk d0b650778b Handle D3D12 register spaces with high values without full array size
* Technically register space values are arbitrary so the array should not be
  resized to account for all space indices, in case one is very large.
2018-09-25 17:24:01 +01:00
baldurk 1985a6e87a Add minimal hook to block initialisation of AMD extensions on DX12 2018-09-25 15:50:48 +01:00
baldurk fb23f6ad1d Add check for ANDROID_NDK, and error if not set when building android 2018-09-25 15:50:11 +01:00
baldurk 5b07a48479 Switch android build to use NDK-provided cmake file
* The existing android cmake file doesn't work with newer NDK releases, so we
  have to use the provided cmake file. It should work in NDKs as far back as
  version 14.
2018-09-25 15:09:54 +01:00
baldurk 0092e5ced2 Append link flags in cmake on android instead of replacing
* Thanks to @Themaister for this fix
2018-09-25 15:09:54 +01:00
baldurk 390096e796 Add missing includes on android
* Thanks to @Themaister for this fix
2018-09-25 15:09:54 +01:00
baldurk a316e7ff12 Add missing VKAPI_ATTR declaration on vulkan layer functions
* Thanks to @Themaister for this fix
2018-09-25 15:09:53 +01:00
baldurk 4dccb2d02c Add support for simple vulkan extensions
* VK_EXT_post_depth_coverage
* VK_EXT_queue_family_foreign
* VK_KHR_8bit_storage
* VK_KHR_get_display_properties2
* VK_KHR_vulkan_memory_model
2018-09-25 15:09:53 +01:00
baldurk a88c5c4008 Use VkBaseInStructure, official version of VkGenericStruct 2018-09-25 15:09:53 +01:00
baldurk 87d5856bf5 Update to 1.1.85 vulkan headers 2018-09-25 15:09:51 +01:00
baldurk b5d4d44356 Hook libGLX.so as well, just in case 2018-09-25 11:01:33 +01:00
baldurk 081d283575 On linux don't take address of glX/egl symbols
* The application could export a public glXSwapBuffers symbol that is its own
  function pointer, and &glXSwapBuffers looking up that symbol will get it,
  instead of our entry point. Follow the GL function scheme of still exporting a
  small stub with the proper name, but forwarding to an internal suffixed symbol
  that won't be overloaded.
2018-09-25 11:01:25 +01:00
baldurk 73ec1e1d37 Don't assume text output byte buffer is null terminated 2018-09-25 10:39:59 +01:00
baldurk 5b4978b0bf Copy over original specialization info when fetching mesh output 2018-09-25 10:39:37 +01:00
baldurk 7a8581ebab Expose function to query git commit hash version info 2018-09-25 10:31:09 +01:00
baldurk 94496e0e2a Support copying structured lists to each other in python
* This requires a copy otherwise object lifetimes are wrong.
2018-09-20 12:35:37 +01:00
baldurk 6ec402e370 rename logfile -> capturefile parameter on execute, document for python 2018-09-18 18:05:39 +01:00
baldurk 9bf00cb1a6 More natural python handling for GetDefaultCaptureOptions, return struct 2018-09-18 18:01:28 +01:00
baldurk 684e814eb7 Protect access to TextureViewer from custom shader editor
* This means we don't crash if the custom shader editor is kept open even when
  the texture viewer is closed.
2018-09-18 12:46:23 +01:00
baldurk 871685fe86 Split up CONTRIBUTING.md and move it under docs/ 2018-09-17 17:31:05 +01:00
baldurk a38f77a6f7 Move CODE_OF_CONDUCT.md file into docs/ subfolder
* This keeps the root folder a little tidier and is still automatically located
  & linked by github. See: https://help.github.com/articles/adding-a-code-of-
  conduct-to-your-project/
2018-09-17 16:50:47 +01:00
baldurk d8294d8a88 Use linked-list & spinlock to avoid non-safe functions. Closes #1102
* Most functions - including pthreads, malloc, free, etc are not safe to use in
  signal handlers. So we use a simple spin-lock and manual linked-list to manage
  our list of PIDs to wait on.
2018-09-17 15:58:10 +01:00
baldurk 834bbe6935 Align detected map differences to StructureByteStride on D3D11 buffers 2018-09-17 13:20:30 +01:00
baldurk c9c51b5a3e Don't update context parameters when MakeCurrent is called with NULL 2018-09-10 10:49:54 +01:00
baldurk 4dea565a61 Only check for D3D12 replay features when actually replaying
* This means structured export can still happen even without any D3D12 support
  at all.
2018-09-10 10:48:35 +01:00
baldurk 5a475211f5 Don't use QFileInfo to get directory part of remote path. Refs #1094
* QFileInfo implicitly converts the path to the local OS's representation, and
  we want to preserve the native path format.
2018-09-07 14:25:55 +01:00
baldurk 6bfb426ab1 Allow specifying {stdin} to specify that input is in stdin. Closes #709 2018-09-07 14:24:45 +01:00
baldurk c091dfa685 return NULL for unhandled nvapi functions, to disable them. Closes #1100 2018-09-07 14:22:48 +01:00
baldurk 553a68de19 Add 'No to All' button when closing a capture connection. Closes #1101 2018-09-07 14:22:47 +01:00
baldurk 0a07902980 Store/create backbuffers on a per-context basis. Closes #1083
* This means we can have different context backbuffers with different formats.
2018-09-06 17:54:53 +01:00
baldurk 8a927f847c Make warning about process injection restrictions more clear 2018-09-06 13:45:57 +01:00
baldurk 296050e298 Add copy progress bar for copies over target control connections 2018-09-06 13:17:12 +01:00
baldurk 0fbb717803 Allow hitting enter with a selected filename to enter a directory 2018-09-06 12:32:30 +01:00
baldurk cca4d364bf Save last capture path per remote host. Closes #1094 2018-09-06 12:30:03 +01:00
baldurk 5145478d19 Remove unused config variable LastCaptureExe
* In the .NET UI this was used to pre-fill the executable selection dialog, but
  it's unnecessary and hasn't been missed.
2018-09-06 10:59:15 +01:00