Lines Matching defs:store
105 const struct gl_pixelstore_attrib *store,
109 struct pipe_resource *buf = store->BufferObj->buffer;
122 addr->image_height = store->ImageHeight > 0 ? store->ImageHeight : addr->height;
125 /* Compute the stride, taking store->Alignment into account */
127 unsigned pixels_per_row = store->RowLength > 0 ?
128 store->RowLength : addr->width;
130 unsigned remainder = bytes_per_row % store->Alignment;
134 bytes_per_row += store->Alignment - remainder;
141 offset_rows = store->SkipRows;
143 offset_rows += addr->image_height * store->SkipImages;
145 buf_offset += store->SkipPixels + addr->pixels_per_row * offset_rows;
152 if (store->Invert) {