Lines Matching refs:boundBuffer
301 Buffer *boundBuffer, in bindVertexBufferImpl() argument
312 const bool sameBuffer = oldBuffer == boundBuffer; in bindVertexBufferImpl()
322 observer->assignSubject(boundBuffer); in bindVertexBufferImpl()
332 binding->assignBuffer(boundBuffer); in bindVertexBufferImpl()
338 if (boundBuffer) in bindVertexBufferImpl()
340 boundBuffer->addRef(); in bindVertexBufferImpl()
341 boundBuffer->onNonTFBindingChanged(1); in bindVertexBufferImpl()
342 boundBuffer->addObserver(observer); in bindVertexBufferImpl()
344 bindingIndex, boundBuffer->isBoundForTransformFeedbackAndOtherUse()); in bindVertexBufferImpl()
347 bool isMapped = boundBuffer->isMapped() == GL_TRUE; in bindVertexBufferImpl()
348 bool isImmutable = boundBuffer->isImmutable() == GL_TRUE; in bindVertexBufferImpl()
349 bool isPersistent = (boundBuffer->getAccessFlags() & GL_MAP_PERSISTENT_BIT_EXT) != 0; in bindVertexBufferImpl()
365 Buffer *boundBuffer, in bindVertexBuffer() argument
369 if (bindVertexBufferImpl(context, bindingIndex, boundBuffer, offset, stride)) in bindVertexBuffer()
488 Buffer *boundBuffer, in setVertexAttribPointerImpl() argument
520 if ((boundBuffer == nullptr) != (binding.getBuffer().get() == nullptr)) in setVertexAttribPointerImpl()
528 GLintptr offset = boundBuffer ? reinterpret_cast<GLintptr>(pointer) : 0; in setVertexAttribPointerImpl()
530 bindVertexBufferImpl(context, attribIndex, boundBuffer, offset, effectiveStride); in setVertexAttribPointerImpl()
542 boundBuffer == nullptr && pointer == nullptr); in setVertexAttribPointerImpl()
547 gl::Buffer *boundBuffer, in setVertexAttribPointer() argument
554 setVertexAttribPointerImpl(context, ComponentType::Float, false, attribIndex, boundBuffer, size, in setVertexAttribPointer()
560 gl::Buffer *boundBuffer, in setVertexAttribIPointer() argument
567 setVertexAttribPointerImpl(context, componentType, true, attribIndex, boundBuffer, size, type, in setVertexAttribIPointer()