Lines Matching defs:size

173 	static const int size[] =
192 return de::getSizedArrayElement<Array::INPUTTYPE_LAST>(size, (int)type);
426 void ContextArray::data (Target target, int size, const char* ptr, Usage usage)
428 m_size = size;
436 m_ctx.bufferData(targetToGL(target), size, ptr, usageToGL(usage));
444 m_data = new char[size];
445 std::memcpy(m_data, ptr, size);
451 void ContextArray::subdata (Target target, int offset, int size, const char* ptr)
460 m_ctx.bufferSubData(targetToGL(target), offset, size, ptr);
464 std::memcpy(m_data + offset, ptr, size);
469 void ContextArray::bind (int attribNdx, int offset, int size, InputType inputType, OutputType outType, bool normalized, int stride)
473 m_componentCount = size;
675 return (int)m_arrays.size();
705 , m_componentCount (arrays.size())
706 , m_attrType (arrays.size())
708 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++)
775 for (int attribNdx = 0; attribNdx < (int)m_attrType.size(); attribNdx++)
850 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++)
866 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++)
1064 for (int arrayNdx = 0; arrayNdx < (int)arrays.size(); arrayNdx++)
1110 for (int arrayNdx = 0; arrayNdx < (int)m_arrays.size(); arrayNdx++)
1129 for (int arrayNdx = 0; arrayNdx < (int)m_arrays.size(); arrayNdx++)
1854 for (size_t ndx = 0; ndx < arrays.size(); ++ndx)
1858 if (arrays.size() > 1)
1901 for (size_t ndx = 0; ndx < arrays.size(); ++ndx)
1990 for (int arrayNdx = 1; arrayNdx < (int)m_spec.arrays.size(); arrayNdx++)
2001 for (int arrayNdx = 0; arrayNdx < (int)m_spec.arrays.size(); arrayNdx++)
2100 // Buffer offsets should be data type size aligned
2101 for (size_t i = 0; i < m_spec.arrays.size(); ++i)
2121 // Buffer strides should be data type size aligned
2122 for (size_t i = 0; i < m_spec.arrays.size(); ++i)