Lines Matching refs:BufferBinding
166 mIndexedBuffers[gl::BufferBinding::Uniform].resize(rendererCaps.maxUniformBufferBindings);
167 mIndexedBuffers[gl::BufferBinding::AtomicCounter].resize(
169 mIndexedBuffers[gl::BufferBinding::ShaderStorage].resize(
297 for (auto target : angle::AllEnums<gl::BufferBinding>()) in deleteBuffer()
418 mBuffers[gl::BufferBinding::ElementArray] = vaoState ? vaoState->elementArrayBuffer : 0; in bindVertexArray()
426 void StateManagerGL::bindBuffer(gl::BufferBinding target, GLuint buffer) in bindBuffer()
431 ASSERT(target != gl::BufferBinding::TransformFeedback); in bindBuffer()
439 void StateManagerGL::bindBufferBase(gl::BufferBinding target, size_t index, GLuint buffer) in bindBufferBase()
442 ASSERT(target != gl::BufferBinding::TransformFeedback); in bindBufferBase()
457 void StateManagerGL::bindBufferRange(gl::BufferBinding target, in bindBufferRange()
464 ASSERT(target != gl::BufferBinding::TransformFeedback); in bindBufferRange()
602 bindBuffer(gl::BufferBinding::PixelUnpack, bufferID); in setPixelUnpackBuffer()
653 bindBuffer(gl::BufferBinding::PixelPack, bufferID); in setPixelPackBuffer()
772 context->getState().getTargetBuffer(gl::BufferBinding::DrawIndirect); in updateDrawIndirectBufferBinding()
776 bindBuffer(gl::BufferBinding::DrawIndirect, bufferGL->getBufferID()); in updateDrawIndirectBufferBinding()
783 context->getState().getTargetBuffer(gl::BufferBinding::DispatchIndirect); in updateDispatchIndirectBufferBinding()
787 bindBuffer(gl::BufferBinding::DispatchIndirect, bufferGL->getBufferID()); in updateDispatchIndirectBufferBinding()
959 bindBufferBase(gl::BufferBinding::ShaderStorage, binding, bufferGL->getBufferID()); in updateProgramStorageBufferBindings()
963 bindBufferRange(gl::BufferBinding::ShaderStorage, binding, bufferGL->getBufferID(), in updateProgramStorageBufferBindings()
988 bindBufferBase(gl::BufferBinding::Uniform, binding, bufferGL->getBufferID()); in updateProgramUniformBufferBindings()
992 bindBufferRange(gl::BufferBinding::Uniform, binding, bufferGL->getBufferID(), in updateProgramUniformBufferBindings()
1015 bindBufferBase(gl::BufferBinding::AtomicCounter, binding, bufferGL->getBufferID()); in updateProgramAtomicCounterBufferBindings()
1019 bindBufferRange(gl::BufferBinding::AtomicCounter, binding, bufferGL->getBufferID(), in updateProgramAtomicCounterBufferBindings()
1962 context, state.getTargetBuffer(gl::BufferBinding::PixelUnpack))); in syncState()
1969 state.getTargetBuffer(gl::BufferBinding::PixelPack))); in syncState()
2527 for (gl::BufferBinding bindingType : angle::AllEnums<gl::BufferBinding>()) in validateState()
2530 if (bindingType == gl::BufferBinding::AtomicCounter || in validateState()
2531 bindingType == gl::BufferBinding::DispatchIndirect || in validateState()
2532 bindingType == gl::BufferBinding::ShaderStorage) in validateState()
2541 if (bindingType == gl::BufferBinding::TransformFeedback) in validateState()
3097 mBuffers[gl::BufferBinding::Array] = state->vertexArrayBufferBinding; in syncBufferBindingsFromNativeContext()
3100 mBuffers[gl::BufferBinding::ElementArray] = state->elementArrayBufferBinding; in syncBufferBindingsFromNativeContext()
3106 bindBuffer(gl::BufferBinding::Array, state->vertexArrayBufferBinding); in restoreBufferBindingsNativeContext()
3107 bindBuffer(gl::BufferBinding::ElementArray, state->elementArrayBufferBinding); in restoreBufferBindingsNativeContext()
3158 mBuffers[gl::BufferBinding::ElementArray] = 0; in syncVertexArraysFromNativeContext()