Lines Matching refs:mVertexBuffer
59 : mFactory(factory), mVertexBuffer(factory->createVertexBuffer()), mDynamic(dynamic) in VertexBufferInterface()
64 if (mVertexBuffer) in ~VertexBufferInterface()
66 mVertexBuffer->release(); in ~VertexBufferInterface()
67 mVertexBuffer = nullptr; in ~VertexBufferInterface()
73 ASSERT(mVertexBuffer); in getSerial()
74 return mVertexBuffer->getSerial(); in getSerial()
79 ASSERT(mVertexBuffer); in getBufferSize()
80 return mVertexBuffer->getBufferSize(); in getBufferSize()
85 ASSERT(mVertexBuffer); in setBufferSize()
86 if (mVertexBuffer->getBufferSize() == 0) in setBufferSize()
88 return mVertexBuffer->initialize(context, size, mDynamic); in setBufferSize()
91 return mVertexBuffer->setBufferSize(context, size); in setBufferSize()
115 ASSERT(mVertexBuffer); in discard()
116 return mVertexBuffer->discard(context); in discard()
121 ASSERT(mVertexBuffer); in getVertexBuffer()
122 return mVertexBuffer; in getVertexBuffer()
138 if (mVertexBuffer) in reset()
140 mVertexBuffer->release(); in reset()
141 mVertexBuffer = mFactory->createVertexBuffer(); in reset()
187 ANGLE_TRY(mVertexBuffer->storeVertexAttributes(context, attrib, binding, currentValueType, in storeDynamicAttribute()
284 ANGLE_TRY(mVertexBuffer->storeVertexAttributes(context, attrib, binding, in storeStaticAttribute()
289 mVertexBuffer->hintUnmapResource(); in storeStaticAttribute()