mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-27 05:50:05 +00:00
851c00d04c
specification (how many elements exists in the buffer). client will create OsdVertexBuffer and provide it as an argument of OsdMesh::Subdivide() function. It would be more flexible and hopefully matches various use cases. Since each dispatcher has to accept arbitrary vertex buffer, introduced a simple shader registry into glslDispatcher. It will configure shaders for given vertex elements on demand (for now, just works only for varying buffer). Fixed cuda kernel's GL resource leakage. Since cuda GL interop seems one-way, OsdCudaVertexBuffer manages vertex updating instead of just using OsdGpuVertexBuffer. Cleaned up some kernel codes and renamed ambiguous names. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
cpuDispatcher.cpp | ||
cpuDispatcher.h | ||
cpuKernel.cpp | ||
cpuKernel.h | ||
cudaDispatcher.cpp | ||
cudaDispatcher.h | ||
cudaKernel.cu | ||
dump.cpp | ||
glslDispatcher.cpp | ||
glslDispatcher.h | ||
glslKernel.glsl | ||
kernelDispatcher.cpp | ||
kernelDispatcher.h | ||
local.h | ||
mesh.cpp | ||
mesh.h | ||
vertex.h | ||
vertexBuffer.h |