Home
last modified time | relevance | path

Searched refs:meshState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp182 meshState().unbindMeshBuffer(); in interruptForFunctorInvoke()
183 meshState().unbindIndicesBuffer(); in interruptForFunctorInvoke()
184 meshState().resetVertexPointers(); in interruptForFunctorInvoke()
185 meshState().disableTexCoordsVertexArray(); in interruptForFunctorInvoke()
306 meshState().bindMeshBuffer(vertices.bufferObject); in render()
307 meshState().bindPositionVertexPointer(vertices.position, vertices.stride); in render()
310 meshState().bindIndicesBuffer(indices.bufferObject); in render()
334 meshState().enableTexCoordsVertexArray(); in render()
335 meshState().bindTexCoordsVertexPointer(vertices.texCoord, vertices.stride); in render()
337 meshState().disableTexCoordsVertexArray(); in render()
[all …]
DOffscreenBufferPool.cpp98 renderState.meshState().genOrUpdateMeshBuffer( in updateMeshFromRegion()
110 renderState.meshState().deleteMeshBuffer(vbo); in ~OffscreenBuffer()
DRenderState.h109 MeshState& meshState() { return *mMeshState; } in meshState() function
/frameworks/base/libs/hwui/
DPatchCache.cpp67 mRenderState.meshState().deleteMeshBuffer(mMeshBuffer); in clear()
156 mRenderState.meshState().genOrUpdateMeshBuffer(&mMeshBuffer, mMaxSize, nullptr, in createVertexBuffer()
204 mRenderState.meshState().updateMeshBufferSubData(mMeshBuffer, newMesh->positionOffset, size, in setupMesh()
DGlopBuilder.cpp77 mOutGlop->mesh.indices = {mRenderState.meshState().getQuadListIBO(), nullptr}; in setMeshTexturedIndexedVbo()
90 mOutGlop->mesh.vertices = {mRenderState.meshState().getUnitQuadVBO(), in setMeshUnitQuad()
110 mOutGlop->mesh.vertices = {mRenderState.meshState().getUnitQuadVBO(), in setMeshTexturedUnitQuad()
145 mOutGlop->mesh.indices = {mRenderState.meshState().getQuadListIBO(), nullptr}; in setMeshIndexedQuads()
156 mOutGlop->mesh.indices = {mRenderState.meshState().getQuadListIBO(), nullptr}; in setMeshTexturedIndexedQuads()
209 mOutGlop->mesh.indices = {mRenderState.meshState().getQuadListIBO(), nullptr}; in setMeshPatchQuads()
/frameworks/base/libs/hwui/tests/unit/
DMeshStateTests.cpp35 renderThread.renderState().meshState().genOrUpdateMeshBuffer(&buffer, 10, nullptr, in RENDERTHREAD_OPENGL_PIPELINE_TEST()
DGlopBuilderTests.cpp104 glop->mesh.vertices = {renderState.meshState().getUnitQuadVBO(), in blackUnitQuadGlop()