Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kim <pk15950@gmail.com>2022-02-17 09:27:24 +0300
committerPeter Kim <pk15950@gmail.com>2022-02-17 09:28:29 +0300
commitdd6fd06c15b7edfa1e277a7af8b6bf08e275d8a1 (patch)
treee066f68c966a6cdace6fec9ce7bb242e3e4e9750 /source/blender/bmesh/intern/bmesh_operators.h
parent05697470ab0dde6646be939ae57a95c9d4099e0b (diff)
Fix T76082: VR Scene Inspection: It shows me only a pink screen
This fixes VR pink screen issues when using the DirectX backend, caused by `wglDXRegisterObjectNV()` failing to register the shared OpenGL-DirectX render buffer. The issue is mainly present on AMD graphics, however, there have been reports on NVIDIA as well. A limited workaround for the SteamVR runtime (AMD only) was provided in rB82ab2c167844, however this patch provides a more complete solution that should apply to all OpenXR runtimes. For example, with this patch, the Windows Mixed Reality runtime that exclusively uses DirectX can now be used with AMD graphics cards. Implementation-wise, a `GL_TEXTURE_2D` render target is used as a fallback for the shared OpenGL-DirectX resource in the case that registering a render buffer (`GL_RENDERBUFFER`) fails. While using a texture render target may be less optimal than a render buffer, it enables proper display in VR using the OpenGL/DirectX interop (tested on AMD Vega 64). Reviewed By: Severin Differential Revision: https://developer.blender.org/D14100
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_operators.h')
0 files changed, 0 insertions, 0 deletions