OpenSubdiv/opensubdiv/osd
Sergey Sharybin a095ebf1f0 Fix linking error when using GCC and including osd/mesh.h from several places
Te issue here is that some of the functions were not considered templated
anymore because all their template arguments were specified, which made it
so compiler was creating implementation for them in every file from where
the header was included. This causes errors during linking related on the
same symbol implemented in several places.

Marking those functions as inlined solves the problem and should not cause
any bad side effects because they're small enough and likely being inlined
by an optimizer anyway.
2015-07-19 18:06:54 +02:00
..
Android.mk Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
bufferDescriptor.h Fix undesirable doxygen annotations in osd. 2015-06-18 18:12:08 -07:00
clD3D11VertexBuffer.cpp Improve OpenCL/DX interop configuration 2015-06-02 16:20:59 -07:00
clD3D11VertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
clEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
clEvaluator.h Fix undesirable doxygen annotations in osd. 2015-06-18 18:12:08 -07:00
clGLVertexBuffer.cpp Simplify Osd::MeshInterface. 2015-04-27 11:27:05 -07:00
clGLVertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
clKernel.cl Fixed Far::PatchParam encoding of refinement level 2015-06-11 15:10:30 -07:00
clPatchTable.cpp Fix OpenCL and CUDA EvalPatches kernels. 2015-05-26 11:13:30 -07:00
clPatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
clVertexBuffer.cpp Mac build and shader compiler error fix. 2015-05-28 10:27:23 -07:00
clVertexBuffer.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
CMakeLists.txt Improve OpenCL/DX interop configuration 2015-06-02 16:20:59 -07:00
cpuD3D11VertexBuffer.cpp Simplify Osd::MeshInterface. 2015-04-27 11:27:05 -07:00
cpuD3D11VertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cpuEvaluator.cpp Fixed Far::PatchParam encoding of refinement level 2015-06-11 15:10:30 -07:00
cpuEvaluator.h Fix out of bounds mem access in CPU stencil eval. 2015-05-30 22:55:43 -07:00
cpuGLVertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
cpuGLVertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cpuKernel.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
cpuKernel.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
cpuPatchTable.cpp Fixed Far::PatchParam encoding of refinement level 2015-06-11 15:10:30 -07:00
cpuPatchTable.h Mac build and shader compiler error fix. 2015-05-28 10:27:23 -07:00
cpuVertexBuffer.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cpuVertexBuffer.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaD3D11VertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
cudaD3D11VertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cudaEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
cudaEvaluator.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
cudaGLVertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
cudaGLVertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cudaKernel.cu Fixed Far::PatchParam encoding of refinement level 2015-06-11 15:10:30 -07:00
cudaPatchTable.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaPatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaVertexBuffer.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaVertexBuffer.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
d3d11ComputeEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
d3d11ComputeEvaluator.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
d3d11LegacyGregoryPatchTable.cpp renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
d3d11LegacyGregoryPatchTable.h renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
d3d11Mesh.h osd layer: Add GLPatchTable and retire DrawContext 2015-05-20 15:55:06 -07:00
d3d11PatchTable.cpp Fixed Far::PatchParam encoding of refinement level 2015-06-11 15:10:30 -07:00
d3d11PatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
d3d11VertexBuffer.cpp Simplify Osd::MeshInterface. 2015-04-27 11:27:05 -07:00
d3d11VertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
glComputeEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
glComputeEvaluator.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
glLegacyGregoryPatchTable.cpp Fixed crash in GL viewers w/ LegacyGregory 2015-06-11 17:30:14 -07:00
glLegacyGregoryPatchTable.h renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
glMesh.h osd layer: Add GLPatchTable and retire DrawContext 2015-05-20 15:55:06 -07:00
glPatchTable.cpp Fixed Far::PatchParam encoding of refinement level 2015-06-11 15:10:30 -07:00
glPatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
glslComputeKernel.glsl Fixed Far::PatchParam encoding of refinement level 2015-06-11 15:10:30 -07:00
glslPatchBSpline.glsl Workaround GLSL shader compiler on AMD 2015-05-31 10:26:50 -07:00
glslPatchCommon.glsl fix legacy gregory patch shader to support higher valence 2015-06-22 11:08:11 -07:00
glslPatchGregory.glsl Workaround GLSL shader compiler on AMD 2015-05-31 10:59:01 -07:00
glslPatchGregoryBasis.glsl Workaround GLSL shader compiler on AMD 2015-05-31 10:59:01 -07:00
glslPatchShaderSource.cpp Osd drawing API refactoring. 2015-05-13 17:35:46 -07:00
glslPatchShaderSource.h Remove #pragma once 2015-05-20 09:59:18 -07:00
glslXFBKernel.glsl Fixed Far::PatchParam encoding of refinement level 2015-06-11 15:10:30 -07:00
glVertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
glVertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
glXFBEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
glXFBEvaluator.h Fix undesirable doxygen annotations in osd. 2015-06-18 18:12:08 -07:00
hlslComputeKernel.hlsl osd refactor: split the vertex buffer argument into src and dst 2015-05-07 16:11:00 -07:00
hlslPatchBSpline.hlsl Sync'd screen-space single-crease patch fix to DX 2015-05-31 08:18:18 -07:00
hlslPatchCommon.hlsl Fixed misspelled point indices in shader comments 2015-06-17 11:18:52 -07:00
hlslPatchGregory.hlsl Re-organized patch tessellation shader code 2015-05-29 23:00:19 -07:00
hlslPatchGregoryBasis.hlsl Re-organized patch tessellation shader code 2015-05-29 23:00:19 -07:00
hlslPatchShaderSource.cpp Add a HLSL version of GregoryBasis patch shader. 2015-05-20 10:49:45 -07:00
hlslPatchShaderSource.h Remove #pragma once 2015-05-20 09:59:18 -07:00
mesh.h Fix linking error when using GCC and including osd/mesh.h from several places 2015-07-19 18:06:54 +02:00
nonCopyable.h Remove #pragma once 2015-05-20 09:59:18 -07:00
ompEvaluator.cpp Fixed Far::PatchParam encoding of refinement level 2015-06-11 15:10:30 -07:00
ompEvaluator.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
ompKernel.cpp Fix offsets in OmpEvalStencils when start is non-zero. 2015-07-05 11:22:38 -06:00
ompKernel.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
opencl.h Remove #pragma once 2015-05-20 09:59:18 -07:00
opengl.h Remove #pragma once 2015-05-20 09:59:18 -07:00
tbbEvaluator.cpp osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
tbbEvaluator.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
tbbKernel.cpp Fix offsets in TbbEvalStencils when start is non-zero. 2015-07-12 16:03:09 -06:00
tbbKernel.h osdlayer: rename Osd::VertexBufferDescriptor to Osd::BufferDescriptor. 2015-05-29 09:21:14 -07:00
types.h Fix Intel compiler warning 2015-07-16 09:27:48 -07:00