Lines Matching defs:stride
80 size_t stride(const Type& type) const {
87 int stride = this->size(type.componentType());
88 if (stride > 0) {
90 stride += align - 1;
91 stride -= stride % align;
92 stride = this->roundUpIfNeeded(stride);
94 return stride;
97 SK_ABORT("type does not have a stride");
121 return type.columns() * this->stride(type);