/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_viewport.c | 78 float tmp, minx, miny, maxx, maxy; in r600_get_scissor_from_viewport() local 81 minx = -vp->scale[0] + vp->translate[0]; in r600_get_scissor_from_viewport() 87 if (minx == -1 && miny == -1 && maxx == 1 && maxy == 1) { in r600_get_scissor_from_viewport() 88 scissor->minx = scissor->miny = 0; in r600_get_scissor_from_viewport() 94 if (minx > maxx) { in r600_get_scissor_from_viewport() 95 tmp = minx; in r600_get_scissor_from_viewport() 96 minx = maxx; in r600_get_scissor_from_viewport() 106 scissor->minx = minx; in r600_get_scissor_from_viewport() 117 out->minx = CLAMP(scissor->minx, 0, max_scissor); in r600_clamp_scissor() 126 out->minx = MAX2(out->minx, clip->minx); in r600_clip_scissor() [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_viewport.c | 58 float tmp, minx, miny, maxx, maxy; in si_get_scissor_from_viewport() local 61 minx = -vp->scale[0] + vp->translate[0]; in si_get_scissor_from_viewport() 67 if (minx > maxx) { in si_get_scissor_from_viewport() 68 tmp = minx; in si_get_scissor_from_viewport() 69 minx = maxx; in si_get_scissor_from_viewport() 79 scissor->minx = minx; in si_get_scissor_from_viewport() 89 out->minx = CLAMP(scissor->minx, 0, SI_MAX_SCISSOR); in si_clamp_scissor() 98 out->minx = MAX2(out->minx, clip->minx); in si_clip_scissor() 107 out->minx = MIN2(out->minx, in->minx); in si_scissor_make_union() 121 final.minx = final.miny = 0; in si_emit_one_scissor() [all …]
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_emit.c | 49 uint32_t minx, miny, maxx, maxy; in vc4_emit_state() local 51 minx = MAX2(vp_minx, 0); in vc4_emit_state() 56 minx = MAX2(vp_minx, vc4->scissor.minx); in vc4_emit_state() 63 clip.clip_window_left_pixel_coordinate = minx; in vc4_emit_state() 66 clip.clip_window_width_in_pixels = maxx - minx; in vc4_emit_state() 69 job->draw_min_x = MIN2(job->draw_min_x, minx); in vc4_emit_state()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_scissor.c | 57 scissor[i].minx = 0; in st_update_scissor() 67 if (ctx->Scissor.ScissorArray[i].X > (GLint)scissor[i].minx) in st_update_scissor() 68 scissor[i].minx = ctx->Scissor.ScissorArray[i].X; in st_update_scissor() 78 if (scissor[i].minx >= scissor[i].maxx || scissor[i].miny >= scissor[i].maxy) in st_update_scissor() 79 scissor[i].minx = scissor[i].miny = scissor[i].maxx = scissor[i].maxy = 0; in st_update_scissor() 123 new_rects[i].minx = MAX2(rect->X, 0); in st_update_window_rectangles()
|
D | st_scissor.c | 46 dst_rect->minx = MAX2(src_rect->X, 0); in st_window_rectangles_to_blit()
|
D | st_cb_blit.c | 109 blit.scissor.minx = MIN2(clip.dstX0, clip.dstX1); in st_BlitFramebuffer() 115 blit.scissor.minx,blit.scissor.miny, in st_BlitFramebuffer()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_gmem.c | 117 uint32_t minx, miny, width, height; in calculate_tiles() local 148 minx = 0; in calculate_tiles() 154 minx = scissor->minx & ~(gmem_alignw - 1); in calculate_tiles() 156 width = scissor->maxx - minx; in calculate_tiles() 201 gmem->minx = minx; in calculate_tiles() 269 xoff = minx; in calculate_tiles() 284 bw = MIN2(bin_w, minx + width - xoff); in calculate_tiles() 462 unsigned minx = tile->xoff; in skip_restore() local 466 return (minx >= scissor->minx) && (maxx <= scissor->maxx) && in skip_restore()
|
D | freedreno_gmem.h | 58 uint16_t minx, miny; member
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_priv.h | 131 ctx->scissor.minx = ~0; in xa_scissor_reset() 137 xa_scissor_update(struct xa_context *ctx, unsigned minx, unsigned miny, in xa_scissor_update() argument 142 ctx->scissor.minx = MIN2(ctx->scissor.minx, minx); in xa_scissor_update()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_state_validate.c | 188 int minx, maxx, miny, maxy, i; in nv50_validate_scissor() local 213 minx = s->minx; in nv50_validate_scissor() 218 minx = 0; in nv50_validate_scissor() 224 minx = MAX2(minx, (int)(vp->translate[0] - fabsf(vp->scale[0]))); in nv50_validate_scissor() 229 minx = MIN2(minx, 8192); in nv50_validate_scissor() 235 PUSH_DATA (push, (maxx << 16) | minx); in nv50_validate_scissor() 239 PUSH_DATA (push, (s->maxx << 16) | s->minx); in nv50_validate_scissor() 303 PUSH_DATA(push, (s->maxx << 16) | s->minx); in nv50_validate_window_rects()
|
D | nv50_surface.c | 1347 int32_t minx, maxx, miny, maxy; in nv50_blit_3d() local 1419 minx = info->dst.box.x; in nv50_blit_3d() 1424 minx = MAX2(minx, info->scissor.minx); in nv50_blit_3d() 1430 PUSH_DATA (push, (maxx << 16) | minx); in nv50_blit_3d() 1512 PUSH_DATA (push, info->scissor.minx << dst->ms_x); in nv50_blit_eng2d() 1514 PUSH_DATA (push, (info->scissor.maxx - info->scissor.minx) << dst->ms_x); in nv50_blit_eng2d()
|
/external/fonttools/Lib/fontTools/cffLib/ |
D | width.py | 22 minx, maxx = keys[0], keys[-1] 28 domain = range(maxx, minx - 1, -1) 30 missing = lambda x: start if x < minx else total 31 domain = range(minx, maxx + 1)
|
/external/ltp/testcases/realtime/lib/ |
D | libstats.c | 317 int minx = 0, maxx = 0, miny = 0, maxy = 0; in stats_container_save() local 344 minx = maxx = data->records[0].x; in stats_container_save() 348 minx = MIN(minx, rec->x); in stats_container_save()
|
/external/mesa3d/src/gallium/drivers/vc5/ |
D | vc5_emit.c | 329 uint32_t minx, miny, maxx, maxy; in v3dX() local 331 minx = MAX2(vp_minx, 0); in v3dX() 336 minx = MAX2(vp_minx, vc5->scissor.minx); in v3dX() 343 clip.clip_window_left_pixel_coordinate = minx; in v3dX() 345 clip.clip_window_width_in_pixels = maxx - minx; in v3dX() 349 job->draw_min_x = MIN2(job->draw_min_x, minx); in v3dX()
|
/external/skia/samplecode/ |
D | SampleClip.cpp | 83 const SkScalar minx = -SkIntToScalar(W)/4; in show_stroke() local 88 canvas->drawLine(randRange(rand, minx, maxx), randRange(rand, miny, maxy), in show_stroke() 89 randRange(rand, minx, maxx), randRange(rand, miny, maxy), in show_stroke()
|
/external/skqp/samplecode/ |
D | SampleClip.cpp | 83 const SkScalar minx = -SkIntToScalar(W)/4; in show_stroke() local 88 canvas->drawLine(randRange(rand, minx, maxx), randRange(rand, miny, maxy), in show_stroke() 89 randRange(rand, minx, maxx), randRange(rand, miny, maxy), in show_stroke()
|
/external/wayland/cursor/ |
D | convert_font.c | 302 int minx = min(-cursor->hotx, -mask->hotx); in reconstruct_glyph() local 309 int width = maxx - minx; in reconstruct_glyph() 315 glyph->hotspot_x = -minx; in reconstruct_glyph() 321 for (x = minx; x < maxx; ++x) { in reconstruct_glyph()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_derived.c | 267 sp->cliprect[i].minx = MAX2(sp->scissors[i].minx, 0); in compute_cliprect() 274 sp->cliprect[i].minx = 0; in compute_cliprect()
|
D | sp_setup.c | 132 const int minx = (int) cliprect->minx; in quad_clip() local 139 quad->input.x0 + 1 < minx || in quad_clip() 145 if (quad->input.x0 < minx) in quad_clip() 717 const int minx = (int) cliprect->minx; in subtriangle() local 755 if (left < minx) in subtriangle() 756 left = minx; in subtriangle()
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_emit.c | 637 int minx = scissor->minx; in fd3_emit_state() local 648 minx = MAX2(minx, (int)floorf(vp->translate[0] - fabsf(vp->scale[0]))); in fd3_emit_state() 655 OUT_RING(ring, A3XX_GRAS_SC_WINDOW_SCISSOR_TL_X(minx) | in fd3_emit_state() 660 ctx->batch->max_scissor.minx = MIN2(ctx->batch->max_scissor.minx, minx); in fd3_emit_state()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_emit.c | 250 OUT_RING(ring, xy2d(scissor->minx, /* PA_SC_WINDOW_SCISSOR_TL */ in fd2_emit_state() 255 ctx->batch->max_scissor.minx = MIN2(ctx->batch->max_scissor.minx, scissor->minx); in fd2_emit_state()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_draw.c | 276 ctx->batch->max_scissor.minx = MIN2(ctx->batch->max_scissor.minx, scissor->minx); in fd5_clear()
|
D | fd5_emit.c | 577 OUT_RING(ring, A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_X(scissor->minx) | in fd5_emit_state() 583 OUT_RING(ring, A5XX_GRAS_SC_VIEWPORT_SCISSOR_TL_0_X(scissor->minx) | in fd5_emit_state() 588 ctx->batch->max_scissor.minx = MIN2(ctx->batch->max_scissor.minx, scissor->minx); in fd5_emit_state()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_framebuffer.c | 748 rect.left = scissor->minx; in emit_scissor_rect() 758 rect.x = scissor->minx; in emit_scissor_rect() 760 rect.w = scissor->maxx - scissor->minx; /* + 1 ?? */ in emit_scissor_rect()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_surface.c | 1207 int32_t minx, maxx, miny, maxy; in nvc0_blit_3d() local 1276 minx = info->dst.box.x; in nvc0_blit_3d() 1281 minx = MAX2(minx, info->scissor.minx); in nvc0_blit_3d() 1287 PUSH_DATA (push, (maxx << 16) | minx); in nvc0_blit_3d() 1422 PUSH_DATA (push, info->scissor.minx << dst->ms_x); in nvc0_blit_eng2d() 1424 PUSH_DATA (push, (info->scissor.maxx - info->scissor.minx) << dst->ms_x); in nvc0_blit_eng2d()
|