2015-08-26 16:30:15 +00:00
|
|
|
//============================================================================
|
|
|
|
// Copyright (c) Kitware, Inc.
|
|
|
|
// All rights reserved.
|
|
|
|
// See LICENSE.txt for details.
|
2019-04-15 23:24:21 +00:00
|
|
|
//
|
2015-08-26 16:30:15 +00:00
|
|
|
// 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.
|
|
|
|
//============================================================================
|
2016-04-13 19:52:15 +00:00
|
|
|
#ifndef vtk_m_interop_internal_OpenGLHeaders_h
|
|
|
|
#define vtk_m_interop_internal_OpenGLHeaders_h
|
2015-08-26 16:30:15 +00:00
|
|
|
|
|
|
|
#include <vtkm/internal/ExportMacros.h>
|
|
|
|
|
|
|
|
#if defined(__APPLE__)
|
2017-05-18 14:51:24 +00:00
|
|
|
|
2017-05-18 14:29:41 +00:00
|
|
|
#include <OpenGL/gl.h>
|
2015-08-26 16:30:15 +00:00
|
|
|
#else
|
2017-05-18 14:29:41 +00:00
|
|
|
#include <GL/gl.h>
|
2015-08-26 16:30:15 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef VTKM_CUDA
|
2017-05-18 14:29:41 +00:00
|
|
|
#include <cuda_runtime.h>
|
2017-05-18 14:51:24 +00:00
|
|
|
|
2017-05-18 14:29:41 +00:00
|
|
|
#include <cuda_gl_interop.h>
|
2015-08-26 16:30:15 +00:00
|
|
|
#endif
|
|
|
|
|
2016-04-13 19:52:15 +00:00
|
|
|
#endif //vtk_m_interop_internal_OpenGLHeaders_h
|