Searched refs:staticBuffer (Results 1 – 9 of 9) sorted by relevance
/external/angle/src/libANGLE/renderer/d3d/ |
D | IndexDataManager.cpp | 187 StaticIndexBufferInterface *staticBuffer = buffer->getStaticIndexBuffer(); in prepareIndexData() local 189 bool staticBufferInitialized = staticBuffer && staticBuffer->getBufferSize() != 0; in prepareIndexData() 191 staticBuffer && offsetAligned && staticBuffer->getIndexType() == dstType; in prepareIndexData() 196 staticBuffer = nullptr; in prepareIndexData() 199 if (staticBuffer == nullptr || !offsetAligned) in prepareIndexData() 219 ANGLE_TRY(StreamInIndexBuffer(context, staticBuffer, bufferData, convertCount, srcType, in prepareIndexData() 222 ASSERT(offsetAligned && staticBuffer->getIndexType() == dstType); in prepareIndexData() 224 translated->indexBuffer = staticBuffer->getIndexBuffer(); in prepareIndexData() 225 translated->serial = staticBuffer->getSerial(); in prepareIndexData()
|
D | BufferD3D.cpp | 113 for (const auto &staticBuffer : mStaticVertexBuffers) in getStaticVertexBuffer() local 115 if (staticBuffer->matchesAttribute(attribute, binding)) in getStaticVertexBuffer() 117 return staticBuffer.get(); in getStaticVertexBuffer() 120 currentTotalSize += staticBuffer->getBufferSize(); in getStaticVertexBuffer()
|
D | VertexDataManager.cpp | 377 auto *staticBuffer = bufferD3D->getStaticVertexBuffer(attrib, binding); in StoreStaticAttrib() local 378 ASSERT(staticBuffer); in StoreStaticAttrib() 380 if (staticBuffer->empty()) in StoreStaticAttrib() 389 ANGLE_TRY(staticBuffer->storeStaticAttribute(context, attrib, binding, -startIndex, in StoreStaticAttrib() 399 VertexBuffer *vertexBuffer = staticBuffer->getVertexBuffer(); in StoreStaticAttrib()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | IndexDataManager.cpp | 109 sw::Resource *staticBuffer = buffer ? buffer->getResource() : NULL; in prepareIndexData() local 111 if(staticBuffer) in prepareIndexData() 115 translated->indexBuffer = staticBuffer; in prepareIndexData() 132 copyIndices(type, staticBuffer ? buffer->data() : indices, convertCount, output); in prepareIndexData()
|
D | VertexDataManager.cpp | 152 sw::Resource *staticBuffer = buffer ? buffer->getResource() : nullptr; in prepareVertexData() local 154 if(staticBuffer) in prepareVertexData() 156 translated[i].vertexBuffer = staticBuffer; in prepareVertexData()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | VertexDataManager.cpp | 163 sw::Resource *staticBuffer = buffer ? buffer->getResource() : nullptr; in prepareVertexData() local 165 if(staticBuffer) in prepareVertexData() 167 translated[i].vertexBuffer = staticBuffer; in prepareVertexData()
|
D | IndexDataManager.cpp | 297 sw::Resource *staticBuffer = buffer ? buffer->getResource() : NULL; in prepareIndexData() local 328 else if(staticBuffer) in prepareIndexData() 330 translated->indexBuffer = staticBuffer; in prepareIndexData()
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | Context11.cpp | 88 StaticIndexBufferInterface *staticBuffer = bufferD3D->getStaticIndexBuffer(); in DrawCallHasStreamingElementArray() local 89 return (staticBuffer->getBufferSize() == 0 || staticBuffer->getIndexType() != dstType); in DrawCallHasStreamingElementArray()
|
D | renderer11_utils.cpp | 2624 StaticIndexBufferInterface *staticBuffer = bufferD3D->getStaticIndexBuffer(); in ClassifyIndexStorage() local 2625 if (staticBuffer != nullptr) in ClassifyIndexStorage()
|