Commit Graph
17318 Commits
Author SHA1 Message Date
baldurk dff9454bbb Fix bad indentation in docstring 2026-09-02 23:51:27 +01:00
baldurk 2b1ef6efd3 Fix look upwards for function scope in SPIR-V disassembly 2026-09-02 22:57:07 +01:00
baldurk ca9bde9a98 Add proper optional argument defaults for optional callbacks 2026-09-01 12:28:09 +01:00
baldurk 32d852d659 Bump version to v1.47 2026-08-31 15:21:11 +01:00
baldurk e4bd23b671 Fix bounds check in internal parser v1.46 2026-08-31 12:30:22 +01:00
baldurk 1aac7afdf1 Add helper function for appending text to a textedit 2026-08-31 12:13:26 +01:00
baldurk 0690269cb7 Add shortcuts for using user's preferred fixed font in MiniQtHelper 2026-08-31 11:27:30 +01:00
baldurk da8132b69c Add MiniQtHelper functions for scrolling widgets 2026-08-31 11:26:05 +01:00
baldurk 6b02191629 Try to break potential deadlock between UI and replay threads
* During capture shutdown on Python < 3.13 the replay thread will try to remove
  itself as a debuggable thread which requires being able to run python (holding
  the GIL). If the UI thread is the one triggering the capture shutdown and is
  running a call from a python script it may hold the GIL while waiting for the
  replay thread to close, deadlocking.
* To alleviate this, while the UI thread is about to block on the replay thread
  we try to release the python state if we are holding it so that the replay
  thread can run python code if needed.
* We already do this in a manual wrapper around BlockInvoke.
2026-08-31 11:13:35 +01:00
baldurk c98181bb9f Add warning about implementing CaptureViewer interface 2026-08-31 10:32:36 +01:00
baldurk 1d4cde2d6e Don't add extensions to output filters multiple times in python shell 2026-08-31 10:30:37 +01:00
baldurk cbeb5804cf Ensure blocking controller invokes onto UI thread if using context 2026-08-28 15:53:47 +01:00
baldurk a1b76c231e Improve the workflow for extensions that fail on import 2026-08-28 15:46:23 +01:00
baldurk f5240a4a47 Add missing function implementations to blocking ReplayController 2026-08-28 15:46:23 +01:00
baldurk 81bec684a3 Expose proper capture closing function to python extensions 2026-08-28 15:46:23 +01:00
baldurk 6237238cf7 Put python version in about dialog 2026-08-28 13:18:26 +01:00
Wehrwolfmann 762ec04267 Add Russian translations to the desktop entry 2026-08-28 02:02:50 +09:00
baldurk 61d9aafb1b Set net manager thread to delete itself on close
* Due to the way Qt works, the owning object acts as if it lives on the thread
  which in this case is running an event loop that tries to delete itself.
2026-08-27 17:29:38 +01:00
baldurk 1e06175da7 Mitigate environment variables being utterly terrible
* Environment variables are not thread safe on linux, but unfortunately linux is
  obssessed with them so we must hold our nose and interact with them.
* This change tries to move some modifications earlier into init before anything
  else happens to reduce the risk of clashes, as well as removing some reads
  that are unnecessary.
2026-08-27 17:17:58 +01:00
baldurk 572fda459d Use localtime_r instead of localtime 2026-08-27 16:58:47 +01:00
baldurk 45b5f1ad1d Remove debug print 2026-08-27 16:34:36 +01:00
baldurk fa5af1bf7c Remove extra ) 2026-08-27 15:29:03 +01:00
baldurk d015c0619a Fix race when initialising help context 2026-08-27 15:27:09 +01:00
baldurk 8cccd45e5b More unused lambda captures 2026-08-27 14:33:53 +01:00
baldurk 675484a382 Remove unused lambda capture 2026-08-27 14:12:36 +01:00
baldurk b100e05053 Add autocomplete for python help entry 2026-08-27 13:43:14 +01:00
baldurk 9a2ec4aa19 Use python invoker wrapper everywhere for pyrenderdoc
* This includes in the parameters of extension callbacks.
2026-08-27 12:45:52 +01:00
baldurk 3026718788 Handle an empty title as "Untitled script" in python editor wrapper 2026-08-27 12:44:00 +01:00
baldurk 72db77ae7c Allow inserting tabs at the start of the REPL input
* If there is no non-whitespace input, we shouldn't try to autocomplete
2026-08-27 12:43:22 +01:00
baldurk 928cfcd80a Ensure python compile error exceptions get handled properly 2026-08-27 12:42:57 +01:00
baldurk a95d4d0461 Use titles instead of filenames for script created new editors 2026-08-26 11:37:46 +01:00
baldurk 69a9c09ecd Use correct clear colour for UINT discard texture 2026-08-26 09:23:58 +01:00
baldurk 97380e0e45 Update version of action dependency 2026-08-26 08:33:05 +01:00
baldurk 72d67ba3c7 Add new ignored warning in VS2026. Closes #3892 2026-08-26 06:52:41 +01:00
baldurk e744863a06 Ensure annotations aren't deleted early on device lost
* Similar to the structured file, the ownership of these must pass to the dummy
  driver to be kept alive until it's deleted.
2026-08-25 23:20:28 +01:00
baldurk 7a84691cf0 Fix patching of XFB annotations for vulkan to not have incorrect values
* This doesn't work everywhere so needs some further clarification...
2026-08-25 18:21:06 +01:00
baldurk b31e02a067 Set correct aspect for clearing depth-stencil in overlay 2026-08-25 15:51:26 +01:00
baldurk 30c817486e Fix bad casts on overlay texture pixel picking 2026-08-25 15:29:58 +01:00
baldurk 752543e0fe Don't test 1D block compressed textures in vulkan texture zoo 2026-08-25 13:19:05 +01:00
baldurk 6122e32454 Fix A8 remapping when decoding pixel data manually 2026-08-25 13:18:50 +01:00
baldurk fb6f320eab Only read co-ordinates that exist in parameter. Closes #3885
* ShaderVariable contents are not guaranteed to be 0-initialised outside of
  their valid range and could contain leftovers from older IDs and calculations.
2026-08-25 10:27:25 +01:00
baldurk 1a3e8c79bf Loosen precision requirements on vulkan shader debugging
* Test 185 does repeated pow() calls and the precision difference seems to
  accumulate on mesa drivers at least.
2026-08-24 23:25:58 +01:00
baldurk 08d6492dc6 Fix epsilon check being too strict for equality depth checks 2026-08-24 21:52:31 +01:00
baldurk a87c93bf0b Add ultra dirty specific hack to work around mesa following GL spec
* The GL spec is absolutely and maliciously unhinged and the queried stencil
  value will be clamped to 0 if no stencil texture is currently bound. This of
  course will break in so many different places that will never get fixed, but
  this minimal change at least allows autotests to run on mesa.
2026-08-24 20:17:37 +01:00
baldurk 4de445d2f5 Don't try to copy PS uniforms if there is no program bound 2026-08-24 17:46:21 +01:00
baldurk fc50157566 Use 0.5 for depth-equal test so it works on various precisions 2026-08-24 17:46:21 +01:00
baldurk f8e2d0f36c Properly save and restore FB attachments in pixel history
* When we need to substitute a depth attachment, ensure we handle all attachment
  possibilities
2026-08-24 17:46:20 +01:00
baldurk 4db49e2c6b Fix copy-paste error for int case in GL pixel history 2026-08-24 17:04:14 +01:00
baldurk 85075565cd Don't hang onto new extensions item, recreate each time
* Clearing an RDTreeWidget deletes all items in it, so we would either need to
  remove it before clearing or just recreate it. We only need the handle in
  order to check against it when we see clicks
2026-08-24 17:04:14 +01:00
baldurk 57a0d90aac Ensure we have a depth buffer for GL depth bounds test 2026-08-24 17:04:14 +01:00