Lines Matching defs:location
43 int location;
58 : location (location_)
69 : location (0)
227 DE_ASSERT(binding.location >= 0);
228 int location = gl.getAttribLocation(program, binding.name.c_str());
229 if (location >= 0)
231 // Add binding.location as an offset to accommodate matrices.
232 *out = VertexArrayBinding(BindingPoint(location + binding.location), cur->pointer);
264 if (usedLocations.find(binding.location) != usedLocations.end())
267 usedLocations.insert(binding.location);
281 // Must be assigned to location at this point.
284 layout.attributes.push_back(VertexAttributeDescriptor(va.binding.location,
393 return VertexAttributeDescriptor(vertexArray.binding.location,
413 gl.enableVertexAttribArray(va.location);
416 gl.vertexAttribIPointer(va.location, va.numComponents, compTypeGL, va.stride, va.pointer);
418 gl.vertexAttribPointer(va.location, va.numComponents, compTypeGL, va.convert == VTX_COMP_CONVERT_NORMALIZE_TO_FLOAT ? GL_TRUE : GL_FALSE, va.stride, va.pointer);
437 gl.disableVertexAttribArray(vaIter->binding.location);
577 gl.disableVertexAttribArray(vaIter->binding.location);