OpenSubdiv/examples/glPtexViewer
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 Osd drawing API refactoring. 2015-05-13 17:35:46 -07:00
glPtexViewer.cpp osd layer: Add GLPatchTable and retire DrawContext 2015-05-20 15:55:06 -07:00
shader_gl3.glsl Osd drawing API refactoring. 2015-05-13 17:35:46 -07:00
shader.glsl Fixed example code use of single crease patches 2015-05-15 11:52:41 -07:00
skyshader.glsl Landing 3.0.0.alpha 2014-09-05 15:07:46 -07:00