Searched refs:mBufferData (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/ |
D | Mesh.cpp | 42 if (mBufferData->vertexData().empty()) { in validate() 47 size_t vertexCount = mBufferData->vertexCount(); in validate() 48 size_t vertexOffset = mBufferData->vertexOffset(); in validate() 51 if (sm.add(vertexSize, vertexOffset) > mBufferData->vertexData().size()) { in validate() 79 size_t indexCount = mBufferData->indexCount(); in validate() 80 size_t indexOffset = mBufferData->indexOffset(); in validate() 81 if (!mBufferData->indexData().empty()) { in validate() 87 if (sm.add(isize, indexOffset) > mBufferData->indexData().size()) { in validate()
|
D | Mesh.h | 191 SkMesh::VertexBuffer* vertexBuffer = mBufferData->vertexBuffer(); in getSkMesh() 207 , mBufferData(std::move(bufferData)) in Snapshot() 212 const MeshBufferData& d = *mBufferData; in makeSkMesh() 229 std::shared_ptr<const MeshBufferData> mBufferData; variable 244 , mBufferData(std::make_shared<MeshBufferData>(std::move(vertexData), vertexCount, in Mesh() 256 std::shared_ptr<const MeshBufferData> refBufferData() const { return mBufferData; } in refBufferData() 259 return Snapshot(mMeshSpec, mMode, mBufferData, mUniformBuilder.fUniforms, mBounds); in takeSnapshot() 267 std::shared_ptr<MeshBufferData> mBufferData; variable
|