Searched refs:staticBuffer (Results 1 – 4 of 4) sorted by relevance
109 sw::Resource *staticBuffer = buffer ? buffer->getResource() : NULL; in prepareIndexData() local111 if(staticBuffer) in prepareIndexData()115 translated->indexBuffer = staticBuffer; in prepareIndexData()132 copyIndices(type, staticBuffer ? buffer->data() : indices, convertCount, output); in prepareIndexData()
152 sw::Resource *staticBuffer = buffer ? buffer->getResource() : nullptr; in prepareVertexData() local154 if(staticBuffer) in prepareVertexData()156 translated[i].vertexBuffer = staticBuffer; in prepareVertexData()
163 sw::Resource *staticBuffer = buffer ? buffer->getResource() : nullptr; in prepareVertexData() local165 if(staticBuffer) in prepareVertexData()167 translated[i].vertexBuffer = staticBuffer; in prepareVertexData()
297 sw::Resource *staticBuffer = buffer ? buffer->getResource() : NULL; in prepareIndexData() local328 else if(staticBuffer) in prepareIndexData()330 translated->indexBuffer = staticBuffer; in prepareIndexData()