/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_viewport.c | 78 float tmp, minx, miny, maxx, maxy; in r600_get_scissor_from_viewport() local 83 maxx = 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() 89 scissor->maxx = scissor->maxy = GET_MAX_SCISSOR(rctx); in r600_get_scissor_from_viewport() 94 if (minx > maxx) { in r600_get_scissor_from_viewport() 96 minx = maxx; in r600_get_scissor_from_viewport() 97 maxx = tmp; in r600_get_scissor_from_viewport() 108 scissor->maxx = ceilf(maxx); in r600_get_scissor_from_viewport() 119 out->maxx = CLAMP(scissor->maxx, 0, max_scissor); in r600_clamp_scissor() 128 out->maxx = MIN2(out->maxx, clip->maxx); in r600_clip_scissor() [all …]
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_viewport.c | 149 float tmp, minx, miny, maxx, maxy; in si_get_scissor_from_viewport() local 154 maxx = vp->scale[0] + vp->translate[0]; in si_get_scissor_from_viewport() 158 if (minx > maxx) { in si_get_scissor_from_viewport() 160 minx = maxx; in si_get_scissor_from_viewport() 161 maxx = tmp; in si_get_scissor_from_viewport() 172 scissor->maxx = ceilf(maxx); in si_get_scissor_from_viewport() 181 out->maxx = CLAMP(scissor->maxx, 0, SI_MAX_SCISSOR); in si_clamp_scissor() 189 out->maxx = MIN2(out->maxx, clip->maxx); in si_clip_scissor() 197 out->maxx = MAX2(out->maxx, in->maxx); in si_scissor_make_union() 210 final.maxx = final.maxy = SI_MAX_SCISSOR; in si_emit_one_scissor() [all …]
|
/third_party/python/Lib/curses/ |
D | textpad.py | 52 maxy, maxx = self.win.getmaxyx() 54 self.maxx = maxx - 1 60 last = self.maxx 63 last = min(self.maxx, last+1) 74 while y < self.maxy or x < self.maxx: 101 if y < self.maxy or x < self.maxx: 113 self.win.move(y-1, self.maxx) 122 self.win.move(y, self.maxx) 124 if x < self.maxx: 169 for x in range(self.maxx+1):
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_emit.c | 49 uint32_t minx, miny, maxx, maxy; in vc4_emit_state() local 53 maxx = MAX2(MIN2(vp_maxx, job->draw_width), minx); in vc4_emit_state() 58 maxx = MAX2(MIN2(vp_maxx, vc4->scissor.maxx), minx); in vc4_emit_state() 66 clip.clip_window_width_in_pixels = maxx - minx; in vc4_emit_state() 71 job->draw_max_x = MAX2(job->draw_max_x, maxx); in vc4_emit_state()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_scissor.c | 63 scissor[i].maxx = fb_width; in st_update_scissor() 76 if (xmax < (GLint) scissor[i].maxx) in st_update_scissor() 77 scissor[i].maxx = xmax; 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() 129 new_rects[i].maxx = MAX2(rect->X + rect->Width, 0); in st_update_window_rectangles()
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_priv.h | 128 ctx->scissor.maxx = 0; in xa_scissor_reset() 137 unsigned maxx, unsigned maxy) in xa_scissor_update() argument 139 ctx->scissor.maxx = MAX2(ctx->scissor.maxx, maxx); in xa_scissor_update()
|
/third_party/flutter/skia/third_party/externals/sdl/src/render/software/ |
D | SDL_drawpoint.c | 69 int maxx, maxy; in SDL_DrawPoints() local 83 maxx = dst->clip_rect.x + dst->clip_rect.w - 1; in SDL_DrawPoints() 91 if (x < minx || x > maxx || y < miny || y > maxy) { in SDL_DrawPoints()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/ |
D | SDL_rect.c | 197 int maxx = 0; in SDL_EnclosePoints() local 238 minx = maxx = x; in SDL_EnclosePoints() 245 } else if (x > maxx) { in SDL_EnclosePoints() 246 maxx = x; in SDL_EnclosePoints() 264 minx = maxx = points[0].x; in SDL_EnclosePoints() 273 } else if (x > maxx) { in SDL_EnclosePoints() 274 maxx = x; in SDL_EnclosePoints() 287 result->w = (maxx-minx)+1; in SDL_EnclosePoints()
|
/third_party/boost/libs/uuid/test/ |
D | test_bench_random.cpp | 99 size_t maxx = 0; in main() local 124 if (maxx < answer) maxx = answer; in main() 136 …<< "random_generator after " << answer << " generations (min " << minn << " / max " << maxx << ")." in main()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_state_validate.c | 188 int minx, maxx, miny, maxy, i; in nv50_validate_scissor() local 214 maxx = s->maxx; in nv50_validate_scissor() 219 maxx = nv50->framebuffer.width; in nv50_validate_scissor() 225 maxx = MIN2(maxx, (int)(vp->translate[0] + fabsf(vp->scale[0]))); in nv50_validate_scissor() 230 maxx = MAX2(maxx, 0); 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()
|
/third_party/flutter/skia/src/effects/ |
D | SkEmbossMask.cpp | 66 int maxx = mask->fBounds.width() - 1; in Emboss() local 72 for (int x = 0; x <= maxx; x++) { in Emboss() 73 int nx = alpha[x + neq_to_one(x, maxx)] - alpha[x - nonzero_to_one(x)]; in Emboss()
|
/third_party/skia/src/effects/ |
D | SkEmbossMask.cpp | 66 int maxx = mask->fBounds.width() - 1; in Emboss() local 72 for (int x = 0; x <= maxx; x++) { in Emboss() 73 int nx = alpha[x + neq_to_one(x, maxx)] - alpha[x - nonzero_to_one(x)]; in Emboss()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_codecview.c | 92 static int clip_line(int *sx, int *sy, int *ex, int *ey, int maxx) in clip_line() argument 95 return clip_line(ex, ey, sx, sy, maxx); in clip_line() 104 if (*ex > maxx) { in clip_line() 105 if (*sx > maxx) in clip_line() 107 *ey = *sy + (*ey - *sy) * (int64_t)(maxx - *sx) / (*ex - *sx); in clip_line() 108 *ex = maxx; in clip_line()
|
/third_party/gstreamer/gstplugins_good/gst/effectv/ |
D | gstwarp.c | 150 gint32 c, i, x, y, dx, dy, maxx, maxy; in gst_warptv_transform_frame() local 184 maxx = width - 2; in gst_warptv_transform_frame() 195 else if (dx > maxx) in gst_warptv_transform_frame() 196 dx = maxx; in gst_warptv_transform_frame()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_draw.c | 63 cscissor->maxx = scissor->maxx; in lima_clip_scissor_to_viewport() 68 cscissor->maxx = fb->base.width; 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() 93 return cscissor->minx == cscissor->maxx || cscissor->miny == cscissor->maxy; in lima_is_scissor_zero() 125 unsigned minx, unsigned maxx, in lima_damage_rect_union() argument 130 rect->maxx = MAX2(rect->maxx, maxx); in lima_damage_rect_union() 369 assert(cscissor->minx < cscissor->maxx && cscissor->miny < cscissor->maxy); in lima_pack_plbu_cmd() 370 PLBU_CMD_SCISSORS(cscissor->minx, cscissor->maxx, cscissor->miny, cscissor->maxy); in lima_pack_plbu_cmd() [all …]
|
D | lima_job.c | 101 s->damage_rect.maxx = s->damage_rect.maxy = 0; in lima_job_create() 639 bound.maxx = MIN2(dbound->maxx, (dr->maxx + 0xf) >> 4); in lima_update_damage_pp_stream() 644 bound.maxx = (dr->maxx + 0xf) >> 4; in lima_update_damage_pp_stream() 651 bound.maxx = MIN2(bound.maxx, fb->tiled_w); in lima_update_damage_pp_stream() 658 .maxx = bound.maxx, in lima_update_damage_pp_stream() 692 s->key.maxx = bound.maxx; in lima_update_damage_pp_stream() 700 int tiled_w = bound.maxx - bound.minx; in lima_update_damage_pp_stream() 727 dr->maxx == job->fb.width && in lima_damage_fullscreen()
|
/third_party/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() 349 maxx = MAX(maxx, rec->x); in stats_container_save() 368 maxx + 1, maxy + 1, datfile, mode); in stats_container_save()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_meta.c | 37 uint16_t maxx, uint16_t maxy) in panvk_per_arch() 44 cfg.scissor_maximum_x = maxx; in panvk_per_arch()
|
/third_party/flutter/skia/third_party/externals/sdl/Xcode-iOS/Demos/src/ |
D | happy.c | 53 int maxx = w - HAPPY_FACE_SIZE; in render() local 79 if (faces[i].x > maxx) { in render() 80 faces[i].x = maxx; in render()
|
D | accelerometer.c | 44 Uint32 maxx = w - shipData.rect.w; in render() local 84 if (shipData.x > maxx) { in render() 85 shipData.x = maxx; in render()
|
/third_party/flutter/skia/samplecode/ |
D | SampleClip.cpp | 83 const SkScalar maxx = 5*SkIntToScalar(W)/4; in show_stroke() local 87 canvas->drawLine(randRange(rand, minx, maxx), randRange(rand, miny, maxy), in show_stroke() 88 randRange(rand, minx, maxx), randRange(rand, miny, maxy), in show_stroke()
|
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengles/ |
D | SDL_render_gles.c | 907 GLfloat maxx = rect->x + rect->w; in GLES_RenderFillRects() local 913 vertices[2] = maxx; in GLES_RenderFillRects() 917 vertices[6] = maxx; in GLES_RenderFillRects() 933 GLfloat minx, miny, maxx, maxy; in GLES_RenderCopy() local 956 maxx = dstrect->x + dstrect->w; in GLES_RenderCopy() 970 vertices[2] = maxx; in GLES_RenderCopy() 974 vertices[6] = maxx; in GLES_RenderCopy() 1003 GLfloat minx, miny, maxx, maxy; in GLES_RenderCopyEx() local 1036 maxx = -centerx; in GLES_RenderCopyEx() 1039 maxx = dstrect->w - centerx; in GLES_RenderCopyEx() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testautomation_rect.c | 969 int minx = 0, maxx = 0, miny = 0, maxy = 0; in rect_testEnclosePoints() local 982 maxx = newx; in rect_testEnclosePoints() 987 if (newx > maxx) maxx = newx; in rect_testEnclosePoints() 1016 …SDLTest_AssertCheck(result.x==minx && result.y==miny && result.w==(maxx - minx + 1) && result.h==(… in rect_testEnclosePoints() 1018 … minx, miny, maxx, maxy, result.x, result.y, result.x + result.w - 1, result.y + result.h - 1); in rect_testEnclosePoints() 1040 int minx = 0, maxx = 0, miny = 0, maxy = 0; in rect_testEnclosePointsRepeatedInput() local 1058 maxx = newx; in rect_testEnclosePointsRepeatedInput() 1063 if (newx > maxx) maxx = newx; in rect_testEnclosePointsRepeatedInput() 1092 …SDLTest_AssertCheck(result.x==minx && result.y==miny && result.w==(maxx - minx + 1) && result.h==(… in rect_testEnclosePointsRepeatedInput() 1094 … minx, miny, maxx, maxy, result.x, result.y, result.x + result.w - 1, result.y + result.h - 1); in rect_testEnclosePointsRepeatedInput() [all …]
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_job.h | 77 unsigned maxx, maxy; member 196 unsigned maxx, unsigned maxy);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_state.c | 301 ctx->disabled_scissor.maxx = cso->width; in fd_set_framebuffer_state() 335 float minx, miny, maxx, maxy; in fd_set_viewport_states() local 344 maxx = viewport->scale[0] + viewport->translate[0]; in fd_set_viewport_states() 348 if (minx > maxx) { in fd_set_viewport_states() 349 swap(minx, maxx); in fd_set_viewport_states() 360 scissor->maxx = CLAMP(ceilf(maxx), 0.f, max_dims); in fd_set_viewport_states()
|