baldurk
7db90232f9
Allow creating completely headless outputs and reading back their output
...
* This is useful when writing automated tests that want to test the output of
rendering which only happens to outputs, such as mesh rendering, or could
potentially be bypassed with direct readback like GetTextureData vs rendering
a texture.
2019-05-06 15:52:43 +01:00
baldurk
ad038ff3e0
Add a log message when running as administrator
2019-05-06 12:25:31 +01:00
baldurk
7ca902f2e5
Handle fences in D3D11's IdentifyTypeByPtr. Closes #1374
2019-05-06 11:29:51 +01:00
baldurk
60a4877c68
Add test that aliased entry points on GL are recorded faithfully
2019-05-03 12:32:44 +01:00
baldurk
a42220a035
Add helpers to set/push/pop markers on GL
2019-05-03 12:27:21 +01:00
baldurk
2ae29bbecb
Try to avoid crashing if a failed map is used mid-capture
2019-05-03 11:37:17 +01:00
baldurk
cd9ab1c9db
Add test of GL_Buffer_Updates
2019-05-03 11:36:34 +01:00
baldurk
1bef46bfee
Add a debugger friendly option to the python test framework
...
* This suppresses the use of a global try/except to catch exceptions then log &
continue. Instead it runs the test and lets the debugger catch any exceptions
that happen.
2019-05-03 11:13:52 +01:00
baldurk
a32bbb8232
Fix version check for GLES 1.x. Refs #1372
2019-05-03 11:08:46 +01:00
baldurk
b680d74efd
In python tests allow comparing RGB and RGBA PNGs
...
* We force the missing alpha channel to full 255 on all pixels.
2019-05-03 11:00:59 +01:00
baldurk
fa4a6d431b
Only use modern extension query on new contexts. Refs #1359
...
* On mac on legacy contexts (GL2.1) glGetStringi will understandably fail
completely, so we can't expect to be able to use modern enumeration of
extensions on the assumption that it's really a compatibility context.
2019-05-02 17:24:57 +01:00
baldurk
95391e3604
Account for specified string lengths when storing GL source strings
2019-05-02 14:59:58 +01:00
baldurk
32b93600b3
Fetch enough fixed function GL entry points to render legacy overlay
2019-05-02 14:29:39 +01:00
baldurk
005a1964ee
Check for GL profile on macos to determine if context is core or compat
2019-05-02 14:29:19 +01:00
baldurk
63b3f3dfe9
Fix execution of set_plist_version.sh and ln on mac qmake build
2019-05-02 14:02:58 +01:00
baldurk
06c6b7e8de
Software emulate KHR_debug so that applications can use annotations
...
* Even if the driver doesn't support it (i.e. on macOS) we can still allow
applications to name objects and add frame markers, they just won't get any
debug output.
2019-05-02 13:30:26 +01:00
baldurk
c515065dcf
Fix linux launching of adb server
2019-05-02 13:30:26 +01:00
baldurk
225e34c592
Fetch D3DCompiler on demand rather than at dll init
...
* This incurs a bit of a load-time hit that might not be needed until later.
2019-05-02 13:30:26 +01:00
baldurk
87c4d529c0
On replay don't initialise dbghelp at startup, instead init on demand
2019-05-02 13:30:26 +01:00
baldurk
c7bd434024
Don't compile Catch2 into release builds
2019-05-02 13:30:26 +01:00
baldurk
346d01b17a
Shadow texture state by type, not just by unit
...
* When you do glTexImage2D(GL_TEXTURE_2D) it should refer to the last 2D texture
bound to the currently active unit, even if a 3D or other type of texture was
bound in between. Previously we only tracked per-unit and ignored the type.
2019-05-02 11:05:16 +01:00
baldurk
ac7801b738
extended_thumbnail section in xml format can be in between sections
2019-05-02 10:27:41 +01:00
baldurk
6d5d536dc6
Add check for glMap failing
2019-05-01 21:11:49 +01:00
baldurk
bcd693be6f
Set texture filtering to NEAREST when copying images for initial states
2019-05-01 21:11:49 +01:00
baldurk
cce6800f00
Remove NO_ERROR flags on EGL, as we do on WGL and GLX
2019-05-01 21:11:49 +01:00
baldurk
2c44004f80
Add handling for some legacy formats like LUMINANCE/ALPHA
...
* These are still around on GLES so we need to support them.
2019-05-01 21:11:49 +01:00
baldurk
83501f8226
Ensure mesh display cached pipelines are initialised to NULL
2019-05-01 21:11:48 +01:00
baldurk
22dc8b7ba8
When applying push descriptor state handle unused descriptors
2019-05-01 21:11:48 +01:00
baldurk
946636ffa8
Fix inconsistent Unmap subresource index. Closes #1364
2019-05-01 21:11:48 +01:00
baldurk
53f54ae882
Clear cached updates if the version changes some other way. Closes #1368
2019-05-01 21:11:48 +01:00
Aliya Pazylbekova
3b328fd251
Add processing of dirtied objects during non-active capture
...
from https://github.com/baldurk/renderdoc/commit/4ff4a791
2019-05-01 13:11:28 -07:00
baldurk
a1adcd431d
When adding GL_MAP_READ_BIT to persistent maps, remove INVALIDATE_*_BIT
2019-04-30 13:35:00 +01:00
baldurk
9c7430c305
Fix debug callbacks on GL demos
2019-04-30 13:32:51 +01:00
baldurk
f91a7509ce
Restore "All initial states on GL must be queued"
...
* This restores commit be231884b4 .
2019-04-30 10:31:50 +01:00
baldurk
f2987cd30e
Allow escape to close the demos project's launcher
2019-04-30 10:31:17 +01:00
baldurk
4d7e8d879a
Fix compilation of demos project on 32-bit
2019-04-30 10:30:55 +01:00
baldurk
e8a794c026
Fix GL & Vulkan selected slice clamping. Closes #1366
2019-04-30 10:30:35 +01:00
baldurk
6b97a9cffa
Bump version to 1.5
2019-04-29 13:54:14 +01:00
baldurk
214d852285
Revert "All initial states on GL must be queued"
...
* This reverts commit be231884b4 temporarily until
it can be restored.
v1.4
2019-04-29 10:50:14 +01:00
baldurk
115fcec8e5
Close crash handling server if no client connects in 5 seconds
2019-04-29 10:45:45 +01:00
baldurk
6dec2dad73
Remove unused code getParentExe
2019-04-29 10:45:28 +01:00
baldurk
85215b9c44
Increase timeout waiting for crash handling server
2019-04-29 10:43:24 +01:00
baldurk
be231884b4
All initial states on GL must be queued until right context is active
...
* This is a leftover artifact of assuming all contexts share with one another.
We only queued up non-shared objects to be fetched on the right context, but
we need to do that for all objects in case contexts don't share with one
another.
2019-04-26 17:45:28 +01:00
baldurk
d599110c3f
Bump version to 1.4
2019-04-26 17:04:12 +01:00
baldurk
2498f7f0fd
Fix fetching array outputs from vertex shaders
...
* This broke when fixing array outputs from tessellation/geometry shaders!
v1.3
2019-04-26 15:33:24 +01:00
baldurk
c0603bbfb9
Terminate any running processes before signing files
2019-04-26 15:04:15 +01:00
baldurk
a820934a22
Fix description of float controls - maximum decimal places not sigfigs
2019-04-26 14:02:42 +01:00
baldurk
95ce6d5b59
Add a bit more clarification on how to load and use RenderDoc's API
2019-04-26 14:00:27 +01:00
baldurk
af53fdf89a
Document what RENDERDOC_DevicePointer should be for D3D12
2019-04-26 13:57:16 +01:00
baldurk
1296f92a94
Mention that dynamically unused pipeline state resources are hidden
2019-04-26 13:52:34 +01:00