Changeset View
Changeset View
Standalone View
Standalone View
intern/opensubdiv/internal/evaluator/eval_output_gpu.cc
| Show All 39 Lines | |||||
| } | } | ||||
| } // namespace | } // namespace | ||||
| GpuEvalOutput::GpuEvalOutput(const StencilTable *vertex_stencils, | GpuEvalOutput::GpuEvalOutput(const StencilTable *vertex_stencils, | ||||
| const StencilTable *varying_stencils, | const StencilTable *varying_stencils, | ||||
| const vector<const StencilTable *> &all_face_varying_stencils, | const vector<const StencilTable *> &all_face_varying_stencils, | ||||
| const int face_varying_width, | const int face_varying_width, | ||||
| const int vertex_data_width, | |||||
| const PatchTable *patch_table, | const PatchTable *patch_table, | ||||
| VolatileEvalOutput::EvaluatorCache *evaluator_cache) | VolatileEvalOutput::EvaluatorCache *evaluator_cache) | ||||
| : VolatileEvalOutput<GLVertexBuffer, | : VolatileEvalOutput<GLVertexBuffer, | ||||
| GLVertexBuffer, | GLVertexBuffer, | ||||
| GLStencilTableSSBO, | GLStencilTableSSBO, | ||||
| GLPatchTable, | GLPatchTable, | ||||
| GLComputeEvaluator>(vertex_stencils, | GLComputeEvaluator>(vertex_stencils, | ||||
| varying_stencils, | varying_stencils, | ||||
| all_face_varying_stencils, | all_face_varying_stencils, | ||||
| face_varying_width, | face_varying_width, | ||||
| vertex_data_width, | |||||
| patch_table, | patch_table, | ||||
| evaluator_cache) | evaluator_cache) | ||||
| { | { | ||||
| } | } | ||||
| void GpuEvalOutput::fillPatchArraysBuffer(OpenSubdiv_Buffer *patch_arrays_buffer) | void GpuEvalOutput::fillPatchArraysBuffer(OpenSubdiv_Buffer *patch_arrays_buffer) | ||||
| { | { | ||||
| GLPatchTable *patch_table = getPatchTable(); | GLPatchTable *patch_table = getPatchTable(); | ||||
| ▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines | |||||