/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/tests/gl_tests/ |
H A D | DrawElementsTest.cpp | 152 indexData[0].push_back(0); in TEST_P() 153 indexData[0].push_back(1); in TEST_P() 154 indexData[0].push_back(2); in TEST_P() 155 indexData[0].push_back(2); in TEST_P() 156 indexData[0].push_back(3); in TEST_P() 157 indexData[0].push_back(0); in TEST_P() 159 indexData[1] = indexData[0]; in TEST_P() 278 indexData[0].push_back(0); in TEST_P() 279 indexData[0].push_back(1); in TEST_P() 280 indexData[0].push_back(2); in TEST_P() [all …]
|
H A D | IndexBufferOffsetTest.cpp | 69 void runTest(GLenum type, int typeWidth, void *indexData) in runTest() argument 118 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local 119 runTest(GL_UNSIGNED_BYTE, 1, indexData); in TEST_P() 130 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local 131 runTest(GL_UNSIGNED_SHORT, 2, indexData); in TEST_P() 140 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local 141 runTest(GL_UNSIGNED_INT, 4, indexData); in TEST_P() 148 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local 154 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indexDataWidth, indexData, GL_DYNAMIC_DRAW); in TEST_P() 223 GLubyte indexData[] = {99, 0, 1, 2, 1, 2, 3}; in TEST_P() local [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/angle/src/tests/gl_tests/ |
H A D | DrawElementsTest.cpp | 105 std::vector<GLuint> indexData[2]; in TEST_P() local 106 indexData[0].push_back(0); in TEST_P() 107 indexData[0].push_back(1); in TEST_P() 108 indexData[0].push_back(2); in TEST_P() 109 indexData[0].push_back(2); in TEST_P() 110 indexData[0].push_back(3); in TEST_P() 111 indexData[0].push_back(0); in TEST_P() 113 indexData[1] = indexData[0]; in TEST_P() 162 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * indexData[0].size(), &indexData[0][0], in TEST_P() 166 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * indexData[0].size(), &indexData[0][0], in TEST_P() [all …]
|
H A D | IndexBufferOffsetTest.cpp | 76 void runTest(GLenum type, int typeWidth, void *indexData) in runTest() argument 87 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, indexDataWidth, indexDataWidth, indexData); in runTest() 105 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 2 * indexDataWidth, indexDataWidth, indexData); in runTest() 125 GLubyte indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local 126 runTest(GL_UNSIGNED_BYTE, 1, indexData); in TEST_P() 132 GLushort indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local 133 runTest(GL_UNSIGNED_SHORT, 2, indexData); in TEST_P() 145 GLuint indexData[] = {0, 1, 2, 1, 2, 3}; in TEST_P() local 146 runTest(GL_UNSIGNED_INT, 4, indexData); in TEST_P()
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Urho3D/Graphics/ |
H A D | Geometry.cpp | 238 indexData = rawIndexData_; in GetRawData() 245 indexData = indexBuffer_->GetShadowData(); in GetRawData() 246 if (indexData) in GetRawData() 253 indexData = 0; in GetRawData() 283 indexData = rawIndexData_; in GetRawDataShared() 291 if (indexData) in GetRawDataShared() 298 indexData = 0; in GetRawDataShared() 307 const unsigned char* indexData; in GetHitDistance() local 327 …return indexData ? ray.HitDistance(vertexData, vertexSize, indexData, indexSize, indexStart_, inde… in GetHitDistance() 334 const unsigned char* indexData; in IsInside() local [all …]
|
/dports/graphics/ospray/ospray-2.8.0/ospray/geometry/ |
H A D | Mesh.cpp | 37 indexData = getParamDataT<vec3ui>("index"); in commit() 38 if (!indexData) in commit() 39 indexData = getParamDataT<vec4ui>("index", true); in commit() 41 const bool isTri = indexData->type == OSP_VEC3UI; in commit() 50 indexData->data(), in commit() 53 indexData->size()); in commit() 57 ispc(indexData), in commit() 70 return indexData->size(); in numPrimitives()
|
/dports/graphics/ogre3d/ogre-1.11.6/Components/Volume/src/ |
H A D | OgreVolumeMeshBuilder.cpp | 118 operation.indexData = OGRE_NEW IndexData(); in generateBuffers() 119 operation.indexData->indexCount = mIndices.size(); in generateBuffers() 120 operation.indexData->indexStart = 0; in generateBuffers() 123 if (operation.indexData->indexCount > USHRT_MAX) in generateBuffers() 125 operation.indexData->indexBuffer = in generateBuffers() 131 operation.indexData->indexBuffer->lock(0, in generateBuffers() 132 operation.indexData->indexBuffer->getSizeInBytes(), in generateBuffers() 142 operation.indexData->indexBuffer = in generateBuffers() 148 operation.indexData->indexBuffer->lock(0, in generateBuffers() 149 operation.indexData->indexBuffer->getSizeInBytes(), in generateBuffers() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Components/Volume/src/ |
H A D | OgreVolumeMeshBuilder.cpp | 118 operation.indexData = OGRE_NEW IndexData(); in generateBuffers() 119 operation.indexData->indexCount = mIndices.size(); in generateBuffers() 120 operation.indexData->indexStart = 0; in generateBuffers() 123 if (operation.indexData->indexCount > USHRT_MAX) in generateBuffers() 125 operation.indexData->indexBuffer = in generateBuffers() 131 operation.indexData->indexBuffer->lock(0, in generateBuffers() 132 operation.indexData->indexBuffer->getSizeInBytes(), in generateBuffers() 142 operation.indexData->indexBuffer = in generateBuffers() 148 operation.indexData->indexBuffer->lock(0, in generateBuffers() 149 operation.indexData->indexBuffer->getSizeInBytes(), in generateBuffers() [all …]
|
/dports/x11-toolkits/qt5-declarative/kde-qtdeclarative-5.15.2p41/src/quick/scenegraph/ |
H A D | qsgdefaultglyphnode.cpp | 203 quint16 *indexData = g->indexDataAsUShort(); in updateGeometry() local 214 tempIndexData[i * 6 + 0] = indexData[i * 6 + 0]; in updateGeometry() 215 tempIndexData[i * 6 + 1] = indexData[i * 6 + 1]; in updateGeometry() 216 tempIndexData[i * 6 + 2] = indexData[i * 6 + 2]; in updateGeometry() 217 tempIndexData[i * 6 + 3] = indexData[i * 6 + 3]; in updateGeometry() 218 tempIndexData[i * 6 + 4] = indexData[i * 6 + 4]; in updateGeometry() 219 tempIndexData[i * 6 + 5] = indexData[i * 6 + 5]; in updateGeometry() 224 indexData = g->indexDataAsUShort(); in updateGeometry() 232 indexData[i * 6 + 0] = tempIndexData[i * 6 + 0]; in updateGeometry() 233 indexData[i * 6 + 1] = tempIndexData[i * 6 + 1]; in updateGeometry() [all …]
|
/dports/x11-toolkits/qt5-declarative-test/kde-qtdeclarative-5.15.2p41/src/quick/scenegraph/ |
H A D | qsgdefaultglyphnode.cpp | 203 quint16 *indexData = g->indexDataAsUShort(); in updateGeometry() local 214 tempIndexData[i * 6 + 0] = indexData[i * 6 + 0]; in updateGeometry() 215 tempIndexData[i * 6 + 1] = indexData[i * 6 + 1]; in updateGeometry() 216 tempIndexData[i * 6 + 2] = indexData[i * 6 + 2]; in updateGeometry() 217 tempIndexData[i * 6 + 3] = indexData[i * 6 + 3]; in updateGeometry() 218 tempIndexData[i * 6 + 4] = indexData[i * 6 + 4]; in updateGeometry() 219 tempIndexData[i * 6 + 5] = indexData[i * 6 + 5]; in updateGeometry() 224 indexData = g->indexDataAsUShort(); in updateGeometry() 232 indexData[i * 6 + 0] = tempIndexData[i * 6 + 0]; in updateGeometry() 233 indexData[i * 6 + 1] = tempIndexData[i * 6 + 1]; in updateGeometry() [all …]
|
/dports/games/openbve/OpenBVE-1.8.2.1/source/LibRender2/openGL/ |
H A D | IndexBufferObject.cs | 83 protected readonly T[] indexData; field in LibRender2.IndexBufferObject 92 indexData = IndexData; in IndexBufferObject() 104 …GL.BufferData(BufferTarget.ElementArrayBuffer, indexData.Length * sizeof(ushort), indexData, drawT… in BufferData() 109 GL.DrawElements(DrawMode, indexData.Length, DrawElementsType.UnsignedShort, 0); in Draw() 126 …GL.BufferData(BufferTarget.ElementArrayBuffer, indexData.Length * sizeof(uint), indexData, drawTyp… in BufferData() 131 GL.DrawElements(DrawMode, indexData.Length, DrawElementsType.UnsignedInt, 0); in Draw()
|
H A D | VertexArrayObject.cs | 177 var indexData = new List<uint>(); in CreateVAO() 184 mesh.Faces[i].IboStartIndex = indexData.Count; in CreateVAO() 222 if (indexData.Count > 65530) in CreateVAO() 225 VAO.SetIBO(new IndexBufferObjectUI(indexData.ToArray(), hint)); in CreateVAO() 229 VAO.SetIBO(new IndexBufferObjectUS(indexData.Select(x => (ushort)x).ToArray(), hint)); in CreateVAO() 312 List<ushort> indexData = new List<ushort>(); in CreateVAO() 348 indexData.AddRange(new[] { 0, 1, 2 }.Select(x => x + indexOffset).Select(x => (ushort)x)); in CreateVAO() 349 indexData.AddRange(new[] { 0, 2, 3 }.Select(x => x + indexOffset).Select(x => (ushort)x)); in CreateVAO() 359 indexData.AddRange(new[] { 0, 3, 4 }.Select(x => x + indexOffset).Select(x => (ushort)x)); in CreateVAO() 369 indexData.AddRange(new[] { 5, 2, 1 }.Select(x => x + indexOffset).Select(x => (ushort)x)); in CreateVAO() [all …]
|
/dports/graphics/ogre3d/ogre-1.11.6/Samples/DeferredShading/src/ |
H A D | GeomUtils.cpp | 35 createSphere(pSphere->sharedVertexData, pSphereVertex->indexData in createSphere() 52 void GeomUtils::createSphere(VertexData*& vertexData, IndexData*& indexData in createSphere() argument 58 assert(vertexData && indexData); in createSphere() 88 indexData->indexCount = 6 * nRings * (nSegments + 1); in createSphere() 89 …indexData->indexBuffer = HardwareBufferManager::getSingleton().createIndexBuffer(HardwareIndexBuff… in createSphere() 90 HardwareIndexBufferSharedPtr iBuf = indexData->indexBuffer; in createSphere() 179 createCone(pCone->sharedVertexData, pConeVertex->indexData in createCone() 201 assert(vertexData && indexData); in createCone() 216 indexData->indexCount = (3 * nVerticesInBase) + (3 * (nVerticesInBase - 2)); in createCone() 217 …indexData->indexBuffer = HardwareBufferManager::getSingleton().createIndexBuffer(HardwareIndexBuff… in createCone() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Samples/DeferredShading/src/ |
H A D | GeomUtils.cpp | 34 createSphere(pSphere->sharedVertexData, pSphereVertex->indexData in createSphere() 51 void GeomUtils::createSphere(VertexData*& vertexData, IndexData*& indexData in createSphere() argument 57 assert(vertexData && indexData); in createSphere() 87 indexData->indexCount = 6 * nRings * (nSegments + 1); in createSphere() 88 …indexData->indexBuffer = HardwareBufferManager::getSingleton().createIndexBuffer(HardwareIndexBuff… in createSphere() 89 HardwareIndexBufferSharedPtr iBuf = indexData->indexBuffer; in createSphere() 178 createCone(pCone->sharedVertexData, pConeVertex->indexData in createCone() 200 assert(vertexData && indexData); in createCone() 215 indexData->indexCount = (3 * nVerticesInBase) + (3 * (nVerticesInBase - 2)); in createCone() 216 …indexData->indexBuffer = HardwareBufferManager::getSingleton().createIndexBuffer(HardwareIndexBuff… in createCone() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/src/ |
H A D | OgreManualObject.cpp | 239 if (rop->indexData) in beginUpdate() 240 rop->indexData->indexCount = 0; in beginUpdate() 486 if (!rop->indexData) in index() 489 rop->indexData->indexCount = 0; in index() 547 if (rop->indexData) in getCurrentIndexCount() 711 if ((rop->indexData->indexBuffer->getNumIndexes() >= rop->indexData->indexCount) && in end() 737 rop->indexData->indexBuffer = in end() 835 if (rop->indexData) in convertToMesh() 838 OGRE_DELETE sm->indexData; in convertToMesh() 839 sm->indexData = rop->indexData->clone(true); in convertToMesh() [all …]
|
H A D | OgreSubMesh.cpp | 50 indexData = OGRE_NEW IndexData(); in SubMesh() 56 OGRE_DELETE indexData; in ~SubMesh() local 82 ro.useIndexes = indexData->indexCount != 0; in _getRenderOperation() 86 ro.indexData = mLodFaceList[lodIndex-1]; in _getRenderOperation() 90 ro.indexData = indexData; in _getRenderOperation() 343 if (indexData->indexCount > 0) in generateExtremes() 349 indexData->indexStart * elsz, indexData->indexCount * elsz, in generateExtremes() 352 for (size_t i = 0; i < indexData->indexCount; i++) in generateExtremes() 357 indexData->indexBuffer->unlock (); in generateExtremes() 485 OGRE_DELETE newSub->indexData; in clone() [all …]
|
H A D | OgrePatchMesh.cpp | 75 mSurface.build(vbuf, 0, sm->indexData->indexBuffer, 0); in update() 82 sm->indexData->indexCount = mSurface.getCurrentIndexCount(); in setSubdivision() 105 sm->indexData->indexStart = 0; in loadImpl() 106 sm->indexData->indexCount = mSurface.getRequiredIndexCount(); in loadImpl() 107 sm->indexData->indexBuffer = HardwareBufferManager::getSingleton(). in loadImpl() 110 sm->indexData->indexCount, in loadImpl() 115 mSurface.build(vbuf, 0, sm->indexData->indexBuffer, 0); in loadImpl()
|
/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/src/ |
H A D | OgreSubMesh.cpp | 43 indexData = OGRE_NEW IndexData(); in SubMesh() 50 OGRE_DELETE indexData; in ~SubMesh() local 76 ro.indexData = mLodFaceList[lodIndex-1]; in _getRenderOperation() 80 ro.indexData = indexData; in _getRenderOperation() 82 ro.useIndexes = ro.indexData->indexCount != 0; in _getRenderOperation() 339 if (indexData->indexCount > 0) in generateExtremes() 345 indexData->indexStart * elsz, indexData->indexCount * elsz, in generateExtremes() 348 for (size_t i = 0; i < indexData->indexCount; i++) in generateExtremes() 353 indexData->indexBuffer->unlock (); in generateExtremes() 481 OGRE_DELETE newSub->indexData; in clone() [all …]
|
H A D | OgreManualObject.cpp | 195 if (rop->indexData) in beginUpdate() 196 rop->indexData->indexCount = 0; in beginUpdate() 442 if (!rop->indexData) in index() 445 rop->indexData->indexCount = 0; in index() 503 if (rop->indexData) in getCurrentIndexCount() 669 … if ((rop->indexData->indexBuffer->getNumIndexes() >= rop->indexData->indexCount) && in end() 792 if (rop->indexData) in convertToMesh() 795 OGRE_DELETE sm->indexData; in convertToMesh() 796 sm->indexData = rop->indexData->clone(true); in convertToMesh() 1107 mRenderOp.indexData->indexStart = 0; in ManualObjectSectionShadowRenderable() [all …]
|
H A D | OgrePatchMesh.cpp | 73 mSurface.build(vbuf, 0, sm->indexData->indexBuffer, 0); in update() 80 sm->indexData->indexCount = mSurface.getCurrentIndexCount(); in setSubdivision() 103 sm->indexData->indexStart = 0; in loadImpl() 104 sm->indexData->indexCount = mSurface.getRequiredIndexCount(); in loadImpl() 105 sm->indexData->indexBuffer = HardwareBufferManager::getSingleton(). in loadImpl() 108 sm->indexData->indexCount, in loadImpl() 113 mSurface.build(vbuf, 0, sm->indexData->indexBuffer, 0); in loadImpl()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/tessellate/ |
H A D | GrStencilPathShader.cpp | 255 auto indexData = static_cast<uint16_t*>(buffer->map()); in FindOrMakeMiddleOutIndexBuffer() local 257 if (!indexData) { in FindOrMakeMiddleOutIndexBuffer() 259 indexData = stagingBuffer.reset(kIndexCount); in FindOrMakeMiddleOutIndexBuffer() 266 indexData[i++] = (1 << kMaxResolveLevel) + 4; // % 4 == 0 in FindOrMakeMiddleOutIndexBuffer() 267 indexData[i++] = (1 << kMaxResolveLevel) + 5; // % 4 == 1 in FindOrMakeMiddleOutIndexBuffer() 268 indexData[i++] = (1 << kMaxResolveLevel) + 6; // % 4 == 2 in FindOrMakeMiddleOutIndexBuffer() 277 indexData[i++] = T; in FindOrMakeMiddleOutIndexBuffer() 278 indexData[i++] = (T += advance); in FindOrMakeMiddleOutIndexBuffer() 279 indexData[i++] = (T += advance); in FindOrMakeMiddleOutIndexBuffer()
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ |
H A D | ResourceDataNode.cs | 106 …ResourceIndexData indexData = new ResourceIndexData(assemblyName, resourceName, _totalLength, (int… in GetOrCreateIndexData() 107 _indexData.Add(indexData); in GetOrCreateIndexData() 132 foreach (ResourceIndexData indexData in _indexData) in GenerateResourceBlob() 134 EcmaModule module = indexData.EcmaModule; in GenerateResourceBlob() 136 Debug.Assert(currentPos == indexData.NativeOffset); in GenerateResourceBlob() 137 … BlobReader reader = resourceDirectory.GetReader(indexData.EcmaOffset, indexData.Length); in GenerateResourceBlob() 138 byte[] resourceData = reader.ReadBytes(indexData.Length); in GenerateResourceBlob()
|
H A D | ResourceIndexNode.cs | 81 foreach (ResourceIndexData indexData in _resourceDataNode.GetOrCreateIndexData(factory)) in GenerateIndexBlob() 83 Vertex asmName = nativeWriter.GetStringConstant(indexData.AssemblyName); in GenerateIndexBlob() 84 Vertex resourceName = nativeWriter.GetStringConstant(indexData.ResourceName); in GenerateIndexBlob() 85 … Vertex offsetVertex = nativeWriter.GetUnsignedConstant((uint)indexData.NativeOffset); in GenerateIndexBlob() 86 Vertex lengthVertex = nativeWriter.GetUnsignedConstant((uint)indexData.Length); in GenerateIndexBlob() 92 int hashCode = TypeHashingAlgorithms.ComputeNameHashCode(indexData.AssemblyName); in GenerateIndexBlob()
|
/dports/graphics/ogre3d/ogre-1.11.6/Components/MeshLodGenerator/include/ |
H A D | OgreLod0Stripifier.h | 133 size_t indexCount = indexData->indexCount; in performIndexDataRemap() 134 HardwareIndexBuffer::IndexType indexType = indexData->indexBuffer->getType(); in performIndexDataRemap() 138 …newIndexType, indexCount, indexData->indexBuffer->getUsage(), indexData->indexBuffer->hasShadowBuf… in performIndexDataRemap() 140 void* pSrc = indexData->indexBuffer->lock( in performIndexDataRemap() 141 indexData->indexStart * indexData->indexBuffer->getIndexSize(), in performIndexDataRemap() 142 indexData->indexCount * indexData->indexBuffer->getIndexSize(), in performIndexDataRemap() 171 indexData->indexBuffer->unlock(); in performIndexDataRemap() 174 indexData->indexBuffer = newIndexBuffer; in performIndexDataRemap() 175 indexData->indexStart = 0; in performIndexDataRemap() 325 OGRE_DELETE submesh->indexData; in StripLod0Vertices() [all …]
|
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/lexpress/doctrine1/lib/Doctrine/Import/ |
H A D | Mysql.php | 85 foreach ($indexes as $indexData) { 86 if ( ! $indexData[$nonUnique]) { 87 if ($indexData[$keyName] !== 'PRIMARY') { 88 $index = $this->conn->formatter->fixIndexName($indexData[$keyName]); 205 foreach ($indexes as $indexData) { 206 …if ($indexData[$nonUnique] && ($index = $this->conn->formatter->fixIndexName($indexData[$keyName])…
|