25 #ifndef OPENSUBDIV3_OSD_TBB_KERNEL_H
26 #define OPENSUBDIV3_OSD_TBB_KERNEL_H
28 #include "../version.h"
31 namespace OPENSUBDIV_VERSION {
38 struct BufferDescriptor;
42 float * dst, BufferDescriptor
const &dstDesc,
46 float const * weights,
51 float * dst, BufferDescriptor
const &dstDesc,
52 float * dstDu, BufferDescriptor
const &dstDuDesc,
53 float * dstDv, BufferDescriptor
const &dstDvDesc,
57 float const * weights,
58 float const * duWeights,
59 float const * dvWeights,
64 float *dst, BufferDescriptor
const &dstDesc,
65 float *dstDu, BufferDescriptor
const &dstDuDesc,
66 float *dstDv, BufferDescriptor
const &dstDvDesc,
68 const PatchCoord *patchCoords,
69 const PatchArray *patchArrayBuffer,
70 const int *patchIndexBuffer,
71 const PatchParam *patchParamBuffer);
76 using namespace OPENSUBDIV_VERSION;
80 #endif // OPENSUBDIV3_OSD_TBB_KERNEL_H
void TbbEvalStencils(float const *src, BufferDescriptor const &srcDesc, float *dst, BufferDescriptor const &dstDesc, int const *sizes, int const *offsets, int const *indices, float const *weights, int start, int end)
void TbbEvalPatches(float const *src, BufferDescriptor const &srcDesc, float *dst, BufferDescriptor const &dstDesc, float *dstDu, BufferDescriptor const &dstDuDesc, float *dstDv, BufferDescriptor const &dstDvDesc, int numPatchCoords, const PatchCoord *patchCoords, const PatchArray *patchArrayBuffer, const int *patchIndexBuffer, const PatchParam *patchParamBuffer)