OpenSubdiv/examples/glEvalLimit
Takahito Tejima 109a3f5383 osd layer: Add GLPatchTable and retire DrawContext
In osd layer, we use GLPatchTable (D3D11PatchTable) as a
device-specific representation of FarPatchTables instead of
DrawContext. GLPatchTable may be used not only for drawing
but also for GPU eval APIs (not yet supported though.
We may add CudaPatchTable etc as needed).

The legacy gregory patch drawing buffers are carved out to
the separate class, named GLLegacyGregoryPatchTable.

Also face-varying data are split into client side for now, until
we add new and more robust face-varying drawing structure
(scheduled at 3.1 release)

Tentatively replicate PatchArray structure in GLPatchTables. It will
be revised in the upcoming change.

Shifting hard-coded SRV locations of legacy gregory buffers in HLSL shaders.
2015-05-20 15:55:06 -07:00
..
CMakeLists.txt Add 'sticles' to the glEvalLimit code example 2014-09-30 18:53:47 -07:00
glEvalLimit.cpp osd layer: Add GLPatchTable and retire DrawContext 2015-05-20 15:55:06 -07:00
init_shapes.h Enable GregoryBasis patch. 2015-04-08 17:07:10 -07:00
particles.cpp Renamed methods on Far::PtexIndices. 2015-04-21 22:23:22 -07:00
particles.h Refurbish osd layer API. 2015-05-08 17:31:26 -07:00