Home
last modified time | relevance | path

Searched refs:patchTable (Results 1 – 25 of 50) sorted by relevance

12

/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/opensubdiv/osd/
H A DglPatchTable.cpp74 CpuPatchTable patchTable(farPatchTable); in allocate() local
76 size_t numPatchArrays = patchTable.GetNumPatchArrays(); in allocate()
81 _patchArrays.assign(patchTable.GetPatchArrayBuffer(), in allocate()
88 patchTable.GetPatchIndexBuffer(), in allocate()
95 patchTable.GetPatchParamBuffer(), in allocate()
111 patchTable.GetVaryingPatchArrayBuffer(), in allocate()
118 patchTable.GetVaryingPatchIndexBuffer(), in allocate()
126 int numFVarChannels = patchTable.GetNumFVarChannels(); in allocate()
134 patchTable.GetFVarPatchArrayBuffer(fvc), in allocate()
141 patchTable.GetFVarPatchIndexBuffer(fvc), in allocate()
[all …]
H A DclPatchTable.cpp69 CpuPatchTable patchTable(farPatchTable); in allocate() local
71 size_t numPatchArrays = patchTable.GetNumPatchArrays(); in allocate()
72 size_t indexSize = patchTable.GetPatchIndexSize(); in allocate()
73 size_t patchParamSize = patchTable.GetPatchParamSize(); in allocate()
79 (void*)patchTable.GetPatchArrayBuffer(), in allocate()
89 (void*)patchTable.GetPatchIndexBuffer(), in allocate()
99 (void*)patchTable.GetPatchParamBuffer(), in allocate()
109 (void*)patchTable.GetVaryingPatchArrayBuffer(), in allocate()
119 (void*)patchTable.GetVaryingPatchIndexBuffer(), in allocate()
126 size_t numFVarChannels = patchTable.GetNumFVarChannels(); in allocate()
[all …]
H A DcudaPatchTable.cpp70 CpuPatchTable patchTable(farPatchTable); in allocate() local
72 size_t numPatchArrays = patchTable.GetNumPatchArrays(); in allocate()
73 size_t indexSize = patchTable.GetPatchIndexSize(); in allocate()
74 size_t patchParamSize = patchTable.GetPatchParamSize(); in allocate()
93 size_t numFVarChannels = patchTable.GetNumFVarChannels(); in allocate()
102 patchTable.GetFVarPatchArrayBuffer(fvc), in allocate()
130 patchTable.GetPatchArrayBuffer(), in allocate()
137 patchTable.GetPatchIndexBuffer(), in allocate()
144 patchTable.GetPatchParamBuffer(), in allocate()
151 patchTable.GetVaryingPatchArrayBuffer(), in allocate()
[all …]
H A DtbbEvaluator.h459 PATCH_TABLE *patchTable,
470 patchTable->GetPatchArrayBuffer(),
471 patchTable->GetPatchIndexBuffer(),
524 PATCH_TABLE *patchTable,
617 PATCH_TABLE *patchTable,
828 PATCH_TABLE *patchTable,
893 PATCH_TABLE *patchTable,
981 PATCH_TABLE *patchTable,
1039 PATCH_TABLE *patchTable,
1107 PATCH_TABLE *patchTable,
[all …]
H A DompEvaluator.h459 PATCH_TABLE *patchTable,
470 patchTable->GetPatchArrayBuffer(),
471 patchTable->GetPatchIndexBuffer(),
524 PATCH_TABLE *patchTable,
617 PATCH_TABLE *patchTable,
828 PATCH_TABLE *patchTable,
893 PATCH_TABLE *patchTable,
981 PATCH_TABLE *patchTable,
1039 PATCH_TABLE *patchTable,
1107 PATCH_TABLE *patchTable,
[all …]
H A DcpuEvaluator.h459 PATCH_TABLE *patchTable,
470 patchTable->GetPatchArrayBuffer(),
471 patchTable->GetPatchIndexBuffer(),
524 PATCH_TABLE *patchTable,
617 PATCH_TABLE *patchTable,
828 PATCH_TABLE *patchTable,
893 PATCH_TABLE *patchTable,
981 PATCH_TABLE *patchTable,
1039 PATCH_TABLE *patchTable,
1107 PATCH_TABLE *patchTable,
[all …]
H A DcudaEvaluator.h509 PATCH_TABLE *patchTable,
521 (const int *)patchTable->GetPatchIndexBuffer(),
572 PATCH_TABLE *patchTable,
586 (const int *)patchTable->GetPatchIndexBuffer(),
658 PATCH_TABLE *patchTable,
864 PATCH_TABLE *patchTable,
929 PATCH_TABLE *patchTable,
1017 PATCH_TABLE *patchTable,
1075 PATCH_TABLE *patchTable,
1143 PATCH_TABLE *patchTable,
[all …]
H A DglComputeEvaluator.h696 PATCH_TABLE *patchTable,
776 PATCH_TABLE *patchTable,
880 PATCH_TABLE *patchTable,
1159 PATCH_TABLE *patchTable,
1285 PATCH_TABLE *patchTable,
1449 PATCH_TABLE *patchTable,
1611 PATCH_TABLE *patchTable,
1674 PATCH_TABLE *patchTable,
1743 PATCH_TABLE *patchTable,
1823 PATCH_TABLE *patchTable,
[all …]
H A DglXFBEvaluator.h770 PATCH_TABLE *patchTable,
850 PATCH_TABLE *patchTable,
953 PATCH_TABLE *patchTable,
1232 PATCH_TABLE *patchTable,
1358 PATCH_TABLE *patchTable,
1522 PATCH_TABLE *patchTable,
1684 PATCH_TABLE *patchTable,
1747 PATCH_TABLE *patchTable,
1816 PATCH_TABLE *patchTable,
1896 PATCH_TABLE *patchTable,
[all …]
H A DmtlComputeEvaluator.h710 PATCH_TABLE *patchTable, in EvalPatches() argument
793 PATCH_TABLE *patchTable, in EvalPatches() argument
899 PATCH_TABLE *patchTable, in EvalPatches() argument
971 PATCH_TABLE *patchTable, in EvalPatches() argument
1032 PATCH_TABLE *patchTable, in EvalPatches() argument
1114 PATCH_TABLE *patchTable, in EvalPatches() argument
1197 PATCH_TABLE *patchTable, in EvalPatchesVarying() argument
1262 PATCH_TABLE *patchTable, in EvalPatchesVarying() argument
1332 PATCH_TABLE *patchTable, in EvalPatchesVarying() argument
1414 PATCH_TABLE *patchTable, in EvalPatchesVarying() argument
[all …]
H A DclEvaluator.h907 PATCH_TABLE *patchTable,
1010 PATCH_TABLE *patchTable,
1135 PATCH_TABLE *patchTable,
1222 PATCH_TABLE *patchTable,
1295 PATCH_TABLE *patchTable,
1389 PATCH_TABLE *patchTable,
1494 PATCH_TABLE *patchTable,
1573 PATCH_TABLE *patchTable,
1660 PATCH_TABLE *patchTable,
1756 PATCH_TABLE *patchTable,
[all …]
H A Dd3d11PatchTable.cpp63 CpuPatchTable patchTable(farPatchTable); in allocate() local
65 size_t numPatchArrays = patchTable.GetNumPatchArrays(); in allocate()
66 size_t indexSize = patchTable.GetPatchIndexSize(); in allocate()
67 size_t patchParamSize = patchTable.GetPatchParamSize(); in allocate()
70 _patchArrays.assign(patchTable.GetPatchArrayBuffer(), in allocate()
71 patchTable.GetPatchArrayBuffer() + numPatchArrays); in allocate()
95 patchTable.GetPatchIndexBuffer(), in allocate()
131 patchTable.GetPatchParamBuffer(), in allocate()
H A DclPatchTable.h55 static CLPatchTable *Create(Far::PatchTable const *patchTable,
59 static CLPatchTable * Create(Far::PatchTable const *patchTable, in Create() argument
61 return Create(patchTable, context->GetContext()); in Create()
97 bool allocate(Far::PatchTable const *patchTable, cl_context clContext);
H A DcpuPatchTable.h61 static CpuPatchTable *Create(const Far::PatchTable *patchTable,
64 return new CpuPatchTable(patchTable);
67 explicit CpuPatchTable(const Far::PatchTable *patchTable);
H A DmtlPatchTable.mm27 #import "../far/patchTable.h"
83 auto patchTable = new MTLPatchTable();
84 if(patchTable->allocate(farPatchTable, context))
85 return patchTable;
87 delete patchTable;
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/opensubdiv/far/
H A DpatchMap.cpp89 PatchMap::PatchMap(PatchTable const & patchTable) : in PatchMap() argument
95 if (patchTable.GetNumPatchesTotal() > 0) { in PatchMap()
96 initializeHandles(patchTable); in PatchMap()
97 initializeQuadtree(patchTable); in PatchMap()
102 PatchMap::initializeHandles(PatchTable const & patchTable) { in initializeHandles() argument
108 _minPatchFace = (int) patchTable.GetPatchParamTable()[0].GetFaceId(); in initializeHandles()
111 int numArrays = (int) patchTable.GetNumPatchArrays(); in initializeHandles()
112 int numPatches = (int) patchTable.GetNumPatchesTotal(); in initializeHandles()
118 ConstPatchParamArray params = patchTable.GetPatchParams(pArray); in initializeHandles()
138 PatchMap::initializeQuadtree(PatchTable const & patchTable) { in initializeQuadtree() argument
[all …]
H A DpatchMap.h58 PatchMap( PatchTable const & patchTable );
77 void initializeHandles(PatchTable const & patchTable);
78 void initializeQuadtree(PatchTable const & patchTable);
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/examples/glShareTopology/
H A DsceneBase.cpp55 Far::PatchTable const * patchTable = NULL; in AddTopology() local
95 _patchTables.push_back(patchTable); in AddTopology()
138 Far::PatchTable const * patchTable = NULL; in createStencilTable() local
150 *patchTableOut = patchTable; in createStencilTable()
158 patchTable->GetLocalPointStencilTable())) { in createStencilTable()
222 Far::PatchTable const *patchTable = _patchTables[i]; in CreateIndexBuffer() local
224 int nPatchArrays = patchTable->GetNumPatchArrays(); in CreateIndexBuffer()
233 patchArray.numPatches = patchTable->GetNumPatches(j); in CreateIndexBuffer()
261 patchTable->GetPatchParamTable(); in CreateIndexBuffer()
263 patchTable->GetSharpnessIndexTable(); in CreateIndexBuffer()
[all …]
/dports/sysutils/istio/istio-1.6.7/mixer/pkg/server/
H A Dserver_test.go198 setupFn func(a *Args, pt *patchTable)
207 func(a *Args, pt *patchTable) {
212 func(a *Args, pt *patchTable) {
219 func(a *Args, pt *patchTable) {
231 func(a *Args, pt *patchTable) {
243 func(a *Args, pt *patchTable) {
250 func(a *Args, pt *patchTable) {
257 func(a *Args, pt *patchTable) {
264 func(a *Args, pt *patchTable) {
272 func(a *Args, pt *patchTable) {
[all …]
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/examples/farViewer/
H A DfarViewer.cpp343 int npatches = patchTable.GetNumPatches(array); in createPatchNumbers()
401 OpenSubdiv::Far::PatchTable const & patchTable, in createFVarPatches() argument
418 npatches = patchTable.GetNumPatchesTotal(), in createFVarPatches()
602 Far::PatchTable * patchTable = 0; in createFarGLMesh() local
610 patchTable = in createFarGLMesh()
614 if (patchTable->GetLocalPointStencilTable()) { in createFarGLMesh()
619 g_maxValence = patchTable->GetMaxValence(); in createFarGLMesh()
675 if (patchTable && patchTable->GetLocalPointStencilTable()) { in createFarGLMesh()
724 if (g_FarDrawPtexIDs && patchTable) { in createFarGLMesh()
725 createPtexNumbers(*patchTable, vertexBuffer); in createFarGLMesh()
[all …]
H A Dgl_mesh.cpp248 PatchTable const * patchTable, float const * vertexData) { in Initialize() argument
250 if (patchTable) { in Initialize()
251 initializeBuffers(options, refiner, *patchTable, vertexData); in Initialize()
447 int npatches = patchTable->GetNumPatchesTotal(), in InitializeFVar()
587 PatchTable const & patchTable, float const * vertexData) { in initializeBuffers() argument
623 nedges += patchTable.GetNumPatches(array) * getNumEdges(ncvs); in initializeBuffers()
640 patchTable.GetPatchArrayDescriptor(array); in initializeBuffers()
651 patchTable.GetPatchVertices(array, patch); in initializeBuffers()
670 int nfaces = patchTable.GetNumPatchesTotal(); in initializeBuffers()
685 patchTable.GetPatchArrayDescriptor(array); in initializeBuffers()
[all …]
H A Dgl_mesh.h86 PatchTable const * patchTable, float const * vertexData);
89 PatchTable const * patchTable, int channel, int tessFactor, float const * fvarData);
119 PatchTable const & patchTable, float const * vertexData);
/dports/misc/usd/USD-21.11/pxr/imaging/hdSt/
H A Dsubdivision.cpp758 _patchTable = std::move(patchTable); in SetRefinementTables()
1098 patchTable.reset( in Resolve()
1104 if (patchTable && patchTable->GetLocalPointStencilTable()) { in Resolve()
1114 if (patchTable && patchTable->GetLocalPointVaryingStencilTable()) { in Resolve()
1125 if (patchTable && patchTable->GetLocalPointFaceVaryingStencilTable(i)) { in Resolve()
1187 if (patchTable) { in Resolve()
1200 int const arraySize = patchTable in Resolve()
1320 size_t numPatches = patchTable in _PopulateUniformPrimitiveBuffer()
1362 size_t numPatches = patchTable in _PopulatePatchPrimitiveBuffer()
1442 size_t numPatches = patchTable ? patchTable->GetNumPatchesTotal() : 0; in Resolve()
[all …]
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/tutorials/far/tutorial_5_1/
H A Dfar_tutorial_5_1.cpp183 Far::PatchTable const * patchTable = in main() local
191 int nLocalPoints = patchTable->GetNumLocalPoints(); in main()
214 patchTable->GetLocalPointStencilTable<Real>()->UpdateValues( in main()
219 Far::PatchMap patchmap(*patchTable); in main()
247 patchTable->EvaluateBasis(*handle, s, t, pWeights, dsWeights, dtWeights); in main()
249 Far::ConstIndexArray cvs = patchTable->GetPatchVertices(*handle); in main()
/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/tutorials/far/tutorial_5_2/
H A Dfar_tutorial_5_2.cpp325 Far::PatchTable * patchTable; member
354 patchTable = Far::PatchTableFactory::Create(*localRefiner, patchOptions, in PatchGroup()
357 patchMap = new Far::PatchMap(*patchTable); in PatchGroup()
370 int nLocalPoints = patchTable->GetNumLocalPoints(); in PatchGroup()
386 patchTable->GetLocalPointStencilTable()->UpdateValues( in PatchGroup()
395 delete patchTable; in ~PatchGroup()
459 patchTable->EvaluateBasis(*handle, st[0], st[1], pWeights); in TessellateBaseFace()
463 Far::ConstIndexArray cvIndices = patchTable->GetPatchVertices(*handle); in TessellateBaseFace()

12