Home
last modified time | relevance | path

Searched refs:box_array (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_fbo.c184 BoxPtr box_array; in glamor_create_fbo_array() local
193 box_array = calloc(block_wcnt * block_hcnt, sizeof(box_array[0])); in glamor_create_fbo_array()
194 if (box_array == NULL) in glamor_create_fbo_array()
199 free(box_array); in glamor_create_fbo_array()
211 box_array[i * block_wcnt + j].x1 = j * block_w; in glamor_create_fbo_array()
212 box_array[i * block_wcnt + j].y1 = block_y1; in glamor_create_fbo_array()
213 box_array[i * block_wcnt + j].x2 = in glamor_create_fbo_array()
215 box_array[i * block_wcnt + j].y2 = block_y2; in glamor_create_fbo_array()
217 box_array[i * block_wcnt + j].x2 - box_array[i * block_wcnt + in glamor_create_fbo_array()
228 priv->box = box_array[0]; in glamor_create_fbo_array()
[all …]
H A Dglamor_largepixmap.c169 BoxPtr box_array; in glamor_compute_clipped_regions_ext() local
187 box_array = &small_box; in glamor_compute_clipped_regions_ext()
210 box_array = priv->box_array; in glamor_compute_clipped_regions_ext()
221 x = box_array[clipped_regions[i].block_idx].x1; in glamor_compute_clipped_regions_ext()
222 y = box_array[clipped_regions[i].block_idx].y1; in glamor_compute_clipped_regions_ext()
223 width = box_array[clipped_regions[i].block_idx].x2 - x; in glamor_compute_clipped_regions_ext()
224 height = box_array[clipped_regions[i].block_idx].y2 - y; in glamor_compute_clipped_regions_ext()
486 repeat_box.x1 = shift_x + priv->box_array[idx].x1; in _glamor_compute_clipped_regions()
487 repeat_box.y1 = shift_y + priv->box_array[idx].y1; in _glamor_compute_clipped_regions()
493 repeat_box.x2 = shift_x + priv->box_array[idx].x2; in _glamor_compute_clipped_regions()
[all …]
H A Dglamor_priv.h402 BoxPtr box_array; member
484 priv->box = priv->box_array[idx]; in glamor_set_pixmap_fbo_current()
499 return &priv->box_array[box]; in glamor_pixmap_box_at()
H A Dglamor.c88 pixmap_priv->box_array = &pixmap_priv->box; in glamor_init_pixmap_private_small()