OpenSubdiv/opensubdiv/osd
manuelk 69755c6f22 Fix OsdUtilAdaptiveEvaluator concurrency issue
- add a limit evaluation method to EvalLimitController that allows
  client code to directly pass the output buffer without binding it
  to the Context (the call only computes vertex interpolation of a
  single sample)

- switch the OsdUtilAdaptiveEvaluator to use the new method from the controller
  and stop stomping member

- cleanup buffer and member variables no longer used

- cleanup initialization logic to be better aware of uniform / adaptive

- add some assert sanity checks in the cpuEvalLimitKernels

fixes #293
2014-04-29 18:27:04 -07:00
..
Android.mk Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
clComputeContext.cpp Remove FarMesh dependency from Osd*Context. The context constructor takes 2014-03-28 12:10:13 -07:00
clComputeContext.h Remove FarMesh dependency from Osd*Context. The context constructor takes 2014-03-28 12:10:13 -07:00
clComputeController.cpp Refactor Far API. 2014-03-19 11:44:51 -07:00
clComputeController.h Refactor Far API. 2014-03-19 11:44:51 -07:00
clD3D11VertexBuffer.cpp Draw contexts do not fully initialize patch arrays #281 2014-04-17 18:55:07 -07:00
clD3D11VertexBuffer.h Draw contexts do not fully initialize patch arrays #281 2014-04-17 18:55:07 -07:00
clGLVertexBuffer.cpp Fixing a crash on Marvericks w/glew 2014-04-11 21:54:35 -07:00
clGLVertexBuffer.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
clKernel.cl Added 'static' specifiers for non-kernel CL funcs at program scope. 2014-02-23 21:25:47 -08:00
clKernelBundle.cpp Use obj targets for faster CPU/GPU lib builds 2014-01-03 14:52:35 -08:00
clKernelBundle.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
clVertexBuffer.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
clVertexBuffer.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
CMakeLists.txt Draw contexts do not fully initialize patch arrays #281 2014-04-17 18:55:07 -07:00
computeController.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cpuComputeContext.cpp Remove FarMesh dependency from Osd*Context. The context constructor takes 2014-03-28 12:10:13 -07:00
cpuComputeContext.h Remove FarMesh dependency from Osd*Context. The context constructor takes 2014-03-28 12:10:13 -07:00
cpuComputeController.cpp Refactor Far API. 2014-03-19 11:44:51 -07:00
cpuComputeController.h Refactor Far API. 2014-03-19 11:44:51 -07:00
cpuD3D11VertexBuffer.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cpuD3D11VertexBuffer.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cpuEvalLimitContext.cpp Adding functionality to store uniform face-varying data across multiple levels of subdivision 2014-04-04 19:10:34 -07:00
cpuEvalLimitContext.h Adding functionality to store uniform face-varying data across multiple levels of subdivision 2014-04-04 19:10:34 -07:00
cpuEvalLimitController.cpp Fix OsdUtilAdaptiveEvaluator concurrency issue 2014-04-29 18:27:04 -07:00
cpuEvalLimitController.h Fix OsdUtilAdaptiveEvaluator concurrency issue 2014-04-29 18:27:04 -07:00
cpuEvalLimitKernel.cpp Fix OsdUtilAdaptiveEvaluator concurrency issue 2014-04-29 18:27:04 -07:00
cpuEvalLimitKernel.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cpuEvalStencilsContext.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cpuEvalStencilsContext.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cpuEvalStencilsController.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cpuEvalStencilsController.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cpuGLVertexBuffer.cpp Move VBO buffer allocation out of allocate() and into BindVBO() 2014-01-30 17:29:14 -08:00
cpuGLVertexBuffer.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cpuKernel.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cpuKernel.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cpuSmoothNormalContext.cpp Adding a TBB SmoothNormal Context & Controller 2014-01-10 14:56:59 -08:00
cpuSmoothNormalContext.h Fix doxygen parameter documentation for OsdCPUSmoothNormalContext 2014-03-17 11:39:45 -07:00
cpuSmoothNormalController.cpp Adding a TBB SmoothNormal Context & Controller 2014-01-10 14:56:59 -08:00
cpuSmoothNormalController.h Adding a Context / Controller pair for CPU evaluation of smooth normals 2014-01-09 17:36:35 -08:00
cpuVertexBuffer.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cpuVertexBuffer.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cudaComputeContext.cpp Remove FarMesh dependency from Osd*Context. The context constructor takes 2014-03-28 12:10:13 -07:00
cudaComputeContext.h Remove FarMesh dependency from Osd*Context. The context constructor takes 2014-03-28 12:10:13 -07:00
cudaComputeController.cpp Refactor Far API. 2014-03-19 11:44:51 -07:00
cudaComputeController.h Refactor Far API. 2014-03-19 11:44:51 -07:00
cudaD3D11VertexBuffer.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cudaD3D11VertexBuffer.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cudaGLVertexBuffer.cpp Fixing a crash on Marvericks w/glew 2014-04-11 21:54:35 -07:00
cudaGLVertexBuffer.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cudaKernel.cu Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cudaVertexBuffer.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
cudaVertexBuffer.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
d3d11ComputeContext.cpp Remove FarMesh dependency from Osd*Context. The context constructor takes 2014-03-28 12:10:13 -07:00
d3d11ComputeContext.h Remove FarMesh dependency from Osd*Context. The context constructor takes 2014-03-28 12:10:13 -07:00
d3d11ComputeController.cpp Refactor Far API. 2014-03-19 11:44:51 -07:00
d3d11ComputeController.h Fix access rights to d3d11ComputeController.h 2014-04-16 10:27:48 -07:00
d3d11DrawContext.cpp Draw contexts do not fully initialize patch arrays #281 2014-04-17 18:55:07 -07:00
d3d11DrawContext.h Draw contexts do not fully initialize patch arrays #281 2014-04-17 18:55:07 -07:00
d3d11DrawRegistry.cpp Use obj targets for faster CPU/GPU lib builds 2014-01-03 14:52:35 -08:00
d3d11DrawRegistry.h Remove FarMesh dependency from Osd*Context. The context constructor takes 2014-03-28 12:10:13 -07:00
d3d11KernelBundle.cpp Use obj targets for faster CPU/GPU lib builds 2014-01-03 14:52:35 -08:00
d3d11KernelBundle.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
d3d11Mesh.h Added a public constructor to OsdMesh that initializes the members objects from its arguments, allowing those members to be created by a subclass or an external function. 2014-04-18 20:52:13 -07:00
d3d11PtexMipmapTexture.cpp Refactoring Ptex Mipmap and Analytic Displacement code 2013-11-20 15:47:59 -08:00
d3d11PtexMipmapTexture.h Add a DX11 version of ptex mipmap loader 2013-10-04 18:27:06 -07:00
d3d11PtexTexture.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
d3d11PtexTexture.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
d3d11VertexBuffer.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
d3d11VertexBuffer.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
debug.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
drawContext.cpp Changes to address comments in #284. 2014-04-21 17:59:46 -07:00
drawContext.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
drawRegistry.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
drawRegistry.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
error.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
error.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
evalLimitContext.cpp Remove FarMesh dependency from Osd*Context. The context constructor takes 2014-03-28 12:10:13 -07:00
evalLimitContext.h Remove FarMesh dependency from Osd*Context. The context constructor takes 2014-03-28 12:10:13 -07:00
gcdComputeController.cpp fix typo in gcdComputeController 2014-03-19 11:51:54 -07:00
gcdComputeController.h Refactor Far API. 2014-03-19 11:44:51 -07:00
gcdKernel.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
gcdKernel.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
glDrawContext.cpp Draw contexts do not fully initialize patch arrays #281 2014-04-17 18:55:07 -07:00
glDrawContext.h Added an option to FarMeshFactory to generate triangle patches instead of quadrilateral patches for a uniformly subdivided mesh. This option is applicable to GL-ES, which does not support quadrilateral primitives. 2014-04-18 16:19:13 -07:00
glDrawRegistry.cpp Use obj targets for faster CPU/GPU lib builds 2014-01-03 14:52:35 -08:00
glDrawRegistry.h Remove FarMesh dependency from Osd*Context. The context constructor takes 2014-03-28 12:10:13 -07:00
glMesh.h Added a public constructor to OsdMesh that initializes the members objects from its arguments, allowing those members to be created by a subclass or an external function. 2014-04-18 20:52:13 -07:00
glPtexMipmapTexture.cpp Fixing a crash on Marvericks w/glew 2014-04-11 21:54:35 -07:00
glPtexMipmapTexture.h Fix OSX build: stdlib.h needs to be included in glPtexMipmapTexture.h for size_t typedef 2013-11-11 13:18:43 -08:00
glPtexTexture.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
glPtexTexture.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
glslComputeContext.cpp Fixing a crash on Marvericks w/glew 2014-04-11 21:54:35 -07:00
glslComputeContext.h Remove FarMesh dependency from Osd*Context. The context constructor takes 2014-03-28 12:10:13 -07:00
glslComputeController.cpp Refactor Far API. 2014-03-19 11:44:51 -07:00
glslComputeController.h Refactor Far API. 2014-03-19 11:44:51 -07:00
glslComputeKernel.glsl Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
glslKernelBundle.cpp Refactor Far API. 2014-03-19 11:44:51 -07:00
glslKernelBundle.h Refactor Far API. 2014-03-19 11:44:51 -07:00
glslPatchBSpline.glsl Move uniform block definitions out of osd common shader into client shader. 2013-12-03 15:59:38 -08:00
glslPatchCommon.glsl Move uniform block definitions out of osd common shader into client shader. 2013-12-03 15:59:38 -08:00
glslPatchGregory.glsl Fix Gregory Boundary patch buffer overrun 2014-02-13 11:30:33 -08:00
glslPatchTransition.glsl Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
glslPtexCommon.glsl Refactoring Ptex Mipmap and Analytic Displacement code 2013-11-20 15:47:59 -08:00
glslTransformFeedbackComputeContext.cpp Fixing a crash on Marvericks w/glew 2014-04-11 21:54:35 -07:00
glslTransformFeedbackComputeContext.h Use DSA APIs for GL buffer update (if available). 2014-04-11 18:03:36 -07:00
glslTransformFeedbackComputeController.cpp Refactor Far API. 2014-03-19 11:44:51 -07:00
glslTransformFeedbackComputeController.h Refactor Far API. 2014-03-19 11:44:51 -07:00
glslTransformFeedbackKernel.glsl Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
glslTransformFeedbackKernelBundle.cpp Refactor Far API. 2014-03-19 11:44:51 -07:00
glslTransformFeedbackKernelBundle.h Refactor Far API. 2014-03-19 11:44:51 -07:00
glVertexBuffer.cpp Fixing a crash on Marvericks w/glew 2014-04-11 21:54:35 -07:00
glVertexBuffer.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
hlslComputeKernel.hlsl Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
hlslPatchBSpline.hlsl Move uniform block definitions out of osd common shader into client shader. 2013-12-03 15:59:38 -08:00
hlslPatchCommon.hlsl Move uniform block definitions out of osd common shader into client shader. 2013-12-03 15:59:38 -08:00
hlslPatchGregory.hlsl Fix Gregory Boundary patch buffer overrun 2014-02-13 11:30:33 -08:00
hlslPatchTransition.hlsl Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
hlslPtexCommon.hlsl Refactoring Ptex Mipmap and Analytic Displacement code 2013-11-20 15:47:59 -08:00
mesh.h Added a public constructor to OsdMesh that initializes the members objects from its arguments, allowing those members to be created by a subclass or an external function. 2014-04-18 20:52:13 -07:00
nonCopyable.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
ompComputeController.cpp Refactor Far API. 2014-03-19 11:44:51 -07:00
ompComputeController.h Refactor Far API. 2014-03-19 11:44:51 -07:00
ompEvalStencilsController.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
ompEvalStencilsController.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
ompKernel.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
ompKernel.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
ompSmoothNormalController.cpp Adding OpenMP SmoothNormal Context & Controller 2014-01-10 15:31:48 -08:00
ompSmoothNormalController.h Adding OpenMP SmoothNormal Context & Controller 2014-01-10 15:31:48 -08:00
opengl.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
ptexMipmapTextureLoader.cpp Fixes black texels when the resolution of a ptex face is less than 4. 2014-02-03 12:03:17 -08:00
ptexMipmapTextureLoader.h Adding stdlib.h include to fix OSX build. 2013-11-22 15:23:40 -08:00
ptexTextureLoader.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
ptexTextureLoader.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
tbbComputeController.cpp Refactor Far API. 2014-03-19 11:44:51 -07:00
tbbComputeController.h Refactor Far API. 2014-03-19 11:44:51 -07:00
tbbEvalStencilsController.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
tbbEvalStencilsController.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
tbbKernel.cpp Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
tbbKernel.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
tbbSmoothNormalController.cpp Adding a TBB SmoothNormal Context & Controller 2014-01-10 14:56:59 -08:00
tbbSmoothNormalController.h Adding a TBB SmoothNormal Context & Controller 2014-01-10 14:56:59 -08:00
vertex.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
vertexDescriptor.h Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00