Home
last modified time | relevance | path

Searched refs:miny (Results 1 – 25 of 63) sorted by relevance

123

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c52 GLint miny, maxy; in st_update_scissor() local
58 scissor[i].miny = 0; in st_update_scissor()
69 if (ctx->Scissor.ScissorArray[i].Y > (GLint)scissor[i].miny) in st_update_scissor()
70 scissor[i].miny = ctx->Scissor.ScissorArray[i].Y; 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()
86 miny = fb->Height - scissor[i].maxy; in st_update_scissor()
87 maxy = fb->Height - scissor[i].miny; in st_update_scissor()
88 scissor[i].miny = miny; in st_update_scissor()
124 new_rects[i].miny = MAX2(rect->Y, 0); in st_update_window_rectangles()
Dst_scissor.c47 dst_rect->miny = MAX2(src_rect->Y, 0); in st_window_rectangles_to_blit()
Dst_cb_blit.c110 blit.scissor.miny = MIN2(clip.dstY0, clip.dstY1); in st_BlitFramebuffer()
115 blit.scissor.minx,blit.scissor.miny, in st_BlitFramebuffer()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_viewport.c78 float tmp, minx, miny, maxx, maxy; in r600_get_scissor_from_viewport() local
82 miny = -vp->scale[1] + vp->translate[1]; 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()
99 if (miny > maxy) { in r600_get_scissor_from_viewport()
100 tmp = miny; in r600_get_scissor_from_viewport()
101 miny = maxy; in r600_get_scissor_from_viewport()
107 scissor->miny = miny; in r600_get_scissor_from_viewport()
118 out->miny = CLAMP(scissor->miny, 0, max_scissor); in r600_clamp_scissor()
127 out->miny = MAX2(out->miny, clip->miny); in r600_clip_scissor()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_viewport.c58 float tmp, minx, miny, maxx, maxy; in si_get_scissor_from_viewport() local
62 miny = -vp->scale[1] + vp->translate[1]; in si_get_scissor_from_viewport()
72 if (miny > maxy) { in si_get_scissor_from_viewport()
73 tmp = miny; in si_get_scissor_from_viewport()
74 miny = maxy; in si_get_scissor_from_viewport()
80 scissor->miny = miny; in si_get_scissor_from_viewport()
90 out->miny = CLAMP(scissor->miny, 0, SI_MAX_SCISSOR); in si_clamp_scissor()
99 out->miny = MAX2(out->miny, clip->miny); in si_clip_scissor()
108 out->miny = MIN2(out->miny, in->miny); in si_scissor_make_union()
121 final.minx = final.miny = 0; in si_emit_one_scissor()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_emit.c49 uint32_t minx, miny, maxx, maxy; in vc4_emit_state() local
52 miny = MAX2(vp_miny, 0); in vc4_emit_state()
57 miny = MAX2(vp_miny, vc4->scissor.miny); in vc4_emit_state()
64 clip.clip_window_bottom_pixel_coordinate = miny; in vc4_emit_state()
65 clip.clip_window_height_in_pixels = maxy - miny; in vc4_emit_state()
70 job->draw_min_y = MIN2(job->draw_min_y, miny); in vc4_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_gmem.c117 uint32_t minx, miny, width, height; in calculate_tiles() local
149 miny = 0; in calculate_tiles()
155 miny = scissor->miny & ~(gmem_alignh - 1); in calculate_tiles()
157 height = scissor->maxy - miny; in calculate_tiles()
202 gmem->miny = miny; in calculate_tiles()
264 yoff = miny; in calculate_tiles()
272 bh = MIN2(bin_h, miny + height - yoff); in calculate_tiles()
464 unsigned miny = tile->yoff; in skip_restore() local
467 (miny >= scissor->miny) && (maxy <= scissor->maxy); in skip_restore()
Dfreedreno_gmem.h58 uint16_t minx, miny; member
/external/libavc/encoder/
Dime_macros.h41 #define CLIP3(miny, maxy, y) (((y) < (miny))?(miny):(((y) > maxy)?(maxy):(y))) argument
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_priv.h132 ctx->scissor.miny = ~0; in xa_scissor_reset()
137 xa_scissor_update(struct xa_context *ctx, unsigned minx, unsigned miny, in xa_scissor_update() argument
143 ctx->scissor.miny = MIN2(ctx->scissor.miny, miny); in xa_scissor_update()
/external/libavc/common/
Dih264_macros.h75 #define CLIP3(miny, maxy, y) (((y) < (miny))?(miny):(((y) > (maxy))?(maxy):(y))) argument
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state_validate.c188 int minx, maxx, miny, maxy, i; in nv50_validate_scissor() local
215 miny = s->miny; in nv50_validate_scissor()
220 miny = 0; in nv50_validate_scissor()
226 miny = MAX2(miny, (int)(vp->translate[1] - fabsf(vp->scale[1]))); in nv50_validate_scissor()
231 miny = MIN2(miny, 8192); in nv50_validate_scissor()
236 PUSH_DATA (push, (maxy << 16) | miny); in nv50_validate_scissor()
240 PUSH_DATA (push, (s->maxy << 16) | s->miny); in nv50_validate_scissor()
304 PUSH_DATA(push, (s->maxy << 16) | s->miny); in nv50_validate_window_rects()
/external/ltp/testcases/realtime/lib/
Dlibstats.c317 int minx = 0, maxx = 0, miny = 0, maxy = 0; in stats_container_save() local
345 miny = maxy = data->records[0].y; in stats_container_save()
350 miny = MIN(miny, rec->y); in stats_container_save()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_emit.c329 uint32_t minx, miny, maxx, maxy; in v3dX() local
332 miny = MAX2(vp_miny, 0); in v3dX()
337 miny = MAX2(vp_miny, vc5->scissor.miny); in v3dX()
344 clip.clip_window_bottom_pixel_coordinate = miny; in v3dX()
346 clip.clip_window_height_in_pixels = maxy - miny; in v3dX()
350 job->draw_min_y = MIN2(job->draw_min_y, miny); in v3dX()
/external/skia/samplecode/
DSampleClip.cpp85 const SkScalar miny = -SkIntToScalar(H)/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/
DSampleClip.cpp85 const SkScalar miny = -SkIntToScalar(H)/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/
Dconvert_font.c305 int miny = min(-cursor->hoty, -mask->hoty); in reconstruct_glyph() local
310 int height = maxy - miny; in reconstruct_glyph()
316 glyph->hotspot_y = -miny; in reconstruct_glyph()
320 for (y = miny; y < maxy; ++y) { in reconstruct_glyph()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_derived.c268 sp->cliprect[i].miny = MAX2(sp->scissors[i].miny, 0); in compute_cliprect()
275 sp->cliprect[i].miny = 0; in compute_cliprect()
Dsp_setup.c134 const int miny = (int) cliprect->miny; in quad_clip() local
140 quad->input.y0 + 1 < miny) { in quad_clip()
147 if (quad->input.y0 < miny) in quad_clip()
719 const int miny = (int) cliprect->miny; in subtriangle() local
729 if (start_y < miny) in subtriangle()
730 start_y = miny; in subtriangle()
/external/freetype/src/raster/
Dftraster.c1011 Long miny, in Line_Up() argument
1024 if ( Dy <= 0 || y2 < miny || y1 > maxy ) in Line_Up()
1027 if ( y1 < miny ) in Line_Up()
1031 x1 += SMulDiv( Dx, miny - y1, Dy ); in Line_Up()
1032 e1 = (Int)TRUNC( miny ); in Line_Up()
1156 Long miny, in Line_Down() argument
1164 result = Line_Up( RAS_VARS x1, -y1, x2, -y2, -maxy, -miny ); in Line_Down()
1205 Long miny, in Bezier_Up() argument
1222 if ( y2 < miny || y1 > maxy ) in Bezier_Up()
1230 e0 = miny; in Bezier_Up()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c638 int miny = scissor->miny; in fd3_emit_state() local
649 miny = MAX2(miny, (int)floorf(vp->translate[1] - fabsf(vp->scale[1]))); in fd3_emit_state()
656 A3XX_GRAS_SC_WINDOW_SCISSOR_TL_Y(miny)); in fd3_emit_state()
661 ctx->batch->max_scissor.miny = MIN2(ctx->batch->max_scissor.miny, miny); in fd3_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_emit.c251 scissor->miny)); in fd2_emit_state()
256 ctx->batch->max_scissor.miny = MIN2(ctx->batch->max_scissor.miny, scissor->miny); in fd2_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_draw.c277 ctx->batch->max_scissor.miny = MIN2(ctx->batch->max_scissor.miny, scissor->miny); in fd5_clear()
Dfd5_emit.c578 A5XX_GRAS_SC_SCREEN_SCISSOR_TL_0_Y(scissor->miny)); in fd5_emit_state()
584 A5XX_GRAS_SC_VIEWPORT_SCISSOR_TL_0_Y(scissor->miny)); in fd5_emit_state()
589 ctx->batch->max_scissor.miny = MIN2(ctx->batch->max_scissor.miny, scissor->miny); in fd5_emit_state()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c749 rect.top = scissor->miny; in emit_scissor_rect()
759 rect.y = scissor->miny; in emit_scissor_rect()
761 rect.h = scissor->maxy - scissor->miny; /* + 1 ?? */ in emit_scissor_rect()

123