Lines Matching refs:Array
73 …Array::Usage usages[] = {Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAMI… in init()
76 …Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_… in init()
87 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * co… in init()
88 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; in init()
90 Array::OUTPUTTYPE_VEC2, in init()
91 Array::STORAGE_BUFFER, in init()
101 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
141 …Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_SHORT, Array::INPUTTYPE_… in init()
142 Array::Storage storages[] = {Array::STORAGE_BUFFER}; in init()
156 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * co… in init()
157 …const bool bufferUnaligned = (storages[storageNdx] == Array::STORAGE_BUFFER) && (stride % Array::i… in init()
160 Array::OUTPUTTYPE_VEC4, in init()
162 Array::USAGE_DYNAMIC_DRAW, in init()
171 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
211 …Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_BYTE, Array::INPUTTYPE_F… in init()
227 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * 2 : … in init()
228 …const bool aligned = ((stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0) && (offsets[… in init()
231 Array::OUTPUTTYPE_VEC2, in init()
232 Array::STORAGE_BUFFER, in init()
233 Array::USAGE_DYNAMIC_DRAW, in init()
242 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
247 …std::string name = Array::inputTypeToString(inputTypes[inputTypeNdx]) + "_first" + typeToString(fi… in init()
282 …Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_BYTE, Array::INPUTTYPE_F… in init()
295 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * 2 : … in init()
296 …const bool aligned = ((stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0) && ((offsets… 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()