/dports/graphics/opensubdiv/OpenSubdiv-3_4_4/opensubdiv/osd/ |
H A D | glPatchTable.cpp | 74 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 D | clPatchTable.cpp | 69 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 D | cudaPatchTable.cpp | 70 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 D | tbbEvaluator.h | 459 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 D | ompEvaluator.h | 459 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 D | cpuEvaluator.h | 459 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 D | cudaEvaluator.h | 509 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 D | glComputeEvaluator.h | 696 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 D | glXFBEvaluator.h | 770 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 D | mtlComputeEvaluator.h | 710 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 D | clEvaluator.h | 907 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 D | d3d11PatchTable.cpp | 63 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 D | clPatchTable.h | 55 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 D | cpuPatchTable.h | 61 static CpuPatchTable *Create(const Far::PatchTable *patchTable, 64 return new CpuPatchTable(patchTable); 67 explicit CpuPatchTable(const Far::PatchTable *patchTable);
|
H A D | mtlPatchTable.mm | 27 #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 D | patchMap.cpp | 89 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 D | patchMap.h | 58 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 D | sceneBase.cpp | 55 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 D | server_test.go | 198 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 D | farViewer.cpp | 343 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 D | gl_mesh.cpp | 248 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 D | gl_mesh.h | 86 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 D | subdivision.cpp | 758 _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 D | far_tutorial_5_1.cpp | 183 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 D | far_tutorial_5_2.cpp | 325 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()
|