Blender Git Commit Log

Git Commits -> Revision eb278f5

Revision eb278f5 by Peter Kim (master)
August 16, 2021, 02:46 (GMT)
XR: Color Depth Adjustments

This addresses reduced visibility of scenes (as displayed in the VR
headset) that can result from the 8-bit color depth format currently
used for XR swapchain images.

By switching to a swapchain format with higher color depth (RGB10_A2,
RGBA16, RGBA16F) for supported runtimes, visibility in VR should be
noticeably improved.

However, current limitations are lack of support for these higher
color depth formats by some XR runtimes, especially for OpenGL.

Also important to note that GPU_offscreen_create() now explicitly
takes in the texture format (eGPUTextureFormat) instead of a
"high_bitdepth" boolean.

Reviewed By: Julian Eisel, Cl�ment Foucault

Differential Revision: https://developer.blender.org/D9842

Commit Details:

Full Hash: eb278f5e12cf9db9664a89ed10902fb891846afe
Parent Commit: 899935d
Lines Changed: +168, -33

17 Modified Paths:

/intern/ghost/GHOST_Types.h (+9, -0) (Diff)
/intern/ghost/intern/GHOST_ContextD3D.cpp (+10, -5) (Diff)
/intern/ghost/intern/GHOST_ContextD3D.h (+6, -2) (Diff)
/intern/ghost/intern/GHOST_IXRGraphicsBinding.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_XRGraphicsBinding.cpp (+96, -7) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+1, -0) (Diff)
/intern/ghost/intern/GHOST_XrSwapchain.cpp (+9, -3) (Diff)
/intern/ghost/intern/GHOST_XrSwapchain.h (+3, -1) (Diff)
/source/blender/editors/gpencil/gpencil_fill.c (+2, -1) (Diff)
/source/blender/editors/render/render_opengl.c (+1, -1) (Diff)
/source/blender/editors/screen/screen_draw.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+1, -1) (Diff)
/source/blender/gpu/GPU_framebuffer.h (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_framebuffer.cc (+2, -3) (Diff)
/source/blender/python/gpu/gpu_py_offscreen.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+2, -2) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+22, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021