Prefix header guards and add pragma once.

This commit is contained in:
jcowles 2015-05-19 11:22:37 -07:00
parent 7b4aa33a1f
commit 9d32712ec4
92 changed files with 368 additions and 276 deletions

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_END_CAP_BSPLINE_BASIS_PATCH_FACTORY_H
#define FAR_END_CAP_BSPLINE_BASIS_PATCH_FACTORY_H
#pragma once
#ifndef OPENSUBDIV3_FAR_END_CAP_BSPLINE_BASIS_PATCH_FACTORY_H
#define OPENSUBDIV3_FAR_END_CAP_BSPLINE_BASIS_PATCH_FACTORY_H
#include "../far/patchTablesFactory.h"
#include "../far/gregoryBasis.h"
@ -99,4 +100,4 @@ private:
} // end namespace OPENSUBDIV_VERSION
} // end namespace OpenSubdiv
#endif // FAR_END_CAP_BSPLINE_BASIS_PATCH_FACTORY_H
#endif // OPENSUBDIV3_FAR_END_CAP_BSPLINE_BASIS_PATCH_FACTORY_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_END_CAP_GREGORY_BASIS_PATCH_FACTORY_H
#define FAR_END_CAP_GREGORY_BASIS_PATCH_FACTORY_H
#pragma once
#ifndef OPENSUBDIV3_FAR_END_CAP_GREGORY_BASIS_PATCH_FACTORY_H
#define OPENSUBDIV3_FAR_END_CAP_GREGORY_BASIS_PATCH_FACTORY_H
#include "../far/patchTablesFactory.h"
#include "../far/gregoryBasis.h"
@ -137,4 +138,4 @@ private:
} // end namespace OPENSUBDIV_VERSION
} // end namespace OpenSubdiv
#endif // FAR_END_CAP_GREGORY_BASIS_PATCH_FACTORY_H
#endif // OPENSUBDIV3_FAR_END_CAP_GREGORY_BASIS_PATCH_FACTORY_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_END_CAP_LEGACY_GREGORY_PATCH_FACTORY_H
#define FAR_END_CAP_LEGACY_GREGORY_PATCH_FACTORY_H
#pragma once
#ifndef OPENSUBDIV3_FAR_END_CAP_LEGACY_GREGORY_PATCH_FACTORY_H
#define OPENSUBDIV3_FAR_END_CAP_LEGACY_GREGORY_PATCH_FACTORY_H
#include "../far/patchTablesFactory.h"
@ -76,4 +77,4 @@ private:
} // end namespace OPENSUBDIV_VERSION
} // end namespace OpenSubdiv
#endif // FAR_END_CAP_LEGACY_GREGORY_PATCH_FACTORY_H
#endif // OPENSUBDIV3_FAR_END_CAP_LEGACY_GREGORY_PATCH_FACTORY_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_ERROR_H
#define FAR_ERROR_H
#pragma once
#ifndef OPENSUBDIV3_FAR_ERROR_H
#define OPENSUBDIV3_FAR_ERROR_H
#include "../version.h"
@ -90,4 +91,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // FAR_ERROR_H
#endif // OPENSUBDIV3_FAR_ERROR_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_GREGORY_BASIS_H
#define FAR_GREGORY_BASIS_H
#pragma once
#ifndef OPENSUBDIV3_FAR_GREGORY_BASIS_H
#define OPENSUBDIV3_FAR_GREGORY_BASIS_H
#include "../far/protoStencil.h"
#include "../vtr/level.h"
@ -264,4 +265,4 @@ private:
} // end namespace OPENSUBDIV_VERSION
} // end namespace OpenSubdiv
#endif /* FAR_GREGORY_BASIS_H */
#endif /* OPENSUBDIV3_FAR_GREGORY_BASIS_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_INTERPOLATE_H
#define FAR_INTERPOLATE_H
#pragma once
#ifndef OPENSUBDIV3_FAR_INTERPOLATE_H
#define OPENSUBDIV3_FAR_INTERPOLATE_H
#include "../version.h"
@ -242,4 +243,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* FAR_INTERPOLATE_H */
#endif /* OPENSUBDIV3_FAR_INTERPOLATE_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_PATCH_DESCRIPTOR_H
#define FAR_PATCH_DESCRIPTOR_H
#pragma once
#ifndef OPENSUBDIV3_FAR_PATCH_DESCRIPTOR_H
#define OPENSUBDIV3_FAR_PATCH_DESCRIPTOR_H
#include "../version.h"
@ -205,4 +206,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* FAR_PATCH_DESCRIPTOR_H */
#endif /* OPENSUBDIV3_FAR_PATCH_DESCRIPTOR_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_PATCH_MAP_H
#define FAR_PATCH_MAP_H
#pragma once
#ifndef OPENSUBDIV3_FAR_PATCH_MAP_H
#define OPENSUBDIV3_FAR_PATCH_MAP_H
#include "../version.h"
@ -190,4 +191,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* FAR_PATCH_PARAM */
#endif /* OPENSUBDIV3_FAR_PATCH_PARAM */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_PATCH_PARAM_H
#define FAR_PATCH_PARAM_H
#pragma once
#ifndef OPENSUBDIV3_FAR_PATCH_PARAM_H
#define OPENSUBDIV3_FAR_PATCH_PARAM_H
#include "../version.h"
@ -190,4 +191,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* FAR_PATCH_PARAM */
#endif /* OPENSUBDIV3_FAR_PATCH_PARAM */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_PATCH_TABLES_H
#define FAR_PATCH_TABLES_H
#pragma once
#ifndef OPENSUBDIV3_FAR_PATCH_TABLES_H
#define OPENSUBDIV3_FAR_PATCH_TABLES_H
#include "../version.h"
@ -560,4 +561,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* FAR_PATCH_TABLES */
#endif /* OPENSUBDIV3_FAR_PATCH_TABLES */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_PATCH_TABLES_FACTORY_H
#define FAR_PATCH_TABLES_FACTORY_H
#pragma once
#ifndef OPENSUBDIV3_FAR_PATCH_TABLES_FACTORY_H
#define OPENSUBDIV3_FAR_PATCH_TABLES_FACTORY_H
#include "../version.h"
@ -184,4 +185,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* FAR_PATCH_TABLES_FACTORY_H */
#endif /* OPENSUBDIV3_FAR_PATCH_TABLES_FACTORY_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_PROTOSTENCIL_H
#define FAR_PROTOSTENCIL_H
#pragma once
#ifndef OPENSUBDIV3_FAR_PROTOSTENCIL_H
#define OPENSUBDIV3_FAR_PROTOSTENCIL_H
#include "../far/stencilTables.h"
@ -503,4 +504,4 @@ typedef LimitAllocator<ProtoLimitStencil, BigLimitStencil> LimitStencilAllocator
} // end namespace OPENSUBDIV_VERSION
} // end namespace OpenSubdiv
#endif // FAR_PROTOSTENCIL_H
#endif // OPENSUBDIV3_FAR_PROTOSTENCIL_H

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_PTEX_INDICES_H
#define FAR_PTEX_INDICES_H
#pragma once
#ifndef OPENSUBDIV3_FAR_PTEX_INDICES_H
#define OPENSUBDIV3_FAR_PTEX_INDICES_H
#include "../version.h"
@ -103,4 +104,4 @@ private:
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* FAR_PTEX_INDICES_H */
#endif /* OPENSUBDIV3_FAR_PTEX_INDICES_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_STENCILTABLES_H
#define FAR_STENCILTABLES_H
#pragma once
#ifndef OPENSUBDIV3_FAR_STENCILTABLES_H
#define OPENSUBDIV3_FAR_STENCILTABLES_H
#include "../version.h"
@ -422,4 +423,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // FAR_STENCILTABLES_H
#endif // OPENSUBDIV3_FAR_STENCILTABLES_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_STENCILTABLE_FACTORY_H
#define FAR_STENCILTABLE_FACTORY_H
#pragma once
#ifndef OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H
#define OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H
#include "../version.h"
@ -188,4 +189,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // FAR_STENCILTABLE_FACTORY_H
#endif // OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_TOPOLOGY_REFINER_H
#define FAR_TOPOLOGY_REFINER_H
#pragma once
#ifndef OPENSUBDIV3_FAR_TOPOLOGY_REFINER_H
#define OPENSUBDIV3_FAR_TOPOLOGY_REFINER_H
#include "../version.h"
@ -1714,4 +1715,4 @@ TopologyRefiner::faceVaryingLimit(T const & src, U * dst, int channel) const {
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* FAR_TOPOLOGY_REFINER_H */
#endif /* OPENSUBDIV3_FAR_TOPOLOGY_REFINER_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_TOPOLOGY_REFINER_FACTORY_H
#define FAR_TOPOLOGY_REFINER_FACTORY_H
#pragma once
#ifndef OPENSUBDIV3_FAR_TOPOLOGY_REFINER_FACTORY_H
#define OPENSUBDIV3_FAR_TOPOLOGY_REFINER_FACTORY_H
#include "../version.h"
@ -430,4 +431,4 @@ TopologyRefinerFactory<TopologyRefinerFactoryBase::TopologyDescriptor>::reportIn
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* FAR_TOPOLOGY_REFINER_FACTORY_H */
#endif /* OPENSUBDIV3_FAR_TOPOLOGY_REFINER_FACTORY_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef FAR_TYPES_H
#define FAR_TYPES_H
#pragma once
#ifndef OPENSUBDIV3_FAR_TYPES_H
#define OPENSUBDIV3_FAR_TYPES_H
#include "../version.h"
@ -52,4 +53,4 @@ typedef Vtr::ConstLocalIndexArray ConstLocalIndexArray;
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* FAR_TYPES_H */
#endif /* OPENSUBDIV3_FAR_TYPES_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRALLOCATOR_H
#define HBRALLOCATOR_H
#pragma once
#ifndef OPENSUBDIV3_HBRALLOCATOR_H
#define OPENSUBDIV3_HBRALLOCATOR_H
#include "../version.h"
@ -169,4 +170,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRALLOCATOR_H */
#endif /* OPENSUBDIV3_HBRALLOCATOR_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRBILINEAR_H
#define HBRBILINEAR_H
#pragma once
#ifndef OPENSUBDIV3_HBRBILINEAR_H
#define OPENSUBDIV3_HBRBILINEAR_H
/*#define HBR_DEBUG */
#include "../hbr/subdivision.h"
@ -906,4 +907,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRBILINEAR_H */
#endif /* OPENSUBDIV3_HBRBILINEAR_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRCATMARK_H
#define HBRCATMARK_H
#pragma once
#ifndef OPENSUBDIV3_HBRCATMARK_H
#define OPENSUBDIV3_HBRCATMARK_H
/*#define HBR_DEBUG */
#include "../hbr/subdivision.h"
@ -1128,4 +1129,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRCATMARK_H */
#endif /* OPENSUBDIV3_HBRCATMARK_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRCORNEREDIT_H
#define HBRCORNEREDIT_H
#pragma once
#ifndef OPENSUBDIV3_HBRCORNEREDIT_H
#define OPENSUBDIV3_HBRCORNEREDIT_H
#include "../version.h"
@ -95,4 +96,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRCORNEREDIT_H */
#endif /* OPENSUBDIV3_HBRCORNEREDIT_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRCREASEEDIT_H
#define HBRCREASEEDIT_H
#pragma once
#ifndef OPENSUBDIV3_HBRCREASEEDIT_H
#define OPENSUBDIV3_HBRCREASEEDIT_H
#include "../version.h"
@ -97,4 +98,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRCREASEEDIT_H */
#endif /* OPENSUBDIV3_HBRCREASEEDIT_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRFACE_H
#define HBRFACE_H
#pragma once
#ifndef OPENSUBDIV3_HBRFACE_H
#define OPENSUBDIV3_HBRFACE_H
#include <assert.h>
#include <cstdio>
@ -1026,4 +1027,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRFACE_H */
#endif /* OPENSUBDIV3_HBRFACE_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRFACEEDIT_H
#define HBRFACEEDIT_H
#pragma once
#ifndef OPENSUBDIV3_HBRFACEEDIT_H
#define OPENSUBDIV3_HBRFACEEDIT_H
#include "../hbr/hierarchicalEdit.h"
@ -122,4 +123,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRFACEEDIT_H */
#endif /* OPENSUBDIV3_HBRFACEEDIT_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRFVARDATA_H
#define HBRFVARDATA_H
#pragma once
#ifndef OPENSUBDIV3_HBRFVARDATA_H
#define OPENSUBDIV3_HBRFVARDATA_H
#include <cstring>
#include <cmath>
@ -197,4 +198,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRFVARDATA_H */
#endif /* OPENSUBDIV3_HBRFVARDATA_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRFVAREDIT_H
#define HBRFVAREDIT_H
#pragma once
#ifndef OPENSUBDIV3_HBRFVAREDIT_H
#define OPENSUBDIV3_HBRFVAREDIT_H
#include "../hbr/hierarchicalEdit.h"
#include "../hbr/vertexEdit.h"
@ -118,4 +119,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRFVAREDIT_H */
#endif /* OPENSUBDIV3_HBRFVAREDIT_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRHALFEDGE_H
#define HBRHALFEDGE_H
#pragma once
#ifndef OPENSUBDIV3_HBRHALFEDGE_H
#define OPENSUBDIV3_HBRHALFEDGE_H
#include <assert.h>
#include <stddef.h>
@ -737,4 +738,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRHALFEDGE_H */
#endif /* OPENSUBDIV3_HBRHALFEDGE_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRHIERARCHICALEDIT_H
#define HBRHIERARCHICALEDIT_H
#pragma once
#ifndef OPENSUBDIV3_HBRHIERARCHICALEDIT_H
#define OPENSUBDIV3_HBRHIERARCHICALEDIT_H
#include "../version.h"
@ -168,4 +169,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRHIERARCHICALEDIT_H */
#endif /* OPENSUBDIV3_HBRHIERARCHICALEDIT_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRHOLEEDIT_H
#define HBRHOLEEDIT_H
#pragma once
#ifndef OPENSUBDIV3_HBRHOLEEDIT_H
#define OPENSUBDIV3_HBRHOLEEDIT_H
#include "../version.h"
@ -71,4 +72,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRHOLEEDIT_H */
#endif /* OPENSUBDIV3_HBRHOLEEDIT_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRLOOP_H
#define HBRLOOP_H
#pragma once
#ifndef OPENSUBDIV3_HBRLOOP_H
#define OPENSUBDIV3_HBRLOOP_H
#include <cmath>
#include <assert.h>
@ -976,4 +977,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRLOOP_H */
#endif /* OPENSUBDIV3_HBRLOOP_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRMESH_H
#define HBRMESH_H
#pragma once
#ifndef OPENSUBDIV3_HBRMESH_H
#define OPENSUBDIV3_HBRMESH_H
#ifdef PRMAN
#include "libtarget/TgMalloc.h" // only for alloca
@ -1009,4 +1010,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRMESH_H */
#endif /* OPENSUBDIV3_HBRMESH_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRSUBDIVISION_H
#define HBRSUBDIVISION_H
#pragma once
#ifndef OPENSUBDIV3_HBRSUBDIVISION_H
#define OPENSUBDIV3_HBRSUBDIVISION_H
#include "../version.h"
@ -290,4 +291,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRSUBDIVISION_H */
#endif /* OPENSUBDIV3_HBRSUBDIVISION_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRVERTEX_H
#define HBRVERTEX_H
#pragma once
#ifndef OPENSUBDIV3_HBRVERTEX_H
#define OPENSUBDIV3_HBRVERTEX_H
#include <assert.h>
#include <iostream>
@ -1554,5 +1555,5 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRVERTEX_H */
#endif /* OPENSUBDIV3_HBRVERTEX_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef HBRVERTEXEDIT_H
#define HBRVERTEXEDIT_H
#pragma once
#ifndef OPENSUBDIV3_HBRVERTEXEDIT_H
#define OPENSUBDIV3_HBRVERTEXEDIT_H
#include <algorithm>
#include "../hbr/hierarchicalEdit.h"
@ -238,4 +239,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* HBRVERTEXEDIT_H */
#endif /* OPENSUBDIV3_HBRVERTEXEDIT_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_CL_D3D11_VERTEX_BUFFER_H
#define OSD_CL_D3D11_VERTEX_BUFFER_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CL_D3D11_VERTEX_BUFFER_H
#define OPENSUBDIV3_OSD_CL_D3D11_VERTEX_BUFFER_H
#include "../version.h"
#include "../osd/opencl.h"
@ -140,4 +141,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_CL_D3D11_VERTEX_BUFFER_H
#endif // OPENSUBDIV3_OSD_CL_D3D11_VERTEX_BUFFER_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_OSD_CL_EVALUATOR_H
#define OPENSUBDIV_OSD_CL_EVALUATOR_H
#pragma once
#ifndef OPENSUBDIV_OPENSUBDIV3_OSD_CL_EVALUATOR_H
#define OPENSUBDIV_OPENSUBDIV3_OSD_CL_EVALUATOR_H
#include "../version.h"
@ -227,4 +228,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OPENSUBDIV_OSD_CL_EVALUATOR_H
#endif // OPENSUBDIV_OPENSUBDIV3_OSD_CL_EVALUATOR_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_CL_GL_VERTEX_BUFFER_H
#define OSD_CL_GL_VERTEX_BUFFER_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CL_GL_VERTEX_BUFFER_H
#define OPENSUBDIV3_OSD_CL_GL_VERTEX_BUFFER_H
#include "../version.h"
@ -116,4 +117,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_CL_GL_VERTEX_BUFFER_H
#endif // OPENSUBDIV3_OSD_CL_GL_VERTEX_BUFFER_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_CL_VERTEX_BUFFER_H
#define OSD_CL_VERTEX_BUFFER_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H
#define OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H
#include "../version.h"
#include "../osd/opencl.h"
@ -82,4 +83,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_CL_VERTEX_BUFFER_H
#endif // OPENSUBDIV3_OSD_CL_VERTEX_BUFFER_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_CPU_D3D11_VERTEX_BUFFER_H
#define OSD_CPU_D3D11_VERTEX_BUFFER_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H
#define OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H
#include "../version.h"
#include <cstddef>
@ -96,4 +97,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_CPU_D3D11_VERTEX_BUFFER_H
#endif // OPENSUBDIV3_OSD_CPU_D3D11_VERTEX_BUFFER_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_OSD_CPU_EVALUATOR_H
#define OPENSUBDIV_OSD_CPU_EVALUATOR_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CPU_EVALUATOR_H
#define OPENSUBDIV3_OSD_CPU_EVALUATOR_H
#include "../version.h"
@ -239,4 +240,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OPENSUBDIV_OSD_CPU_EVALUATOR_H
#endif // OPENSUBDIV3_OSD_CPU_EVALUATOR_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_CPU_GL_VERTEX_BUFFER_H
#define OSD_CPU_GL_VERTEX_BUFFER_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CPU_GL_VERTEX_BUFFER_H
#define OPENSUBDIV3_OSD_CPU_GL_VERTEX_BUFFER_H
#include "../version.h"
@ -94,4 +95,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_CPU_GL_VERTEX_BUFFER_H
#endif // OPENSUBDIV3_OSD_CPU_GL_VERTEX_BUFFER_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_OSD_CPU_KERNEL_H
#define OPENSUBDIV_OSD_CPU_KERNEL_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CPU_KERNEL_H
#define OPENSUBDIV3_OSD_CPU_KERNEL_H
#include "../version.h"
#include <cstring>
@ -134,4 +135,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_CPU_KERNEL_H
#endif // OPENSUBDIV3_OSD_CPU_KERNEL_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_CPU_SMOOTHNORMAL_CONTEXT_H
#define OSD_CPU_SMOOTHNORMAL_CONTEXT_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CPU_SMOOTHNORMAL_CONTEXT_H
#define OPENSUBDIV3_OSD_CPU_SMOOTHNORMAL_CONTEXT_H
#include "../version.h"
@ -176,4 +177,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_CPU_SMOOTHNORMAL_CONTEXT_H
#endif // OPENSUBDIV3_OSD_CPU_SMOOTHNORMAL_CONTEXT_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_CPU_SMOOTHNORMAL_CONTROLLER_H
#define OSD_CPU_SMOOTHNORMAL_CONTROLLER_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CPU_SMOOTHNORMAL_CONTROLLER_H
#define OPENSUBDIV3_OSD_CPU_SMOOTHNORMAL_CONTROLLER_H
#include "../version.h"
@ -75,4 +76,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_CPU_SMOOTHNORMAL_CONTROLLER_H
#endif // OPENSUBDIV3_OSD_CPU_SMOOTHNORMAL_CONTROLLER_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_CPU_VERTEX_BUFFER_H
#define OSD_CPU_VERTEX_BUFFER_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CPU_VERTEX_BUFFER_H
#define OPENSUBDIV3_OSD_CPU_VERTEX_BUFFER_H
#include "../version.h"
@ -79,4 +80,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_CPU_VERTEX_BUFFER_H
#endif // OPENSUBDIV3_OSD_CPU_VERTEX_BUFFER_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_CUDA_D3D11_VERTEX_BUFFER_H
#define OSD_CUDA_D3D11_VERTEX_BUFFER_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CUDA_D3D11_VERTEX_BUFFER_H
#define OPENSUBDIV3_OSD_CUDA_D3D11_VERTEX_BUFFER_H
#include "../version.h"
@ -106,4 +107,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_CUDA_D3D11_VERTEX_BUFFER_H
#endif // OPENSUBDIV3_OSD_CUDA_D3D11_VERTEX_BUFFER_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_OSD_CUDA_EVALUATOR_H
#define OPENSUBDIV_OSD_CUDA_EVALUATOR_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CUDA_EVALUATOR_H
#define OPENSUBDIV3_OSD_CUDA_EVALUATOR_H
#include "../version.h"
@ -145,4 +146,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OPENSUBDIV_OSD_CUDA_EVALUATOR_H
#endif // OPENSUBDIV3_OSD_CUDA_EVALUATOR_H

View File

@ -23,8 +23,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_CUDA_GL_VERTEX_BUFFER_H
#define OSD_CUDA_GL_VERTEX_BUFFER_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CUDA_GL_VERTEX_BUFFER_H
#define OPENSUBDIV3_OSD_CUDA_GL_VERTEX_BUFFER_H
#include "../version.h"
@ -105,4 +106,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_CUDA_GL_VERTEX_BUFFER_H
#endif // OPENSUBDIV3_OSD_CUDA_GL_VERTEX_BUFFER_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_CUDA_VERTEX_BUFFER_H
#define OSD_CUDA_VERTEX_BUFFER_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H
#define OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H
#include "../version.h"
@ -81,4 +82,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_CUDA_VERTEX_BUFFER_H
#endif // OPENSUBDIV3_OSD_CUDA_VERTEX_BUFFER_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_OSD_D3D11_COMPUTE_EVALUATOR_H
#define OPENSUBDIV_OSD_D3D11_COMPUTE_EVALUATOR_H
#pragma once
#ifndef OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H
#define OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H
#include "../version.h"
@ -224,4 +225,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OPENSUBDIV_OSD_D3D11_COMPUTE_EVALUATOR_H
#endif // OPENSUBDIV3_OSD_D3D11_COMPUTE_EVALUATOR_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_D3D11L_DRAW_CONTEXT_H
#define OSD_D3D11L_DRAW_CONTEXT_H
#pragma once
#ifndef OPENSUBDIV3_OSD_D3D11L_DRAW_CONTEXT_H
#define OPENSUBDIV3_OSD_D3D11L_DRAW_CONTEXT_H
#include "../version.h"
@ -164,4 +165,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* OSD_D3D11L_DRAW_CONTEXT_H */
#endif /* OPENSUBDIV3_OSD_D3D11L_DRAW_CONTEXT_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_D3D11MESH_H
#define OSD_D3D11MESH_H
#pragma once
#ifndef OPENSUBDIV3_OSD_D3D11MESH_H
#define OPENSUBDIV3_OSD_D3D11MESH_H
#include "../version.h"
@ -44,4 +45,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_D3D11MESH_H
#endif // OPENSUBDIV3_OSD_D3D11MESH_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_D3D11_VERTEX_BUFFER_H
#define OSD_D3D11_VERTEX_BUFFER_H
#pragma once
#ifndef OPENSUBDIV3_OSD_D3D11_VERTEX_BUFFER_H
#define OPENSUBDIV3_OSD_D3D11_VERTEX_BUFFER_H
#include "../version.h"
@ -96,4 +97,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_D3D11_VERTEX_BUFFER_H
#endif // OPENSUBDIV3_OSD_D3D11_VERTEX_BUFFER_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_DEBUG_H
#define OSD_DEBUG_H
#pragma once
#ifndef OPENSUBDIV3_OSD_DEBUG_H
#define OPENSUBDIV3_OSD_DEBUG_H
#ifdef OSD_DEBUG_BUILD
@ -58,4 +59,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_DEBUG_H
#endif // OPENSUBDIV3_OSD_DEBUG_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_DRAW_CONTEXT_H
#define OSD_DRAW_CONTEXT_H
#pragma once
#ifndef OPENSUBDIV3_OSD_DRAW_CONTEXT_H
#define OPENSUBDIV3_OSD_DRAW_CONTEXT_H
#include "../version.h"
@ -194,4 +195,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* OSD_DRAW_CONTEXT_H */
#endif /* OPENSUBDIV3_OSD_DRAW_CONTEXT_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_OSD_GL_COMPUTE_EVALUATOR_H
#define OPENSUBDIV_OSD_GL_COMPUTE_EVALUATOR_H
#pragma once
#ifndef OPENSUBDIV3_OSD_GL_COMPUTE_EVALUATOR_H
#define OPENSUBDIV3_OSD_GL_COMPUTE_EVALUATOR_H
#include "../version.h"
@ -212,4 +213,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OPENSUBDIV_OSD_GL_COMPUTE_EVALUATOR_H
#endif // OPENSUBDIV3_OSD_GL_COMPUTE_EVALUATOR_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_GL_DRAW_CONTEXT_H
#define OSD_GL_DRAW_CONTEXT_H
#pragma once
#ifndef OPENSUBDIV3_OSD_GL_DRAW_CONTEXT_H
#define OPENSUBDIV3_OSD_GL_DRAW_CONTEXT_H
#include "../version.h"
@ -151,4 +152,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* OSD_DRAW_CONTEXT_H */
#endif /* OPENSUBDIV3_OSD_DRAW_CONTEXT_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_GL_MESH_H
#define OSD_GL_MESH_H
#pragma once
#ifndef OPENSUBDIV3_OSD_GL_MESH_H
#define OPENSUBDIV3_OSD_GL_MESH_H
#include "../version.h"
@ -44,4 +45,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_GL_MESH_H
#endif // OPENSUBDIV3_OSD_GL_MESH_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_GL_VERTEX_BUFFER_H
#define OSD_GL_VERTEX_BUFFER_H
#pragma once
#ifndef OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H
#define OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H
#include "../version.h"
@ -85,4 +86,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_GL_VERTEX_BUFFER_H
#endif // OPENSUBDIV3_OSD_GL_VERTEX_BUFFER_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_OSD_GL_XFB_EVALUATOR_H
#define OPENSUBDIV_OSD_GL_XFB_EVALUATOR_H
#pragma once
#ifndef OPENSUBDIV3_OSD_GL_XFB_EVALUATOR_H
#define OPENSUBDIV3_OSD_GL_XFB_EVALUATOR_H
#include "../version.h"
@ -212,4 +213,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OPENSUBDIV_OSD_GL_XFB_EVALUATOR_H
#endif // OPENSUBDIV3_OSD_GL_XFB_EVALUATOR_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_OSD_GLSL_PATCH_SHADER_SOURCE_H
#define OPENSUBDIV_OSD_GLSL_PATCH_SHADER_SOURCE_H
#pragma once
#ifndef OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE_H
#define OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE_H
#include "../version.h"
#include <string>
@ -55,4 +56,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OPENSUBDIV_OSD_GLSL_PATCH_SHADER_SOURCE
#endif // OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_OSD_HLSL_PATCH_SHADER_SOURCE_H
#define OPENSUBDIV_OSD_HLSL_PATCH_SHADER_SOURCE_H
#pragma once
#ifndef OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H
#define OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H
#include "../version.h"
#include <string>
@ -52,4 +53,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OPENSUBDIV_OSD_HLSL_PATCH_SHADER_SOURCE_H
#endif // OPENSUBDIV3_OSD_HLSL_PATCH_SHADER_SOURCE_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_MESH_H
#define OSD_MESH_H
#pragma once
#ifndef OPENSUBDIV3_OSD_MESH_H
#define OPENSUBDIV3_OSD_MESH_H
#include "../version.h"
@ -542,4 +543,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_MESH_H
#endif // OPENSUBDIV3_OSD_MESH_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_NON_COPYABLE_H
#define OSD_NON_COPYABLE_H
#pragma once
#ifndef OPENSUBDIV3_OSD_NON_COPYABLE_H
#define OPENSUBDIV3_OSD_NON_COPYABLE_H
namespace OpenSubdiv {
namespace OPENSUBDIV_VERSION {
@ -49,4 +50,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_NON_COPYABLE_H
#endif // OPENSUBDIV3_OSD_NON_COPYABLE_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_OSD_OMP_EVALUATOR_H
#define OPENSUBDIV_OSD_OMP_EVALUATOR_H
#pragma once
#ifndef OPENSUBDIV3_OSD_OMP_EVALUATOR_H
#define OPENSUBDIV3_OSD_OMP_EVALUATOR_H
#include "../version.h"
@ -111,4 +112,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OPENSUBDIV_OSD_OMP_EVALUATOR_H
#endif // OPENSUBDIV3_OSD_OMP_EVALUATOR_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_OSD_OMP_KERNEL_H
#define OPENSUBDIV_OSD_OMP_KERNEL_H
#pragma once
#ifndef OPENSUBDIV3_OSD_OMP_KERNEL_H
#define OPENSUBDIV3_OSD_OMP_KERNEL_H
#include "../version.h"
@ -52,4 +53,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OPENSUBDIV_OSD_OMP_KERNEL_H
#endif // OPENSUBDIV3_OSD_OMP_KERNEL_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_OPENCL_H
#define OSD_OPENCL_H
#pragma once
#ifndef OPENSUBDIV3_OSD_OPENCL_H
#define OPENSUBDIV3_OSD_OPENCL_H
#if defined(OPENSUBDIV_HAS_CLEW)
# include <clew.h>
@ -35,4 +36,4 @@
# endif
#endif
#endif // OSD_CL_UTIL_H
#endif // OPENSUBDIV3_OSD_CL_UTIL_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_OPENGL_H
#define OSD_OPENGL_H
#pragma once
#ifndef OPENSUBDIV3_OSD_OPENGL_H
#define OPENSUBDIV3_OSD_OPENGL_H
#if defined(__APPLE__)
#include "TargetConditionals.h"
@ -50,4 +51,4 @@
#endif
#endif
#endif // OSD_OPENGL_H
#endif // OPENSUBDIV3_OSD_OPENGL_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_OSD_TBB_EVALUATOR_H
#define OPENSUBDIV_OSD_TBB_EVALUATOR_H
#pragma once
#ifndef OPENSUBDIV3_OSD_TBB_EVALUATOR_H
#define OPENSUBDIV3_OSD_TBB_EVALUATOR_H
#include "../version.h"
#include "../osd/vertexDescriptor.h"
@ -109,4 +110,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OPENSUBDIV_OSD_TBB_EVALUATOR_H
#endif // OPENSUBDIV3_OSD_TBB_EVALUATOR_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_OSD_TBB_KERNEL_H
#define OPENSUBDIV_OSD_TBB_KERNEL_H
#pragma once
#ifndef OPENSUBDIV3_OSD_TBB_KERNEL_H
#define OPENSUBDIV3_OSD_TBB_KERNEL_H
#include "../version.h"
@ -52,4 +53,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OPENSUBDIV_OSD_TBB_KERNEL_H
#endif // OPENSUBDIV3_OSD_TBB_KERNEL_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_TBB_SMOOTHNORMAL_CONTROLLER_H
#define OSD_TBB_SMOOTHNORMAL_CONTROLLER_H
#pragma once
#ifndef OPENSUBDIV3_OSD_TBB_SMOOTHNORMAL_CONTROLLER_H
#define OPENSUBDIV3_OSD_TBB_SMOOTHNORMAL_CONTROLLER_H
#include "../version.h"
@ -75,4 +76,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif // OSD_CPU_SMOOTHNORMAL_CONTROLLER_H
#endif // OPENSUBDIV3_OSD_CPU_SMOOTHNORMAL_CONTROLLER_H

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OSD_CPU_VERTEX_DESCRIPTOR_H
#define OSD_CPU_VERTEX_DESCRIPTOR_H
#pragma once
#ifndef OPENSUBDIV3_OSD_CPU_VERTEX_DESCRIPTOR_H
#define OPENSUBDIV3_OSD_CPU_VERTEX_DESCRIPTOR_H
#include "../version.h"
#include <string.h>
@ -79,4 +80,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* OSD_CPU_VERTEX_DESCRIPTRO_H */
#endif /* OPENSUBDIV3_OSD_CPU_VERTEX_DESCRIPTRO_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef SDC_BILINEAR_SCHEME_H
#define SDC_BILINEAR_SCHEME_H
#pragma once
#ifndef OPENSUBDIV3_SDC_BILINEAR_SCHEME_H
#define OPENSUBDIV3_SDC_BILINEAR_SCHEME_H
#include "../version.h"
@ -161,4 +162,4 @@ Scheme<SCHEME_BILINEAR>::assignSmoothLimitTangentMasks(VERTEX const& vertex,
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* SDC_BILINEAR_SCHEME_H */
#endif /* OPENSUBDIV3_SDC_BILINEAR_SCHEME_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef SDC_CATMARK_SCHEME_H
#define SDC_CATMARK_SCHEME_H
#pragma once
#ifndef OPENSUBDIV3_SDC_CATMARK_SCHEME_H
#define OPENSUBDIV3_SDC_CATMARK_SCHEME_H
#include "../version.h"
@ -508,4 +509,4 @@ Scheme<SCHEME_CATMARK>::assignSmoothLimitTangentMasks(VERTEX const& vertex,
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* SDC_CATMARK_SCHEME_H */
#endif /* OPENSUBDIV3_SDC_CATMARK_SCHEME_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef SDC_CREASE_H
#define SDC_CREASE_H
#pragma once
#ifndef OPENSUBDIV3_SDC_CREASE_H
#define OPENSUBDIV3_SDC_CREASE_H
#include "../version.h"
@ -244,4 +245,4 @@ Crease::GetSharpEdgePairOfCrease(float const * incidentEdgeSharpness, int incide
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* SDC_CREASE_H */
#endif /* OPENSUBDIV3_SDC_CREASE_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef SDC_LOOP_SCHEME_H
#define SDC_LOOP_SCHEME_H
#pragma once
#ifndef OPENSUBDIV3_SDC_LOOP_SCHEME_H
#define OPENSUBDIV3_SDC_LOOP_SCHEME_H
#include "../version.h"
@ -567,4 +568,4 @@ Scheme<SCHEME_LOOP>::assignSmoothLimitTangentMasks(VERTEX const& vertex,
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* SDC_LOOP_SCHEME_H */
#endif /* OPENSUBDIV3_SDC_LOOP_SCHEME_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef SDC_OPTIONS_H
#define SDC_OPTIONS_H
#pragma once
#ifndef OPENSUBDIV3_SDC_OPTIONS_H
#define OPENSUBDIV3_SDC_OPTIONS_H
#include "../version.h"
@ -138,4 +139,4 @@ private:
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* SDC_OPTIONS_H */
#endif /* OPENSUBDIV3_SDC_OPTIONS_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef SDC_SCHEME_H
#define SDC_SCHEME_H
#pragma once
#ifndef OPENSUBDIV3_SDC_SCHEME_H
#define OPENSUBDIV3_SDC_SCHEME_H
#include "../version.h"
@ -657,4 +658,4 @@ Scheme<SCHEME>::ComputeVertexLimitMask(VERTEX const& vertex,
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* SDC_SCHEME_H */
#endif /* OPENSUBDIV3_SDC_SCHEME_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef SDC_TYPES_H
#define SDC_TYPES_H
#pragma once
#ifndef OPENSUBDIV3_SDC_TYPES_H
#define OPENSUBDIV3_SDC_TYPES_H
#include "../version.h"
@ -73,4 +74,4 @@ struct SchemeTypeTraits {
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* SDC_TYPES_H */
#endif /* OPENSUBDIV3_SDC_TYPES_H */

View File

@ -22,8 +22,9 @@
// language governing permissions and limitations under the Apache License.
//
#ifndef OPENSUBDIV_VERSION_H
#define OPENSUBDIV_VERSION_H
#pragma once
#ifndef OPENSUBDIV3_VERSION_H
#define OPENSUBDIV3_VERSION_H
#define OPENSUBDIV_VERSION v3_0_0_beta
@ -36,4 +37,4 @@ using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* OPENSUBDIV_VERSION_H */
#endif /* OPENSUBDIV3_VERSION_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef VTR_ARRAY_INTERFACE_H
#define VTR_ARRAY_INTERFACE_H
#pragma once
#ifndef OPENSUBDIV3_VTR_ARRAY_INTERFACE_H
#define OPENSUBDIV3_VTR_ARRAY_INTERFACE_H
#include "../version.h"
@ -145,4 +146,4 @@ public:
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* VTR_ARRAY_INTERFACE_H */
#endif /* OPENSUBDIV3_VTR_ARRAY_INTERFACE_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef VTR_FVAR_LEVEL_H
#define VTR_FVAR_LEVEL_H
#pragma once
#ifndef OPENSUBDIV3_VTR_FVAR_LEVEL_H
#define OPENSUBDIV3_VTR_FVAR_LEVEL_H
#include "../version.h"
@ -385,4 +386,4 @@ FVarLevel::findVertexValueIndex(Index vertexIndex, Index valueIndex) const {
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* VTR_FVAR_LEVEL_H */
#endif /* OPENSUBDIV3_VTR_FVAR_LEVEL_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef VTR_FVAR_REFINEMENT_H
#define VTR_FVAR_REFINEMENT_H
#pragma once
#ifndef OPENSUBDIV3_VTR_FVAR_REFINEMENT_H
#define OPENSUBDIV3_VTR_FVAR_REFINEMENT_H
#include "../version.h"
@ -123,4 +124,4 @@ protected:
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* VTR_FVAR_REFINEMENT_H */
#endif /* OPENSUBDIV3_VTR_FVAR_REFINEMENT_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef VTR_LEVEL_H
#define VTR_LEVEL_H
#pragma once
#ifndef OPENSUBDIV3_VTR_LEVEL_H
#define OPENSUBDIV3_VTR_LEVEL_H
#include "../version.h"
@ -822,4 +823,4 @@ Level::shareFaceVertCountsAndOffsets() const {
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* VTR_LEVEL_H */
#endif /* OPENSUBDIV3_VTR_LEVEL_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef VTR_INTERFACES_H
#define VTR_INTERFACES_H
#pragma once
#ifndef OPENSUBDIV3_VTR_INTERFACES_H
#define OPENSUBDIV3_VTR_INTERFACES_H
#include "../version.h"
@ -196,4 +197,4 @@ private:
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* VTR_INTERFACES_H */
#endif /* OPENSUBDIV3_VTR_INTERFACES_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef VTR_QUAD_REFINEMENT_H
#define VTR_QUAD_REFINEMENT_H
#pragma once
#ifndef OPENSUBDIV3_VTR_QUAD_REFINEMENT_H
#define OPENSUBDIV3_VTR_QUAD_REFINEMENT_H
#include "../version.h"
@ -98,4 +99,4 @@ private:
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* VTR_REFINEMENT_H */
#endif /* OPENSUBDIV3_VTR_REFINEMENT_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef VTR_REFINEMENT_H
#define VTR_REFINEMENT_H
#pragma once
#ifndef OPENSUBDIV3_VTR_REFINEMENT_H
#define OPENSUBDIV3_VTR_REFINEMENT_H
#include "../version.h"
@ -445,4 +446,4 @@ Refinement::getEdgeChildEdges(Index parentEdge) {
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* VTR_REFINEMENT_H */
#endif /* OPENSUBDIV3_VTR_REFINEMENT_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef VTR_SPARSE_SELECTOR_H
#define VTR_SPARSE_SELECTOR_H
#pragma once
#ifndef OPENSUBDIV3_VTR_SPARSE_SELECTOR_H
#define OPENSUBDIV3_VTR_SPARSE_SELECTOR_H
#include "../version.h"
@ -98,4 +99,4 @@ private:
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* VTR_SPARSE_SELECTOR_H */
#endif /* OPENSUBDIV3_VTR_SPARSE_SELECTOR_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef VTR_STACK_BUFFER_H
#define VTR_STACK_BUFFER_H
#pragma once
#ifndef OPENSUBDIV3_VTR_STACK_BUFFER_H
#define OPENSUBDIV3_VTR_STACK_BUFFER_H
#include "../version.h"
@ -210,4 +211,4 @@ StackBuffer<TYPE,SIZE>::SetSize(size_type size)
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* VTR_STACK_BUFFER_H */
#endif /* OPENSUBDIV3_VTR_STACK_BUFFER_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef VTR_TRI_REFINEMENT_H
#define VTR_TRI_REFINEMENT_H
#pragma once
#ifndef OPENSUBDIV3_VTR_TRI_REFINEMENT_H
#define OPENSUBDIV3_VTR_TRI_REFINEMENT_H
#include "../version.h"
@ -102,4 +103,4 @@ private:
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* VTR_REFINEMENT_H */
#endif /* OPENSUBDIV3_VTR_REFINEMENT_H */

View File

@ -21,8 +21,9 @@
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache License.
//
#ifndef VTR_TYPES_H
#define VTR_TYPES_H
#pragma once
#ifndef OPENSUBDIV3_VTR_TYPES_H
#define OPENSUBDIV3_VTR_TYPES_H
#include "../version.h"
@ -89,4 +90,4 @@ typedef ConstArray<LocalIndex> ConstLocalIndexArray;
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif /* VTR_TYPES_H */
#endif /* OPENSUBDIV3_VTR_TYPES_H */