Cycles: Remove OpenGL header
It is not really used from any of the sources, including the standalone app. Since we are moving to a more backend-independent drawing it makes sense to remove header which was specific to how Blender integrates Cycles into viewport. There is probably some cleanup in CMake files is possible, but there is some inter-dependency with USD. Differential Revision: https://developer.blender.org/D16681
This commit is contained in:
parent
ab8946f957
commit
c5e71cebaa
|
@ -6,7 +6,6 @@
|
|||
#include "device/device.h"
|
||||
#include "util/log.h"
|
||||
#include "util/math.h"
|
||||
#include "util/opengl.h"
|
||||
|
||||
#include "GPU_context.h"
|
||||
#include "GPU_immediate.h"
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "util/guiding.h"
|
||||
#include "util/log.h"
|
||||
#include "util/md5.h"
|
||||
#include "util/opengl.h"
|
||||
#include "util/openimagedenoise.h"
|
||||
#include "util/path.h"
|
||||
#include "util/string.h"
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include "util/foreach.h"
|
||||
#include "util/hash.h"
|
||||
#include "util/log.h"
|
||||
#include "util/opengl.h"
|
||||
#include "util/openimagedenoise.h"
|
||||
|
||||
CCL_NAMESPACE_BEGIN
|
||||
|
|
|
@ -74,7 +74,6 @@ set(SRC_HEADERS
|
|||
md5.h
|
||||
murmurhash.h
|
||||
openimagedenoise.h
|
||||
opengl.h
|
||||
openvdb.h
|
||||
optimization.h
|
||||
param.h
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
/* 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__ */
|
Loading…
Reference in New Issue