• Home
  • Raw
  • Download

Lines Matching refs:clr

221    struct blt_clear_op clr = {};  in etna_blit_clear_color_blt()  local
222 clr.dest.addr.bo = res->bo; in etna_blit_clear_color_blt()
223 clr.dest.addr.offset = surf->surf.offset; in etna_blit_clear_color_blt()
224 clr.dest.addr.flags = ETNA_RELOC_WRITE; in etna_blit_clear_color_blt()
225 clr.dest.bpp = util_format_get_blocksize(surf->base.format); in etna_blit_clear_color_blt()
226 clr.dest.stride = surf->surf.stride; in etna_blit_clear_color_blt()
227 clr.dest.tiling = res->layout; in etna_blit_clear_color_blt()
230 clr.dest.use_ts = 1; in etna_blit_clear_color_blt()
231 clr.dest.ts_addr.bo = res->ts_bo; in etna_blit_clear_color_blt()
232 clr.dest.ts_addr.offset = surf->level->ts_offset; in etna_blit_clear_color_blt()
233 clr.dest.ts_addr.flags = ETNA_RELOC_WRITE; in etna_blit_clear_color_blt()
234 clr.dest.ts_clear_value[0] = new_clear_value; in etna_blit_clear_color_blt()
235 clr.dest.ts_clear_value[1] = new_clear_value >> 32; in etna_blit_clear_color_blt()
236 clr.dest.ts_mode = surf->level->ts_mode; in etna_blit_clear_color_blt()
237 clr.dest.ts_compress_fmt = surf->level->ts_compress_fmt; in etna_blit_clear_color_blt()
240 clr.clear_value[0] = new_clear_value; in etna_blit_clear_color_blt()
241 clr.clear_value[1] = new_clear_value >> 32; in etna_blit_clear_color_blt()
242 clr.clear_bits[0] = 0xffffffff; /* TODO: Might want to clear only specific channels? */ in etna_blit_clear_color_blt()
243 clr.clear_bits[1] = 0xffffffff; in etna_blit_clear_color_blt()
244 clr.rect_x = 0; /* What about scissors? */ in etna_blit_clear_color_blt()
245 clr.rect_y = 0; in etna_blit_clear_color_blt()
246 clr.rect_w = surf->surf.width; in etna_blit_clear_color_blt()
247 clr.rect_h = surf->surf.height; in etna_blit_clear_color_blt()
249 emit_blt_clearimage(ctx->stream, &clr); in etna_blit_clear_color_blt()
300 struct blt_clear_op clr = {}; in etna_blit_clear_zs_blt() local
301 clr.dest.addr.bo = res->bo; in etna_blit_clear_zs_blt()
302 clr.dest.addr.offset = surf->surf.offset; in etna_blit_clear_zs_blt()
303 clr.dest.addr.flags = ETNA_RELOC_WRITE; in etna_blit_clear_zs_blt()
304 clr.dest.bpp = util_format_get_blocksize(surf->base.format); in etna_blit_clear_zs_blt()
305 clr.dest.stride = surf->surf.stride; in etna_blit_clear_zs_blt()
306 clr.dest.tiling = res->layout; in etna_blit_clear_zs_blt()
309 clr.dest.use_ts = 1; in etna_blit_clear_zs_blt()
310 clr.dest.ts_addr.bo = res->ts_bo; in etna_blit_clear_zs_blt()
311 clr.dest.ts_addr.offset = surf->level->ts_offset; in etna_blit_clear_zs_blt()
312 clr.dest.ts_addr.flags = ETNA_RELOC_WRITE; in etna_blit_clear_zs_blt()
313 clr.dest.ts_clear_value[0] = surf->level->clear_value; in etna_blit_clear_zs_blt()
314 clr.dest.ts_clear_value[1] = surf->level->clear_value; in etna_blit_clear_zs_blt()
315 clr.dest.ts_mode = surf->level->ts_mode; in etna_blit_clear_zs_blt()
316 clr.dest.ts_compress_fmt = surf->level->ts_compress_fmt; in etna_blit_clear_zs_blt()
319 clr.clear_value[0] = new_clear_value; in etna_blit_clear_zs_blt()
320 clr.clear_value[1] = new_clear_value; in etna_blit_clear_zs_blt()
321 clr.clear_bits[0] = new_clear_bits; in etna_blit_clear_zs_blt()
322 clr.clear_bits[1] = new_clear_bits; in etna_blit_clear_zs_blt()
323 clr.rect_x = 0; /* What about scissors? */ in etna_blit_clear_zs_blt()
324 clr.rect_y = 0; in etna_blit_clear_zs_blt()
325 clr.rect_w = surf->surf.width; in etna_blit_clear_zs_blt()
326 clr.rect_h = surf->surf.height; in etna_blit_clear_zs_blt()
328 emit_blt_clearimage(ctx->stream, &clr); in etna_blit_clear_zs_blt()