/external/mesa3d/src/gallium/drivers/freedreno/ |
D | gmemtool.c | 36 …{ .minx=0, .miny=0, .width=1536, .height=2048, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {1,0,0… 38 …{ .minx=0, .miny=0, .width=1920, .height=1080, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0… 39 …{ .minx=0, .miny=0, .width=1920, .height=1080, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0… 47 …{ .minx=0, .miny=0, .width=1920, .height=1080, .gmem_page_align=1, .nr_cbufs=4, .cbuf_cpp = {4,4,4… 49 …{ .minx=0, .miny=0, .width=1024, .height=1024, .gmem_page_align=1, .nr_cbufs=0, .cbuf_cpp = {0,0,0… 50 …{ .minx=0, .miny=0, .width=1920, .height=1080, .gmem_page_align=1, .nr_cbufs=0, .cbuf_cpp = {0,0,0… 51 …{ .minx=0, .miny=0, .width=960, .height=540, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0,0… 52 …{ .minx=0, .miny=0, .width=480, .height=270, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0,0… 57 …{ .minx=0, .miny=0, .width=1920, .height=1080, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0… 58 …{ .minx=0, .miny=0, .width=1920, .height=1080, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0… [all …]
|
D | freedreno_gmem.c | 92 uint16_t minx, miny; member 119 key->minx, key->miny, key->width, key->height); in dump_gmem_key() 296 gmem->miny = key->miny; in gmem_stateobj_init() 380 yoff = key->miny; in gmem_stateobj_init() 388 bh = MIN2(gmem->bin_h, key->miny + key->height - yoff); in gmem_stateobj_init() 489 key->miny = 0; in gmem_key_init() 497 scissor->miny = 0; in gmem_key_init() 504 key->miny = scissor->miny & ~(screen->info.gmem_align_h - 1); in gmem_key_init() 506 key->height = scissor->maxy - key->miny; in gmem_key_init()
|
D | freedreno_state.c | 264 ctx->disabled_scissor.miny = 0; in fd_set_framebuffer_state() 300 float minx, miny, maxx, maxy; in fd_set_viewport_states() local 308 miny = -viewport->scale[1] + viewport->translate[1]; in fd_set_viewport_states() 316 if (miny > maxy) { in fd_set_viewport_states() 317 swap(miny, maxy); in fd_set_viewport_states() 320 debug_assert(miny >= 0); in fd_set_viewport_states() 325 scissor->miny = miny; in fd_set_viewport_states()
|
/external/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_partial_update.c | 29 pan_make_rect(unsigned minx, unsigned miny, unsigned maxx, unsigned maxy) in pan_make_rect() argument 33 .miny = miny, in pan_make_rect() 55 unsigned miny = MAX2(r->miny, clip->miny); in pan_clip_rect() local 57 unsigned maxy = MAX2(MIN2(r->maxy, clip->maxy), miny); in pan_clip_rect() 59 return pan_make_rect(minx, miny, maxx, maxy); in pan_clip_rect() 73 out[0] = pan_make_rect(r->minx, r->miny, dc.minx, r->maxy); in pan_subtract_from_rect() 74 out[1] = pan_make_rect(dc.minx, r->miny, dc.maxx, dc.miny); in pan_subtract_from_rect() 75 out[2] = pan_make_rect(dc.maxx, r->miny, r->maxx, r->maxy); in pan_subtract_from_rect() 102 if (temp[i].maxy <= temp[i].miny) continue; in pan_subtract_from_rects()
|
D | pan_job.h | 89 unsigned minx, miny; member 196 unsigned minx, unsigned miny, 201 unsigned minx, unsigned miny,
|
D | pan_job.c | 113 batch->minx = batch->miny = ~0; in panfrost_create_batch() 773 unsigned damage_height = (rsrc->damage.extent.maxy - rsrc->damage.extent.miny); in panfrost_load_surface() 778 rsrc->damage.extent.miny, in panfrost_load_surface() 851 r.minx, rsrc->base.height0 - r.miny, 0.0, 1.0, in panfrost_load_surface() 852 r.maxx, rsrc->base.height0 - r.miny, 0.0, 1.0, in panfrost_load_surface() 855 r.maxx, rsrc->base.height0 - r.miny, 0.0, 1.0, in panfrost_load_surface() 1365 unsigned minx, unsigned miny, in panfrost_batch_union_scissor() argument 1369 batch->miny = MIN2(batch->miny, miny); in panfrost_batch_union_scissor() 1376 unsigned minx, unsigned miny, in panfrost_batch_intersection_scissor() argument 1380 batch->miny = MAX2(batch->miny, miny); in panfrost_batch_intersection_scissor()
|
D | pan_fragment.c | 90 assert(batch->maxy > batch->miny); in panfrost_fragment_job() 103 payload.bound_min_y = batch->miny >> MALI_TILE_SHIFT; in panfrost_fragment_job()
|
D | pan_partial_update.h | 37 unsigned minx, miny; member
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_scissor.c | 53 GLint miny, maxy; in st_update_scissor() local 62 scissor[i].miny = 0; in st_update_scissor() 73 if (ctx->Scissor.ScissorArray[i].Y > (GLint)scissor[i].miny) in st_update_scissor() 74 scissor[i].miny = ctx->Scissor.ScissorArray[i].Y; in st_update_scissor() 82 if (scissor[i].minx >= scissor[i].maxx || scissor[i].miny >= scissor[i].maxy) in st_update_scissor() 83 scissor[i].minx = scissor[i].miny = scissor[i].maxx = scissor[i].maxy = 0; in st_update_scissor() 90 miny = fb->Height - scissor[i].maxy; in st_update_scissor() 91 maxy = fb->Height - scissor[i].miny; in st_update_scissor() 92 scissor[i].miny = miny; in st_update_scissor() 128 new_rects[i].miny = MAX2(rect->Y, 0); in st_update_window_rectangles()
|
D | st_cb_clear.c | 519 .miny = MAX2(scissor->Y, 0), in st_Clear() 531 GLint miny, maxy; in st_Clear() local 532 miny = fb->Height - scissor_state.maxy; in st_Clear() 533 maxy = fb->Height - scissor_state.miny; in st_Clear() 534 scissor_state.miny = MAX2(miny, 0); in st_Clear()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_viewport.c | 78 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/vc4/ |
D | vc4_emit.c | 49 uint32_t minx, miny, maxx, maxy; in vc4_emit_state() local 52 miny = MAX2(vp_miny, 0); in vc4_emit_state() 54 maxy = MAX2(MIN2(vp_maxy, job->draw_height), miny); in vc4_emit_state() 57 miny = MAX2(vp_miny, vc4->scissor.miny); in vc4_emit_state() 59 maxy = MAX2(MIN2(vp_maxy, vc4->scissor.maxy), 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/radeonsi/ |
D | si_state_viewport.c | 147 float tmp, minx, miny, maxx, maxy; in si_get_scissor_from_viewport() local 151 miny = -vp->scale[1] + vp->translate[1]; in si_get_scissor_from_viewport() 161 if (miny > maxy) { in si_get_scissor_from_viewport() 162 tmp = miny; in si_get_scissor_from_viewport() 163 miny = maxy; in si_get_scissor_from_viewport() 169 scissor->miny = miny; in si_get_scissor_from_viewport() 178 out->miny = CLAMP(scissor->miny, 0, SI_MAX_SCISSOR); in si_clamp_scissor() 186 out->miny = MAX2(out->miny, clip->miny); in si_clip_scissor() 194 out->miny = MIN2(out->miny, in->miny); in si_scissor_make_union() 207 final.minx = final.miny = 0; in si_emit_one_scissor() [all …]
|
/external/libavc/encoder/ |
D | ime_macros.h | 41 #define CLIP3(miny, maxy, y) (((y) < (miny))?(miny):(((y) > maxy)?(maxy):(y))) argument
|
/external/mesa3d/src/gallium/frontends/xa/ |
D | xa_priv.h | 131 ctx->scissor.miny = ~0; in xa_scissor_reset() 136 xa_scissor_update(struct xa_context *ctx, unsigned minx, unsigned miny, in xa_scissor_update() argument 142 ctx->scissor.miny = MIN2(ctx->scissor.miny, miny); in xa_scissor_update()
|
/external/libavc/common/ |
D | ih264_macros.h | 75 #define CLIP3(miny, maxy, y) (((y) < (miny))?(miny):(((y) > (maxy))?(maxy):(y))) argument
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_state_validate.c | 188 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/mesa3d/src/gallium/drivers/lima/ |
D | lima_draw.c | 63 cscissor->miny = scissor->miny; in lima_clip_scissor_to_viewport() 68 cscissor->miny = 0; in lima_clip_scissor_to_viewport() 80 cscissor->miny = MAX2(cscissor->miny, viewport_bottom); in lima_clip_scissor_to_viewport() 83 if (cscissor->miny > cscissor->maxy) in lima_clip_scissor_to_viewport() 84 cscissor->miny = cscissor->maxy; in lima_clip_scissor_to_viewport() 92 return cscissor->minx == cscissor->maxx || cscissor->miny == cscissor->maxy; in lima_is_scissor_zero() 125 unsigned miny, unsigned maxy) in lima_damage_rect_union() argument 128 rect->miny = MIN2(rect->miny, miny); in lima_damage_rect_union() 362 assert(cscissor->minx < cscissor->maxx && cscissor->miny < cscissor->maxy); in lima_pack_plbu_cmd() 363 PLBU_CMD_SCISSORS(cscissor->minx, cscissor->maxx, cscissor->miny, cscissor->maxy); in lima_pack_plbu_cmd() [all …]
|
D | lima_job.c | 100 s->damage_rect.minx = s->damage_rect.miny = 0xffff; in lima_job_create() 635 bound.miny = MAX2(dbound->miny, dr->miny >> 4); in lima_update_damage_pp_stream() 640 bound.miny = dr->miny >> 4; in lima_update_damage_pp_stream() 647 bound.miny = MIN2(bound.miny, fb->tiled_h); in lima_update_damage_pp_stream() 654 .miny = bound.miny, in lima_update_damage_pp_stream() 690 s->key.miny = bound.miny; in lima_update_damage_pp_stream() 698 int tiled_h = bound.maxy - bound.miny; in lima_update_damage_pp_stream() 708 lima_generate_pp_stream(job, bound.minx, bound.miny, tiled_w, tiled_h); in lima_update_damage_pp_stream() 723 dr->miny == 0 && in lima_damage_fullscreen()
|
/external/skqp/samplecode/ |
D | SampleClip.cpp | 85 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/ltp/testcases/realtime/lib/ |
D | libstats.c | 317 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/v3d/ |
D | v3dx_emit.c | 437 uint32_t minx, miny, maxx, maxy; in v3dX() local 440 miny = MAX2(vp_miny, 0); in v3dX() 445 miny = MAX2(vp_miny, v3d->scissor.miny); in v3dX() 452 clip.clip_window_bottom_pixel_coordinate = miny; in v3dX() 453 if (maxx > minx && maxy > miny) { in v3dX() 455 clip.clip_window_height_in_pixels = maxy - miny; in v3dX() 468 job->draw_min_y = MIN2(job->draw_min_y, miny); in v3dX()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_derived.c | 268 sp->cliprect[i].miny = MAX2(sp->scissors[i].miny, 0); in compute_cliprect() 275 sp->cliprect[i].miny = 0; in compute_cliprect()
|
/external/wayland/cursor/ |
D | convert_font.c | 305 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/freedreno/a3xx/ |
D | fd3_emit.c | 672 int miny = scissor->miny; in fd3_emit_state() local 683 miny = MAX2(miny, (int)floorf(vp->translate[1] - fabsf(vp->scale[1]))); in fd3_emit_state() 690 A3XX_GRAS_SC_WINDOW_SCISSOR_TL_Y(miny)); in fd3_emit_state() 695 ctx->batch->max_scissor.miny = MIN2(ctx->batch->max_scissor.miny, miny); in fd3_emit_state()
|