Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DVertexArray.cpp114 mVertexArray(factory->createVertexArray(mState)), in VertexArray()
123 mVertexArray->setContentsObservers(&mContentsObservers); in VertexArray()
156 mVertexArray->destroy(context); in onDestroy()
157 SafeDelete(mVertexArray); in onDestroy()
163 ASSERT(!mVertexArray); in ~VertexArray()
612 mVertexArray->syncState(context, mDirtyBits, &mDirtyAttribBits, &mDirtyBindingBits)); in syncState()
779 : mVertexArray(vertexArray) in VertexArrayBufferContentsObservers()
784 buffer->addContentsObserver(mVertexArray, bufferIndex); in enableForBuffer()
789 buffer->removeContentsObserver(mVertexArray, bufferIndex); in disableForBuffer()
DState.cpp246 Buffer *oldBuffer = mVertexArray->mState.mElementArrayBuffer.get(); in setGenericBufferBinding()
249 oldBuffer->removeObserver(&mVertexArray->mState.mElementArrayBuffer); in setGenericBufferBinding()
250 oldBuffer->removeContentsObserver(mVertexArray, kElementArrayBufferIndex); in setGenericBufferBinding()
257 mVertexArray->mState.mElementArrayBuffer.assign(buffer); in setGenericBufferBinding()
260 buffer->addObserver(&mVertexArray->mState.mElementArrayBuffer); in setGenericBufferBinding()
261 buffer->addContentsObserver(mVertexArray, kElementArrayBufferIndex); in setGenericBufferBinding()
268 mVertexArray->mDirtyBits.set(VertexArray::DIRTY_BIT_ELEMENT_ARRAY_BUFFER); in setGenericBufferBinding()
269 mVertexArray->mIndexRangeCache.invalidate(); in setGenericBufferBinding()
395 mVertexArray(nullptr),
1869 if (mVertexArray == vertexArray) in setVertexArrayBinding()
[all …]
DVertexArray.h120 VertexArray *mVertexArray;
256 rx::VertexArrayImpl *getImplementation() const { return mVertexArray; } in getImplementation()
373 rx::VertexArrayImpl *mVertexArray; variable
DState.h359 ASSERT(mVertexArray != nullptr); in getVertexArray()
360 return mVertexArray; in getVertexArray()
488 mVertexArray->setVertexAttribPointer(context, attribNum, boundBuffer, size, type, in setVertexAttribPointer()
501 mVertexArray->setVertexAttribIPointer(context, attribNum, boundBuffer, size, type, stride, in setVertexAttribIPointer()
534 mVertexArray->setVertexAttribBinding(context, attribIndex, bindingIndex); in setVertexAttribBinding()
787 bool isCurrentVertexArray(const VertexArray *va) const { return va == mVertexArray; } in isCurrentVertexArray()
1052 VertexArray *mVertexArray; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DContextVk.cpp545 mVertexArray(nullptr),
977 if (mVertexArray->getStreamingVertexAttribsMask().any()) in setupDraw()
980 ANGLE_TRY(mVertexArray->updateStreamedAttribs(context, firstVertexOrInvalid, in setupDraw()
1049 const gl::Buffer *elementArrayBuffer = mVertexArray->getState().getElementArrayBuffer(); in setupIndexedDraw()
1053 ANGLE_TRY(mVertexArray->convertIndexBufferCPU(this, indexType, indexCount, indices)); in setupIndexedDraw()
1085 ANGLE_TRY(mVertexArray->convertIndexBufferCPU(this, indexType, byteCount, src)); in setupIndexedDraw()
1090 ANGLE_TRY(mVertexArray->convertIndexBufferGPU(this, bufferVk, indices)); in setupIndexedDraw()
1160 ANGLE_TRY(mVertexArray->handleLineLoopIndexIndirect(this, indexType, srcIndirectBuf, in setupLineLoopIndexedIndirectDraw()
1188 ANGLE_TRY(mVertexArray->handleLineLoopIndirectDraw( in setupLineLoopIndirectDraw()
1213 ANGLE_TRY(mVertexArray->handleLineLoop(this, firstVertex, vertexOrIndexCount, in setupLineLoopDraw()
[all …]
DContextVk.h1072 VertexArrayVk *mVertexArray; variable
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DTransformFeedbackTest.cpp1660 TransformFeedbackLifetimeTest() : mVertexArray(0) {} in TransformFeedbackLifetimeTest()
1664 glGenVertexArrays(1, &mVertexArray); in testSetUp()
1665 glBindVertexArray(mVertexArray); in testSetUp()
1684 glDeleteVertexArrays(1, &mVertexArray); in testTearDown()
1688 GLuint mVertexArray; member in __anon5ba1d54b0111::TransformFeedbackLifetimeTest
1723 glDeleteVertexArrays(1, &mVertexArray); in TEST_P()
1724 mVertexArray = 0; in TEST_P()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DContextMtl.mm596 ANGLE_TRY(mVertexArray->getIndexBuffer(context, type, count, indices, &idxBuffer,
629 const std::vector<DrawCommandRange> drawCommands = mVertexArray->getDrawIndices(
1987 mVertexArray = mtl::GetImpl(glState.getVertexArray());
2025 ANGLE_TRY(mVertexArray->updateClientAttribs(context, firstVertex, vertexOrIndexCount,
2384 ANGLE_TRY(mVertexArray->setupDraw(context, &mRenderEncoder, &rppChange,
DContextMtl.h542 VertexArrayMtl *mVertexArray = nullptr; variable