OpenSubdiv/examples/glFVarViewer
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 Landing 3.0.0.alpha 2014-09-05 15:07:46 -07:00
glFVarViewer.cpp osd layer: Add GLPatchTable and retire DrawContext 2015-05-20 15:55:06 -07:00
init_shapes.h Enabling Loop test shapes in glViewer and glFVarViewer code examples 2014-11-18 12:44:52 -08:00
shader.glsl Cosmetic updates to glFVarViewer 2014-09-10 13:17:52 -07:00