Home | History | Annotate | Download | only in opengl

Lines Matching refs:binding

224 		const BindingPoint& binding = cur->binding;
225 if (binding.type == BindingPoint::TYPE_NAME)
227 DE_ASSERT(binding.location >= 0);
228 int location = gl.getAttribLocation(program, binding.name.c_str());
231 // Add binding.location as an offset to accommodate matrices.
232 *out = VertexArrayBinding(BindingPoint(location + binding.location), cur->pointer);
259 const BindingPoint& binding = cur->binding;
261 if (binding.type != BindingPoint::TYPE_LOCATION)
264 if (usedLocations.find(binding.location) != usedLocations.end())
267 usedLocations.insert(binding.location);
282 DE_ASSERT(va.binding.type == BindingPoint::TYPE_LOCATION);
284 layout.attributes.push_back(VertexAttributeDescriptor(va.binding.location,
391 DE_ASSERT(vertexArray.binding.type == BindingPoint::TYPE_LOCATION);
393 return VertexAttributeDescriptor(vertexArray.binding.location,
402 //! Setup VA according to allocation spec. Assumes that other state (VAO binding, buffer) is set already.
436 DE_ASSERT(vaIter->binding.type == BindingPoint::TYPE_LOCATION);
437 gl.disableVertexAttribArray(vaIter->binding.location);
577 gl.disableVertexAttribArray(vaIter->binding.location);