/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLSupport/src/ |
H A D | OgreGLVertexArrayObject.cpp | 66 bool GLVertexArrayObject::needsUpdate(VertexBufferBinding* vertexBufferBinding, in needsUpdate() argument 81 if (!vertexBufferBinding->isBufferBound(source)) in needsUpdate() 89 … const HardwareVertexBufferSharedPtr& vertexBuffer = vertexBufferBinding->getBuffer(source); in needsUpdate() 108 VertexBufferBinding* vertexBufferBinding, in bindToGpu() argument 123 if (!vertexBufferBinding->isBufferBound(source)) in bindToGpu() 131 … const HardwareVertexBufferSharedPtr& vertexBuffer = vertexBufferBinding->getBuffer(source); in bindToGpu()
|
/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/src/ |
H A D | OgreVertexIndexData.cpp | 38 vertexBufferBinding = mMgr->createVertexBufferBinding(); in VertexData() 52 vertexBufferBinding = bind; in VertexData() 63 mMgr->destroyVertexBufferBinding(vertexBufferBinding); in ~VertexData() 76 this->vertexBufferBinding->getBindings(); in clone() 453 vertexBufferBinding = newBinding; in reorganiseBuffers() 516 if (!vertexBufferBinding->hasGaps()) in closeGapsInBindings() 536 vertexBufferBinding->closeGaps(bindingIndexMap); in closeGapsInBindings() 571 ushort count = vertexBufferBinding->getLastBoundIndex(); in removeUnusedBuffers() 575 vertexBufferBinding->isBufferBound(index)) in removeUnusedBuffers() 577 vertexBufferBinding->unsetBinding(index); in removeUnusedBuffers() [all …]
|
H A D | OgreInstanceBatchHW.cpp | 81 thisVertexData->vertexBufferBinding->setBinding( lastSource, vertexBuffer ); in buildFrom() 113 thisVertexData->vertexBufferBinding->setBinding( newSource, vertexBuffer ); in setupVertices() 138 thisVertexData->vertexBufferBinding->unsetBinding( blendIndexElem->getSource() ); in removeBlendData() 146 thisVertexData->vertexBufferBinding->unsetBinding( blendWeightElem->getSource() ); in removeBlendData() 183 VertexBufferBinding* binding = mRenderOperation.vertexData->vertexBufferBinding; in updateVertexBuffer()
|
H A D | OgreRectangle2D.cpp | 64 VertexBufferBinding* bind = mRenderOp.vertexData->vertexBufferBinding; in _initRectangle2D() 139 mRenderOp.vertexData->vertexBufferBinding->getBuffer(POSITION_BINDING); in setCorners() 170 mRenderOp.vertexData->vertexBufferBinding->getBuffer(NORMAL_BINDING); in setNormals() 198 mRenderOp.vertexData->vertexBufferBinding->getBuffer(TEXCOORD_BINDING); in setUVs()
|
H A D | OgreInstanceBatchHW_VTF.cpp | 70 … vertexBufferBinding->getBindings().begin(); in setupVertices() 72 … vertexBufferBinding->getBindings().end(); in setupVertices() 77 thisVertexData->vertexBufferBinding->setBinding( bufferIdx, vBuf ); in setupVertices() 117 thisVertexData->vertexBufferBinding->unsetBinding(skelDataSource); in setupVertices() 119 thisVertexData->vertexBufferBinding->closeGaps(tmpMap); in setupVertices() 171 thisVertexData->vertexBufferBinding->setBinding( newSource, vertexBuffer ); in createVertexSemantics() 251 thisVertexData->vertexBufferBinding->setBinding( newSource, mInstanceVertexBuffer ); in createVertexSemantics()
|
H A D | OgreInstanceBatchShader.cpp | 161 thisVertexData->vertexBufferBinding->setBinding( i, vertexBuffer ); in setupVertices() 165 … baseVertexData->vertexBufferBinding->getBuffer(i); in setupVertices() 189 thisVertexData->vertexBufferBinding->setBinding( lastSource, vertexBuffer ); in setupVertices() 265 thisVertexData->vertexBufferBinding->setBinding( i, vertexBuffer ); in setupHardwareSkinned() 272 … baseVertexData->vertexBufferBinding->getBuffer(i); in setupHardwareSkinned()
|
H A D | OgreEntity.cpp | 1088 ->vertexBufferBinding->getBuffer(elem->getSource()); in applyVertexAnimation() 1105 ->vertexBufferBinding->getBuffer(elem->getSource()); in applyVertexAnimation() 1146 ->vertexBufferBinding->getBuffer(elem->getSource()); in applyVertexAnimation() 1164 ->vertexBufferBinding->getBuffer(elem->getSource()); in applyVertexAnimation() 1203 mMesh->sharedVertexData->vertexBufferBinding->getBuffer( in restoreBuffersForUnusedAnimation() 1209 mSoftwareVertexAnimVertexData->vertexBufferBinding->setBinding( in restoreBuffersForUnusedAnimation() 1243 srcData->vertexBufferBinding->getBuffer( in bindMissingHardwarePoseBuffers() 1250 if (!destData->vertexBufferBinding->isBufferBound( in bindMissingHardwarePoseBuffers() 1254 destData->vertexBufferBinding->setBinding( in bindMissingHardwarePoseBuffers() 1272 srcData->vertexBufferBinding->getBuffer(origelem->getSource()); in initialisePoseVertexData() [all …]
|
H A D | OgreTangentSpaceCalc.cpp | 109 mVData->vertexBufferBinding->getBindings(); in extendBuffers() 143 … HardwareBufferManager::getSingleton().destroyVertexBufferBinding(mVData->vertexBufferBinding); in extendBuffers() 144 mVData->vertexBufferBinding = newBindings; in extendBuffers() 530 VertexBufferBinding *bind = mVData->vertexBufferBinding; in populateVertexArray() 649 VertexBufferBinding *vBind = mVData->vertexBufferBinding ; in insertTangents() 687 origBuffer = mVData->vertexBufferBinding->getBuffer( in insertTangents() 712 origBuffer = mVData->vertexBufferBinding->getBuffer( in insertTangents()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/src/ |
H A D | OgreVertexIndexData.cpp | 45 vertexBufferBinding = mMgr->createVertexBufferBinding(); in VertexData() 59 vertexBufferBinding = bind; in VertexData() 70 mMgr->destroyVertexBufferBinding(vertexBufferBinding); in ~VertexData() 83 this->vertexBufferBinding->getBindings(); in clone() 107 dest->vertexBufferBinding->setBinding(vbi->first, dstBuf); in clone() 455 vertexBufferBinding = newBinding; in reorganiseBuffers() 518 if (!vertexBufferBinding->hasGaps()) in closeGapsInBindings() 538 vertexBufferBinding->closeGaps(bindingIndexMap); in closeGapsInBindings() 577 vertexBufferBinding->isBufferBound(index)) in removeUnusedBuffers() 579 vertexBufferBinding->unsetBinding(index); in removeUnusedBuffers() [all …]
|
H A D | OgreInstanceBatchHW.cpp | 86 thisVertexData->vertexBufferBinding->setBinding( lastSource, vertexBuffer ); in buildFrom() 118 thisVertexData->vertexBufferBinding->setBinding( newSource, vertexBuffer ); in setupVertices() 143 thisVertexData->vertexBufferBinding->unsetBinding( blendIndexElem->getSource() ); in removeBlendData() 151 thisVertexData->vertexBufferBinding->unsetBinding( blendWeightElem->getSource() ); in removeBlendData() 188 const size_t bufferIdx = mRenderOperation.vertexData->vertexBufferBinding->getBufferCount()-1; in updateVertexBuffer() 189 float *pDest = static_cast<float*>(mRenderOperation.vertexData->vertexBufferBinding-> in updateVertexBuffer() 227 mRenderOperation.vertexData->vertexBufferBinding->getBuffer(bufferIdx)->unlock(); in updateVertexBuffer()
|
H A D | OgreRectangle2D.cpp | 68 VertexBufferBinding* bind = mRenderOp.vertexData->vertexBufferBinding; in _initRectangle2D() 141 mRenderOp.vertexData->vertexBufferBinding->getBuffer(POSITION_BINDING); in setCorners() 173 mRenderOp.vertexData->vertexBufferBinding->getBuffer(NORMAL_BINDING); in setNormals() 202 mRenderOp.vertexData->vertexBufferBinding->getBuffer(TEXCOORD_BINDING); in setUVs()
|
H A D | OgreInstanceBatchHW_VTF.cpp | 79 vertexBufferBinding->getBindings().begin(); in setupVertices() 81 vertexBufferBinding->getBindings().end(); in setupVertices() 86 thisVertexData->vertexBufferBinding->setBinding( bufferIdx, vBuf ); in setupVertices() 126 thisVertexData->vertexBufferBinding->unsetBinding(skelDataSource); in setupVertices() 128 thisVertexData->vertexBufferBinding->closeGaps(tmpMap); in setupVertices() 180 thisVertexData->vertexBufferBinding->setBinding( newSource, vertexBuffer ); in createVertexSemantics() 259 thisVertexData->vertexBufferBinding->setBinding( newSource, mInstanceVertexBuffer ); in createVertexSemantics()
|
H A D | OgreInstanceBatchShader.cpp | 169 thisVertexData->vertexBufferBinding->setBinding( i, vertexBuffer ); in setupVertices() 173 baseVertexData->vertexBufferBinding->getBuffer(i); in setupVertices() 198 thisVertexData->vertexBufferBinding->setBinding( lastSource, vertexBuffer ); in setupVertices() 281 thisVertexData->vertexBufferBinding->setBinding( i, vertexBuffer ); in setupHardwareSkinned() 288 baseVertexData->vertexBufferBinding->getBuffer(i); in setupHardwareSkinned()
|
H A D | OgreEntity.cpp | 1028 ->vertexBufferBinding->getBuffer(elem->getSource()); in applyVertexAnimation() 1045 ->vertexBufferBinding->getBuffer(elem->getSource()); in applyVertexAnimation() 1086 ->vertexBufferBinding->getBuffer(elem->getSource()); in applyVertexAnimation() 1104 ->vertexBufferBinding->getBuffer(elem->getSource()); in applyVertexAnimation() 1143 mMesh->sharedVertexData->vertexBufferBinding->getBuffer( in restoreBuffersForUnusedAnimation() 1149 mSoftwareVertexAnimVertexData->vertexBufferBinding->setBinding( in restoreBuffersForUnusedAnimation() 1183 srcData->vertexBufferBinding->getBuffer( in bindMissingHardwarePoseBuffers() 1190 if (!destData->vertexBufferBinding->isBufferBound( in bindMissingHardwarePoseBuffers() 1194 destData->vertexBufferBinding->setBinding( in bindMissingHardwarePoseBuffers() 1212 srcData->vertexBufferBinding->getBuffer(origelem->getSource()); in initialisePoseVertexData() [all …]
|
H A D | OgreTangentSpaceCalc.cpp | 116 mVData->vertexBufferBinding->getBindings(); in extendBuffers() 151 HardwareBufferManager::getSingleton().destroyVertexBufferBinding(mVData->vertexBufferBinding); in extendBuffers() 152 mVData->vertexBufferBinding = newBindings; in extendBuffers() 556 VertexBufferBinding *bind = mVData->vertexBufferBinding; in populateVertexArray() 675 VertexBufferBinding *vBind = mVData->vertexBufferBinding ; in insertTangents() 713 origBuffer = mVData->vertexBufferBinding->getBuffer( in insertTangents() 738 origBuffer = mVData->vertexBufferBinding->getBuffer( in insertTangents()
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Tests/OgreMain/src/ |
H A D | EdgeBuilderTests.cpp | 62 vd.vertexBufferBinding->setBinding(0, vbuf); in testSingleIndexBufSingleVertexBuf() 112 vd.vertexBufferBinding->setBinding(0, vbuf); in testMultiIndexBufSingleVertexBuf() 189 vd[0].vertexBufferBinding->setBinding(0, vbuf); in testMultiIndexBufMultiVertexBuf() 201 vd[1].vertexBufferBinding->setBinding(0, vbuf); in testMultiIndexBufMultiVertexBuf() 213 vd[2].vertexBufferBinding->setBinding(0, vbuf); in testMultiIndexBufMultiVertexBuf() 225 vd[3].vertexBufferBinding->setBinding(0, vbuf); in testMultiIndexBufMultiVertexBuf()
|
/dports/graphics/ogre3d/ogre-1.11.6/Tests/OgreMain/src/ |
H A D | EdgeBuilderTests.cpp | 61 vd.vertexBufferBinding->setBinding(0, vbuf); in TEST_F() 110 vd.vertexBufferBinding->setBinding(0, vbuf); in TEST_F() 185 vd[0].vertexBufferBinding->setBinding(0, vbuf); in TEST_F() 197 vd[1].vertexBufferBinding->setBinding(0, vbuf); in TEST_F() 209 vd[2].vertexBufferBinding->setBinding(0, vbuf); in TEST_F() 221 vd[3].vertexBufferBinding->setBinding(0, vbuf); in TEST_F()
|
/dports/graphics/ogre3d/ogre-1.11.6/RenderSystems/GLSupport/include/ |
H A D | OgreGLVertexArrayObject.h | 58 bool needsUpdate(VertexBufferBinding* vertexBufferBinding, size_t vertexStart); 59 …void bindToGpu(GLRenderSystemCommon* rs, VertexBufferBinding* vertexBufferBinding, size_t vertexSt…
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/ovis/src/ |
H A D | meshes.cpp | 76 mesh->sharedVertexData->vertexBufferBinding->setBinding(source, hwbuf); in createPointCloudMesh() 91 mesh->sharedVertexData->vertexBufferBinding->setBinding(source, hwbuf); in createPointCloudMesh() 149 mesh->sharedVertexData->vertexBufferBinding->setBinding(source, hwbuf); in createTriangleMesh() 161 mesh->sharedVertexData->vertexBufferBinding->setBinding(source, hwbuf); in createTriangleMesh() 220 mesh->sharedVertexData->vertexBufferBinding->setBinding(source, hwbuf); in createGridMesh()
|
/dports/graphics/ogre3d/ogre-1.11.6/Components/Overlay/src/ |
H A D | OgrePanelOverlayElement.cpp | 121 mRenderOp.vertexData->vertexBufferBinding->setBinding(POSITION_BINDING, vbuf); in _restoreManualHardwareResources() 133 VertexBufferBinding* bind = mRenderOp.vertexData->vertexBufferBinding; in _releaseManualHardwareResources() 255 mRenderOp.vertexData->vertexBufferBinding->getBuffer(POSITION_BINDING); in updatePositionGeometry() 322 mRenderOp.vertexData->vertexBufferBinding->setBinding(TEXCOORD_BINDING, newbuf); in updateTextureGeometry() 331 mRenderOp.vertexData->vertexBufferBinding->getBuffer(TEXCOORD_BINDING); in updateTextureGeometry()
|
/dports/graphics/ogre3d/ogre-1.11.6/Components/Terrain/src/ |
H A D | OgreTerrainQuadTreeNode.cpp | 549 posbuf = targetVertexData->vertexBufferBinding->getBuffer(POSITION_BUFFER); in updateVertexData() 551 deltabuf = targetVertexData->vertexBufferBinding->getBuffer(DELTA_BUFFER); in updateVertexData() 982 OGRE_DELETE mVertexDataRecord->cpuVertexData->vertexBufferBinding; in destroyCpuVertexData() 983 mVertexDataRecord->cpuVertexData->vertexBufferBinding = 0; in destroyCpuVertexData() 1032 destPosBuf->copyData(*srcData->vertexBufferBinding->getBuffer(POSITION_BUFFER)); in createGpuVertexData() 1033 destDeltaBuf->copyData(*srcData->vertexBufferBinding->getBuffer(DELTA_BUFFER)); in createGpuVertexData() 1036 destData->vertexBufferBinding->setBinding(POSITION_BUFFER, destPosBuf); in createGpuVertexData() 1037 destData->vertexBufferBinding->setBinding(DELTA_BUFFER, destDeltaBuf); in createGpuVertexData() 1067 mVertexDataRecord->gpuVertexData->vertexBufferBinding->getBuffer(POSITION_BUFFER)-> in updateGpuVertexData() 1069 mVertexDataRecord->gpuVertexData->vertexBufferBinding->getBuffer(DELTA_BUFFER)-> in updateGpuVertexData() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Components/Terrain/src/ |
H A D | OgreTerrainQuadTreeNode.cpp | 548 posbuf = targetVertexData->vertexBufferBinding->getBuffer(POSITION_BUFFER); in updateVertexData() 550 deltabuf = targetVertexData->vertexBufferBinding->getBuffer(DELTA_BUFFER); in updateVertexData() 981 OGRE_DELETE mVertexDataRecord->cpuVertexData->vertexBufferBinding; in destroyCpuVertexData() 982 mVertexDataRecord->cpuVertexData->vertexBufferBinding = 0; in destroyCpuVertexData() 1031 destPosBuf->copyData(*srcData->vertexBufferBinding->getBuffer(POSITION_BUFFER)); in createGpuVertexData() 1032 destDeltaBuf->copyData(*srcData->vertexBufferBinding->getBuffer(DELTA_BUFFER)); in createGpuVertexData() 1035 destData->vertexBufferBinding->setBinding(POSITION_BUFFER, destPosBuf); in createGpuVertexData() 1036 destData->vertexBufferBinding->setBinding(DELTA_BUFFER, destDeltaBuf); in createGpuVertexData() 1066 mVertexDataRecord->gpuVertexData->vertexBufferBinding->getBuffer(POSITION_BUFFER)-> in updateGpuVertexData() 1068 mVertexDataRecord->gpuVertexData->vertexBufferBinding->getBuffer(DELTA_BUFFER)-> in updateGpuVertexData() [all …]
|
/dports/games/stuntrally/stuntrally-2.6.1/source/paged-geom/ |
H A D | BatchedGeometry.cpp | 238 uint32 buffersCount = (uint32)oldVertexData->vertexBufferBinding->getBufferCount(); in extractVertexDataFromShared() 242 …HardwareVertexBufferSharedPtr oldVertexBuffer = oldVertexData->vertexBufferBinding->getBuffer(buff… in extractVertexDataFromShared() 262 newVertexData->vertexBufferBinding->setBinding(bufferIndex, newVertexBuffer); in extractVertexDataFromShared() 497 …lendIndices->getSize() + blendWeights->getSize() == m_pVertexData->vertexBufferBinding->getBuffer(… in SubBatch() 501 m_pVertexData->vertexBufferBinding->unsetBinding(blendIndices->getSource()); in SubBatch() 588 VertexBufferBinding *vertBinding = m_pVertexData->vertexBufferBinding; in build() 709 VertexBufferBinding *sourceBinds = sourceVertexData->vertexBufferBinding; in _buildIdentiryOrientation() 710 VertexBufferBinding *destBinds = dstVertexData->vertexBufferBinding; in _buildIdentiryOrientation() 833 VertexBufferBinding *sourceBinds = sourceVertexData->vertexBufferBinding; in _buildFullTransform() 834 VertexBufferBinding *destBinds = dstVertexData->vertexBufferBinding; in _buildFullTransform() [all …]
|
/dports/graphics/rigsofrods-pagedgeometry/ogre-pagedgeometry-1.2.0/source/ |
H A D | BatchedGeometry.cpp | 237 uint32 buffersCount = (uint32)oldVertexData->vertexBufferBinding->getBufferCount(); in extractVertexDataFromShared() 241 …HardwareVertexBufferSharedPtr oldVertexBuffer = oldVertexData->vertexBufferBinding->getBuffer(buff… in extractVertexDataFromShared() 261 newVertexData->vertexBufferBinding->setBinding(bufferIndex, newVertexBuffer); in extractVertexDataFromShared() 499 …lendIndices->getSize() + blendWeights->getSize() == m_pVertexData->vertexBufferBinding->getBuffer(… in SubBatch() 503 m_pVertexData->vertexBufferBinding->unsetBinding(blendIndices->getSource()); in SubBatch() 590 VertexBufferBinding *vertBinding = m_pVertexData->vertexBufferBinding; in build() 711 VertexBufferBinding *sourceBinds = sourceVertexData->vertexBufferBinding; in _buildIdentiryOrientation() 712 VertexBufferBinding *destBinds = dstVertexData->vertexBufferBinding; in _buildIdentiryOrientation() 835 VertexBufferBinding *sourceBinds = sourceVertexData->vertexBufferBinding; in _buildFullTransform() 836 VertexBufferBinding *destBinds = dstVertexData->vertexBufferBinding; in _buildFullTransform() [all …]
|
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Components/Overlay/src/ |
H A D | OgrePanelOverlayElement.cpp | 106 mRenderOp.vertexData->vertexBufferBinding->setBinding(POSITION_BINDING, vbuf); in initialise() 224 mRenderOp.vertexData->vertexBufferBinding->getBuffer(POSITION_BINDING); in updatePositionGeometry() 293 mRenderOp.vertexData->vertexBufferBinding->setBinding(TEXCOORD_BINDING, newbuf); in updateTextureGeometry() 302 mRenderOp.vertexData->vertexBufferBinding->getBuffer(TEXCOORD_BINDING); in updateTextureGeometry()
|