Lines Matching refs:Array
44 SingleVertexArrayUsageGroup (Context& context, Array::Usage usage);
53 Array::Usage m_usage;
56 SingleVertexArrayUsageGroup::SingleVertexArrayUsageGroup (Context& context, Array::Usage usage) in SingleVertexArrayUsageGroup()
57 …: TestCaseGroup (context, Array::usageTypeToString(usage).c_str(), Array::usageTypeToString(usage)… in SingleVertexArrayUsageGroup()
78 …Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_… in init()
86 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * 2 … in init()
87 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; in init()
88 …const std::string name = "stride" + typeToString(stride) + "_" + Array::inputTypeToString(inputTyp… in init()
91 Array::OUTPUTTYPE_VEC2, in init()
92 Array::STORAGE_BUFFER, in init()
102 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
139 …Array::Usage usages[] = { Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAM… in init()
149 SingleVertexArrayStrideGroup (Context& context, Array::InputType type);
158 Array::InputType m_type;
161 SingleVertexArrayStrideGroup::SingleVertexArrayStrideGroup (Context& context, Array::InputType type) in SingleVertexArrayStrideGroup()
162 …: TestCaseGroup (context, Array::inputTypeToString(type).c_str(), Array::inputTypeToString(type).c… in SingleVertexArrayStrideGroup()
173 Array::Storage storages[] = {Array::STORAGE_USER, Array::STORAGE_BUFFER}; in init()
185 …const bool packed = m_type == Array::INPUTTYPE_UNSIGNED_INT_2_10_10_10 || m_type == Array::INPUT… in init()
186 …const int stride = (strides[strideNdx] < 0) ? ((packed) ? (16) : (Array::inputTypeSize(m_type) *… in init()
187 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init()
188 …const bool bufferUnaligned = (storages[storageNdx] == Array::STORAGE_BUFFER) && (stride % alignmen… in init()
190 …std::string name = Array::storageToString(storages[storageNdx]) + "_stride" + typeToString(stride)… in init()
192 …if((m_type == Array::INPUTTYPE_UNSIGNED_INT_2_10_10_10 || m_type == Array::INPUTTYPE_INT_2_10_10_1… in init()
196 Array::OUTPUTTYPE_VEC4, in init()
198 Array::USAGE_DYNAMIC_DRAW, in init()
207 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
244 …Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_SHORT, /*Array::INPUTTYP… in init()
255 SingleVertexArrayFirstGroup (Context& context, Array::InputType type);
263 Array::InputType m_type;
266 SingleVertexArrayFirstGroup::SingleVertexArrayFirstGroup (Context& context, Array::InputType type) in SingleVertexArrayFirstGroup()
267 …: TestCaseGroup (context, Array::inputTypeToString(type).c_str(), Array::inputTypeToString(type).c… in SingleVertexArrayFirstGroup()
291 …const bool packed = m_type == Array::INPUTTYPE_UNSIGNED_INT_2_10_10_10 || m_type == Array::INPUT… in init()
293 …const int stride = (strides[strideNdx] < 0) ? ((packed) ? (8) : (Array::inputTypeSize(m_type) * … in init()
294 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inputT… in init()
299 Array::OUTPUTTYPE_VEC2, in init()
300 Array::STORAGE_BUFFER, in init()
301 Array::USAGE_DYNAMIC_DRAW, in init()
310 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
348 Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_INT_2_10_10_10 }; in init()
359 SingleVertexArrayOffsetGroup (Context& context, Array::InputType type);
367 Array::InputType m_type;
370 SingleVertexArrayOffsetGroup::SingleVertexArrayOffsetGroup (Context& context, Array::InputType type) in SingleVertexArrayOffsetGroup()
371 …: TestCaseGroup (context, Array::inputTypeToString(type).c_str(), Array::inputTypeToString(type).c… in SingleVertexArrayOffsetGroup()
392 …const bool packed = m_type == Array::INPUTTYPE_UNSIGNED_INT_2_10_10_10 || m_type == Array::INP… in init()
394 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(m_type) * componentCount : s… in init()
395 …const int alignment = (packed) ? (Array::inputTypeSize(m_type) * componentCount) : (Array::inpu… in init()
400 Array::OUTPUTTYPE_VEC2, in init()
401 Array::STORAGE_BUFFER, in init()
402 Array::USAGE_DYNAMIC_DRAW, in init()
411 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
448 Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_INT_2_10_10_10 }; in init()