Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DVertexArray.cpp30 mElementArrayBuffer = nullptr; in ~VertexArray()
43 if(mElementArrayBuffer.name() == bufferName) in detachBuffer()
45 mElementArrayBuffer = nullptr; in detachBuffer()
82 mElementArrayBuffer = buffer; in setElementArrayBuffer()
DVertexArray.h43 Buffer *getElementArrayBuffer() const { return mElementArrayBuffer; } in getElementArrayBuffer()
48 gl::BindingPointer<Buffer> mElementArrayBuffer; variable
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DDynamicPromotionPerfTest.cpp55 GLuint mElementArrayBuffer; member in __anon22b2ba310111::DynamicPromotionPerfTest
62 mElementArrayBuffer(0), in DynamicPromotionPerfTest()
109 glGenBuffers(1, &mElementArrayBuffer); in initializeBenchmark()
112 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mElementArrayBuffer); in initializeBenchmark()
144 glDeleteBuffers(1, &mElementArrayBuffer); in destroyBenchmark()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DVertexArray.cpp32 : mElementArrayBuffer(vertexArray, kElementArrayBufferIndex) in VertexArrayState()
147 if (mState.mElementArrayBuffer.get()) in onDestroy()
151 mState.mElementArrayBuffer->onNonTFBindingChanged(-1); in onDestroy()
153 mState.mElementArrayBuffer->removeContentsObserver(this, kElementArrayBufferIndex); in onDestroy()
155 mState.mElementArrayBuffer.bind(context, nullptr); in onDestroy()
214 if (mState.mElementArrayBuffer.get() && mState.mElementArrayBuffer->id() == bufferID) in detachBuffer()
216 if (isBound && mState.mElementArrayBuffer.get()) in detachBuffer()
217 mState.mElementArrayBuffer->onNonTFBindingChanged(-1); in detachBuffer()
218 mState.mElementArrayBuffer.bind(context, nullptr); in detachBuffer()
625 if (mState.mElementArrayBuffer.get()) in onBindingChanged()
[all …]
DVertexArray.h45 Buffer *getElementArrayBuffer() const { return mElementArrayBuffer.get(); } in getElementArrayBuffer()
91 SubjectBindingPointer<Buffer> mElementArrayBuffer; variable
300 Buffer *elementArrayBuffer = mState.mElementArrayBuffer.get(); in getIndexRange()
DState.cpp246 Buffer *oldBuffer = mVertexArray->mState.mElementArrayBuffer.get(); in setGenericBufferBinding()
249 oldBuffer->removeObserver(&mVertexArray->mState.mElementArrayBuffer); in setGenericBufferBinding()
257 mVertexArray->mState.mElementArrayBuffer.assign(buffer); in setGenericBufferBinding()
260 buffer->addObserver(&mVertexArray->mState.mElementArrayBuffer); in setGenericBufferBinding()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DVertexArrayGL.h139 mutable gl::BindingPointer<gl::Buffer> mElementArrayBuffer; variable
DVertexArrayGL.cpp138 mElementArrayBuffer.set(context, nullptr); in destroy()
178 mElementArrayBuffer.set(context, elementArrayBuffer); in updateElementArrayBufferBinding()
314 mElementArrayBuffer.set(context, nullptr); in syncIndexData()