You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/3rd/VTK7.1/source/VTK-7.1.1/Rendering/OpenGL/vtkRenderingOpenGLConfigure...

61 lines
1.9 KiB
C

/*=========================================================================
Program: Visualization Toolkit
Module: vtkRenderingOpenGLConfigure.h.in
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef vtkRenderingOpenGLConfigure_h
#define vtkRenderingOpenGLConfigure_h
/* This header contains build settings for the vtkRenderingOpenGL module. */
#ifndef VTK_OPENGL1
#define VTK_OPENGL1
#endif
/* Whether VTK was built to support Cocoa on the Mac. */
#cmakedefine VTK_USE_COCOA
/*--------------------------------------------------------------------------*/
/* Rendering Configuration */
#cmakedefine VTK_USE_X
#define VTK_USE_OPENGL_LIBRARY
#cmakedefine VTK_USE_OSMESA
#cmakedefine VTK_USE_OFFSCREEN
#cmakedefine VTK_USE_GLSL_SHADERS
#cmakedefine VTK_MATERIALS_DIRS
#ifdef VTK_MATERIALS_DIRS
# undef VTK_MATERIALS_DIRS
# define VTK_MATERIALS_DIRS "@VTK_MATERIALS_DIRS@"
#endif
/* Options for GPUInfo */
#cmakedefine VTK_USE_DIRECTX
#cmakedefine VTK_USE_CORE_GRAPHICS
#cmakedefine VTK_USE_NVCONTROL
/*--------------------------------------------------------------------------*/
/* Setup VTK based on platform features and configuration. */
/* OGLR */
/* OGLR is for GLX. It can be on Unix, Mac or Windows */
#if ((defined(VTK_USE_OPENGL_LIBRARY) && defined(VTK_USE_X) && \
!defined(_WIN32)) || \
(defined(VTK_USE_X) && defined(_WIN32))) && \
!defined(VTK_USE_COCOA)
# define VTK_USE_OGLR
#endif
#endif