• Home
  • Raw
  • Download

Lines Matching refs:cscissor

57    struct pipe_scissor_state *cscissor = &ctx->clipped_scissor;  in lima_clip_scissor_to_viewport()  local
62 cscissor->minx = scissor->minx; in lima_clip_scissor_to_viewport()
63 cscissor->maxx = scissor->maxx; in lima_clip_scissor_to_viewport()
64 cscissor->miny = scissor->miny; in lima_clip_scissor_to_viewport()
65 cscissor->maxy = scissor->maxy; in lima_clip_scissor_to_viewport()
67 cscissor->minx = 0; in lima_clip_scissor_to_viewport()
68 cscissor->maxx = fb->base.width; in lima_clip_scissor_to_viewport()
69 cscissor->miny = 0; in lima_clip_scissor_to_viewport()
70 cscissor->maxy = fb->base.height; in lima_clip_scissor_to_viewport()
74 cscissor->minx = MAX2(cscissor->minx, viewport_left); in lima_clip_scissor_to_viewport()
76 cscissor->maxx = MIN2(cscissor->maxx, viewport_right); in lima_clip_scissor_to_viewport()
77 if (cscissor->minx > cscissor->maxx) in lima_clip_scissor_to_viewport()
78 cscissor->minx = cscissor->maxx; in lima_clip_scissor_to_viewport()
81 cscissor->miny = MAX2(cscissor->miny, viewport_bottom); in lima_clip_scissor_to_viewport()
83 cscissor->maxy = MIN2(cscissor->maxy, viewport_top); in lima_clip_scissor_to_viewport()
84 if (cscissor->miny > cscissor->maxy) in lima_clip_scissor_to_viewport()
85 cscissor->miny = cscissor->maxy; in lima_clip_scissor_to_viewport()
117 struct pipe_scissor_state *cscissor = &ctx->clipped_scissor; in lima_is_scissor_zero() local
119 return cscissor->minx == cscissor->maxx || cscissor->miny == cscissor->maxy; in lima_is_scissor_zero()
341 struct pipe_scissor_state *cscissor = &ctx->clipped_scissor; in lima_pack_plbu_cmd() local
384 assert(cscissor->minx < cscissor->maxx && cscissor->miny < cscissor->maxy); in lima_pack_plbu_cmd()
385 PLBU_CMD_SCISSORS(cscissor->minx, cscissor->maxx, cscissor->miny, cscissor->maxy); in lima_pack_plbu_cmd()
387 lima_damage_rect_union(&job->damage_rect, cscissor->minx, cscissor->maxx, in lima_pack_plbu_cmd()
388 cscissor->miny, cscissor->maxy); in lima_pack_plbu_cmd()