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:
authorSebastian Parborg <darkdefende@gmail.com>2022-08-15 17:54:29 +0300
committerSebastian Parborg <darkdefende@gmail.com>2022-08-15 17:54:29 +0300
commit3195a381200eb98e6add8b0504f701318186946d (patch)
treee9b5daa08c9a893e66c499d23c4527c2d1dcbfb8 /CMakeLists.txt
parent8ffc11dbcb21e81634e8f22cd65fdc921c7320d1 (diff)
Introduce headless OpenGL rendering on Linux
With this patch true headless OpenGL rendering is now possible on Linux. It changes the logic of the WITH_HEADLESS build flag. The headless backend is now always available with regular builds and Blender will try to fall back to it if it fails to initialize other backends while in background mode. The headless backend only works on Linux as EGL is not used on Mac or Windows. libepoxy does support windows and mac, so this can perhaps be remedied in the future. Reviewed By: Brecht, Jeroen, Campbell Differential Revision: http://developer.blender.org/D15555
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f72521266aa..f59a849cbf8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -536,10 +536,6 @@ mark_as_advanced(
WITH_GPU_BUILDTIME_SHADER_BUILDER
)
-if(WITH_HEADLESS)
- set(WITH_OPENGL OFF)
-endif()
-
# Metal
if(APPLE)