Lines Matching refs:binding
224 const BindingPoint& binding = cur->binding; in namedBindingsToProgramLocations() local
225 if (binding.type == BindingPoint::TYPE_NAME) in namedBindingsToProgramLocations()
227 DE_ASSERT(binding.location >= 0); in namedBindingsToProgramLocations()
228 int location = gl.getAttribLocation(program, binding.name.c_str()); in namedBindingsToProgramLocations()
232 *out = VertexArrayBinding(BindingPoint(location + binding.location), cur->pointer); in namedBindingsToProgramLocations()
259 const BindingPoint& binding = cur->binding; in areVertexArrayLocationsValid() local
261 if (binding.type != BindingPoint::TYPE_LOCATION) in areVertexArrayLocationsValid()
264 if (usedLocations.find(binding.location) != usedLocations.end()) in areVertexArrayLocationsValid()
267 usedLocations.insert(binding.location); in areVertexArrayLocationsValid()
282 DE_ASSERT(va.binding.type == BindingPoint::TYPE_LOCATION); in appendAttributeNonStrided()
284 layout.attributes.push_back(VertexAttributeDescriptor(va.binding.location, in appendAttributeNonStrided()
391 DE_ASSERT(vertexArray.binding.type == BindingPoint::TYPE_LOCATION); in getUserPointerDescriptor()
393 return VertexAttributeDescriptor(vertexArray.binding.location, in getUserPointerDescriptor()
436 DE_ASSERT(vaIter->binding.type == BindingPoint::TYPE_LOCATION); in disableVertexArrays()
437 gl.disableVertexAttribArray(vaIter->binding.location); in disableVertexArrays()
577 gl.disableVertexAttribArray(vaIter->binding.location); in drawFromBuffers()