Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/app/opengl/display_driver.cpp
| /* SPDX-License-Identifier: Apache-2.0 | /* SPDX-License-Identifier: Apache-2.0 | ||||
| * Copyright 2011-2022 Blender Foundation */ | * Copyright 2011-2022 Blender Foundation */ | ||||
| #include "app/opengl/display_driver.h" | #include "app/opengl/display_driver.h" | ||||
| #include "app/opengl/shader.h" | #include "app/opengl/shader.h" | ||||
| #include "util/log.h" | #include "util/log.h" | ||||
| #include "util/string.h" | #include "util/string.h" | ||||
| #include <GL/glew.h> | |||||
| #include <SDL.h> | #include <SDL.h> | ||||
| #include <epoxy/gl.h> | |||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| /* -------------------------------------------------------------------- | /* -------------------------------------------------------------------- | ||||
| * OpenGLDisplayDriver. | * OpenGLDisplayDriver. | ||||
| */ | */ | ||||
| OpenGLDisplayDriver::OpenGLDisplayDriver(const function<bool()> &gl_context_enable, | OpenGLDisplayDriver::OpenGLDisplayDriver(const function<bool()> &gl_context_enable, | ||||
| ▲ Show 20 Lines • Show All 366 Lines • Show Last 20 Lines | |||||