Home
last modified time | relevance | path

Searched refs:staticBuffer (Results 1 – 9 of 9) sorted by relevance

/external/angle/src/libANGLE/renderer/d3d/
DIndexDataManager.cpp187 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()
DBufferD3D.cpp113 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()
DVertexDataManager.cpp377 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/
DIndexDataManager.cpp109 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()
DVertexDataManager.cpp152 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/
DVertexDataManager.cpp163 sw::Resource *staticBuffer = buffer ? buffer->getResource() : nullptr; in prepareVertexData() local
165 if(staticBuffer) in prepareVertexData()
167 translated[i].vertexBuffer = staticBuffer; in prepareVertexData()
DIndexDataManager.cpp297 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/
DContext11.cpp88 StaticIndexBufferInterface *staticBuffer = bufferD3D->getStaticIndexBuffer(); in DrawCallHasStreamingElementArray() local
89 return (staticBuffer->getBufferSize() == 0 || staticBuffer->getIndexType() != dstType); in DrawCallHasStreamingElementArray()
Drenderer11_utils.cpp2624 StaticIndexBufferInterface *staticBuffer = bufferD3D->getStaticIndexBuffer(); in ClassifyIndexStorage() local
2625 if (staticBuffer != nullptr) in ClassifyIndexStorage()