Home | History | Annotate | Download | only in vc4

Lines Matching refs:box

105 check_box_utile_alignment(const struct pipe_box *box, int cpp)
107 assert(!(box->x & (vc4_utile_width(cpp) - 1)));
108 assert(!(box->y & (vc4_utile_height(cpp) - 1)));
109 assert(!(box->width & (vc4_utile_width(cpp) - 1)));
110 assert(!(box->height & (vc4_utile_height(cpp) - 1)));
116 int cpp, const struct pipe_box *box)
120 uint32_t xstart = box->x;
121 uint32_t ystart = box->y;
123 for (uint32_t y = 0; y < box->height; y += utile_h) {
124 for (int x = 0; x < box->width; x += utile_w) {
137 int cpp, const struct pipe_box *box)
141 uint32_t xstart = box->x;
142 uint32_t ystart = box->y;
144 for (uint32_t y = 0; y < box->height; y += utile_h) {
145 for (int x = 0; x < box->width; x += utile_w) {
213 int cpp, const struct pipe_box *box,
224 uint32_t x1 = box->x;
225 uint32_t y1 = box->y;
226 uint32_t x2 = box->x + box->width;
227 uint32_t y2 = box->y + box->height;
272 int cpp, const struct pipe_box *box)
276 cpp, box, false);
282 int cpp, const struct pipe_box *box)
286 cpp, box, true);
290 * Loads pixel data from the start (microtile-aligned) box in \p src to the
297 const struct pipe_box *box)
299 check_box_utile_alignment(box, cpp);
304 cpp, box);
309 cpp, box);
314 * Stores pixel data from the start of \p src into a (microtile-aligned) box in
321 const struct pipe_box *box)
323 check_box_utile_alignment(box, cpp);
328 cpp, box);
333 cpp, box);