With libepoxy we can choose between EGL and GLX at runtime, as well as dynamically open EGL and GLX libraries without linking to them. This will make it possible to build with Wayland, EGL, GLVND support while still running on systems that only have X11, GLX and libGL. It also paves the way for headless rendering through EGL. libepoxy is a new library dependency, and is included in the precompiled libraries. GLEW is no longer a dependency, and WITH_SYSTEM_GLEW was removed. Includes contributions by Brecht Van Lommel, Ray Molenkamp, Campbell Barton and Sergey Sharybin. Ref T76428 Differential Revision: https://developer.blender.org/D15291
13 lines
313 B
C
13 lines
313 B
C
/* SPDX-License-Identifier: Apache-2.0
|
|
* Copyright 2011-2022 Blender Foundation */
|
|
|
|
#ifndef __UTIL_OPENGL_H__
|
|
#define __UTIL_OPENGL_H__
|
|
|
|
/* OpenGL header includes, used everywhere we use OpenGL, to deal with
|
|
* platform differences in one central place. */
|
|
|
|
#include <epoxy/gl.h>
|
|
|
|
#endif /* __UTIL_OPENGL_H__ */
|