Home
last modified time | relevance | path

Searched refs:mVertexArray (Results 1 – 8 of 8) sorted by relevance

/external/angle/src/libANGLE/
DVertexArray.cpp119 mVertexArray(factory->createVertexArray(mState)), in VertexArray()
128 mVertexArray->setContentsObservers(&mContentsObservers); in VertexArray()
165 mVertexArray->destroy(context); in onDestroy()
166 SafeDelete(mVertexArray); in onDestroy()
172 ASSERT(!mVertexArray); in ~VertexArray()
179 if (mVertexArray) in setLabel()
181 return mVertexArray->onLabelUpdate(context); in setLabel()
657 mVertexArray->syncState(context, mDirtyBits, &mDirtyAttribBits, &mDirtyBindingBits)); in syncState()
890 : mVertexArray(vertexArray) in VertexArrayBufferContentsObservers()
895 buffer->addContentsObserver(mVertexArray, attribIndex); in enableForBuffer()
[all …]
DState.cpp262 Buffer *oldBuffer = mVertexArray->mState.mElementArrayBuffer.get(); in setGenericBufferBinding()
265 oldBuffer->removeObserver(&mVertexArray->mState.mElementArrayBuffer); in setGenericBufferBinding()
266 oldBuffer->removeContentsObserver(mVertexArray, kElementArrayBufferIndex); in setGenericBufferBinding()
273 mVertexArray->mState.mElementArrayBuffer.assign(buffer); in setGenericBufferBinding()
276 buffer->addObserver(&mVertexArray->mState.mElementArrayBuffer); in setGenericBufferBinding()
277 buffer->addContentsObserver(mVertexArray, kElementArrayBufferIndex); in setGenericBufferBinding()
284 mVertexArray->mDirtyBits.set(VertexArray::DIRTY_BIT_ELEMENT_ARRAY_BUFFER); in setGenericBufferBinding()
285 mVertexArray->mIndexRangeCache.invalidate(); in setGenericBufferBinding()
2400 mVertexArray(nullptr),
2945 if (mVertexArray == vertexArray) in setVertexArrayBinding()
[all …]
DVertexArray.h132 VertexArray *mVertexArray;
284 rx::VertexArrayImpl *getImplementation() const { return mVertexArray; } in getImplementation()
406 rx::VertexArrayImpl *mVertexArray; variable
DState.h890 ASSERT(mVertexArray != nullptr); in getVertexArray()
891 return mVertexArray; in getVertexArray()
1041 mVertexArray->setVertexAttribPointer(context, attribNum, boundBuffer, size, type, in setVertexAttribPointer()
1054 mVertexArray->setVertexAttribIPointer(context, attribNum, boundBuffer, size, type, stride, in setVertexAttribIPointer()
1076 mVertexArray->setVertexAttribBinding(context, attribIndex, bindingIndex); in setVertexAttribBinding()
1191 bool isCurrentVertexArray(const VertexArray *va) const { return va == mVertexArray; } in isCurrentVertexArray()
1588 VertexArray *mVertexArray; variable
/external/angle/src/tests/gl_tests/
DTransformFeedbackTest.cpp1659 TransformFeedbackLifetimeTest() : mVertexArray(0) {} in TransformFeedbackLifetimeTest()
1663 glGenVertexArrays(1, &mVertexArray); in testSetUp()
1664 glBindVertexArray(mVertexArray); in testSetUp()
1683 glDeleteVertexArrays(1, &mVertexArray); in testTearDown()
1687 GLuint mVertexArray; member in __anonab90c9bc0111::TransformFeedbackLifetimeTest
1722 glDeleteVertexArrays(1, &mVertexArray); in TEST_P()
1723 mVertexArray = 0; in TEST_P()
DPixelLocalStorageTest.cpp278 glGenVertexArrays(1, &mVertexArray); in PLSProgram()
287 if (mVertexArray != 0) in reset()
289 glDeleteVertexArrays(1, &mVertexArray); in reset()
290 mVertexArray = 0; in reset()
306 glBindVertexArray(mVertexArray); in compile()
309 if (mVertexArray == 0) in compile()
398 glBindVertexArray(mVertexArray); in bind()
451 GLuint mVertexArray = 0; member in PLSProgram
/external/angle/src/libANGLE/renderer/metal/
DContextMtl.h597 VertexArrayMtl *mVertexArray = nullptr; variable
DContextMtl.mm792 ANGLE_TRY(mVertexArray->getIndexBuffer(context, type, count, indices, &idxBuffer,
824 const std::vector<DrawCommandRange> drawCommands = mVertexArray->getDrawIndices(
2402 mVertexArray = mtl::GetImpl(glState.getVertexArray());
2521 ANGLE_TRY(mVertexArray->updateClientAttribs(context, firstVertex, vertexOrIndexCount,
2918 ANGLE_TRY(mVertexArray->setupDraw(context, &mRenderEncoder, &rppChange,