void OsdCpuComputeController::ApplyBilinearFaceVerticesKernel( FarKernelBatch const &batch, void * clientdata) const { OsdCpuComputeContext * context = static_cast<OsdCpuComputeContext*>(clientdata); assert(context); OsdCpuComputeFace( context->GetVertexDescriptor(), context->GetCurrentVertexBuffer(), context->GetCurrentVaryingBuffer(), (const int*)context->GetTable(FarSubdivisionTables<OsdVertex>::F_IT)->GetBuffer(), (const int*)context->GetTable(FarSubdivisionTables<OsdVertex>::F_ITa)->GetBuffer(), batch.GetVertexOffset(), batch.GetTableOffset(), batch.GetStart(), batch.GetEnd()); }
void OsdCpuComputeController::ApplyLoopVertexVerticesKernelA2( FarKernelBatch const &batch, void * clientdata) const { OsdCpuComputeContext * context = static_cast<OsdCpuComputeContext*>(clientdata); assert(context); OsdCpuComputeVertexA( context->GetVertexDescriptor(), context->GetCurrentVertexBuffer(), context->GetCurrentVaryingBuffer(), (const int*)context->GetTable(FarSubdivisionTables<OsdVertex>::V_ITa)->GetBuffer(), (const float*)context->GetTable(FarSubdivisionTables<OsdVertex>::V_W)->GetBuffer(), batch.GetVertexOffset(), batch.GetTableOffset(), batch.GetStart(), batch.GetEnd(), true); }
void OsdGcdComputeController::ApplyLoopVertexVerticesKernelA2( FarKernelBatch const &batch, void * clientdata) const { OsdCpuComputeContext * context = static_cast<OsdCpuComputeContext*>(clientdata); assert(context); OsdGcdComputeVertexA( context->GetVertexDescriptor(), context->GetCurrentVertexBuffer(), context->GetCurrentVaryingBuffer(), (const int*)context->GetTable(Table::V_ITa)->GetBuffer(), (const float*)context->GetTable(Table::V_W)->GetBuffer(), batch.vertexOffset, batch.tableOffset, batch.start, batch.end, true, _gcd_queue); }
void OsdGcdComputeController::ApplyBilinearFaceVerticesKernel( FarKernelBatch const &batch, void * clientdata) const { OsdCpuComputeContext * context = static_cast<OsdCpuComputeContext*>(clientdata); assert(context); OsdGcdComputeFace( context->GetVertexDescriptor(), context->GetCurrentVertexBuffer(), context->GetCurrentVaryingBuffer(), (const int*)context->GetTable(Table::F_IT)->GetBuffer(), (const int*)context->GetTable(Table::F_ITa)->GetBuffer(), batch.vertexOffset, batch.tableOffset, batch.start, batch.end, _gcd_queue); }
void OsdGcdComputeController::ApplyCatmarkEdgeVerticesKernel( FarKernelBatch const &batch, void * clientdata) const { OsdCpuComputeContext * context = static_cast<OsdCpuComputeContext*>(clientdata); assert(context); OsdGcdComputeEdge( context->GetVertexDescriptor(), context->GetCurrentVertexBuffer(), context->GetCurrentVaryingBuffer(), (const int*)context->GetTable(FarSubdivisionTables<OsdVertex>::E_IT)->GetBuffer(), (const float*)context->GetTable(FarSubdivisionTables<OsdVertex>::E_W)->GetBuffer(), batch.GetVertexOffset(), batch.GetTableOffset(), batch.GetStart(), batch.GetEnd(), _gcd_queue); }