OpenSubdiv/opensubdiv/osd
Takahito Tejima 851c00d04c Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex
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.
2012-06-12 16:28:17 -07:00
..
CMakeLists.txt including the correct version file so namespaces work 2012-06-11 17:02:27 -07:00
cpuDispatcher.cpp Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex 2012-06-12 16:28:17 -07:00
cpuDispatcher.h Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex 2012-06-12 16:28:17 -07:00
cpuKernel.cpp Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex 2012-06-12 16:28:17 -07:00
cpuKernel.h Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex 2012-06-12 16:28:17 -07:00
cudaDispatcher.cpp Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex 2012-06-12 16:28:17 -07:00
cudaDispatcher.h Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex 2012-06-12 16:28:17 -07:00
cudaKernel.cu add bilinear computation for cuda kernel (not yet for CL, GLSL kernels) 2012-06-11 18:09:23 -07:00
dump.cpp including the correct version file so namespaces work 2012-06-11 17:02:27 -07:00
glslDispatcher.cpp Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex 2012-06-12 16:28:17 -07:00
glslDispatcher.h Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex 2012-06-12 16:28:17 -07:00
glslKernel.glsl adding support for optional GLSL compute kernels 2012-06-09 13:40:48 -07:00
kernelDispatcher.cpp including the correct version file so namespaces work 2012-06-11 17:02:27 -07:00
kernelDispatcher.h Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex 2012-06-12 16:28:17 -07:00
local.h adding support for optional GLSL compute kernels 2012-06-09 13:40:48 -07:00
mesh.cpp Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex 2012-06-12 16:28:17 -07:00
mesh.h Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex 2012-06-12 16:28:17 -07:00
vertex.h including the correct version file so namespaces work 2012-06-11 17:02:27 -07:00
vertexBuffer.h Added OsdVertexBuffer class. OsdMesh no longer has vertex buffer and vertex 2012-06-12 16:28:17 -07:00