blender/intern
Patrick Mours 34f94a02f3 Fix use of OpenGL interop breaking in Hydra viewports that do not support it
Rendering directly to a resource using OpenGL interop and Hgi
doesn't work in Houdini, since it never uses the resulting resource
(it does not call `HdRenderBuffer::GetResource`). But since doing
that simultaneously disables mapping (`HdRenderBuffer::Map` is
not implemented then), nothing was displayed. To fix this, keep
track of whether a Hydra viewport does support displaying a Hgi
resource directly, by checking whether
`HdRenderBuffer::GetResource` is ever called and only enable use
of OpenGL interop if that is the case.

Differential Revision: https://developer.blender.org/D15090
2022-06-03 18:56:30 +02:00
..
atomic Cleanup: correct unbalanced doxy sections 2022-03-15 17:29:54 +11:00
audaspace File headers: manually convert files to use SPDX headers 2022-02-11 15:15:49 +11:00
clog File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
cycles Fix use of OpenGL interop breaking in Hydra viewports that do not support it 2022-06-03 18:56:30 +02:00
dualcon Cleanup: Compilation warnings 2022-03-18 12:07:08 +01:00
eigen File headers: manually convert files to use SPDX headers 2022-02-11 15:15:49 +11:00
ffmpeg Merge branch 'blender-v3.1-release' 2022-02-22 17:34:07 +01:00
ghost Cleanup: spelling in comments 2022-04-20 10:41:31 +10:00
glew-mx File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
guardedalloc Cleanup: Deprecated field access in outliner_duplicate 2022-03-16 12:38:23 +01:00
iksolver Cleanup: use M_PI_2 and M_PI_4 where possible 2022-03-11 18:27:58 +01:00
itasc Cleanup: remove argument to doxygen \file 2022-03-25 12:10:30 +11:00
libc_compat File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
libmv File headers: add missing copyright, add MIT to SPDX licenses 2022-02-11 14:56:03 +11:00
locale File headers: add missing copyright, add MIT to SPDX licenses 2022-02-11 14:56:03 +11:00
mantaflow Cleanup: Compilation warnings 2022-03-18 12:07:08 +01:00
memutil File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
mikktspace Mikktspace: Reduce number of data queries to caller 2022-04-23 15:09:41 +02:00
opencolorio Cleanup: clarify what is scene linear color space in conversion conversion 2022-05-23 15:34:50 +02:00
opensubdiv Fix T97086: corrupted UVs with GPU subdivision 2022-05-31 12:15:02 +02:00
openvdb File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
quadriflow File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
rigidbody Cleanup: Further use of const for object bounding boxes 2022-04-01 18:30:09 -05:00
sky File headers: manually convert files to use SPDX headers 2022-02-11 15:15:49 +11:00
utfconv Cleanup: use C++ comments for disabled code 2022-04-13 13:47:04 +10:00
CMakeLists.txt File headers: SPDX License migration 2022-02-11 09:14:36 +11:00