Searched refs:maxy (Results 1 - 25 of 168) sorted by relevance

1234567

/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_scissor.c53 GLint miny, maxy; local in function:st_update_scissor
61 scissor[i].maxy = fb_height;
75 if (ymax < (GLint) scissor[i].maxy)
76 scissor[i].maxy = ymax;
79 if (scissor[i].minx >= scissor[i].maxx || scissor[i].miny >= scissor[i].maxy)
80 scissor[i].minx = scissor[i].miny = scissor[i].maxx = scissor[i].maxy = 0;
87 miny = fb->Height - scissor[i].maxy;
88 maxy = fb->Height - scissor[i].miny;
90 scissor[i].maxy = maxy;
[all...]
H A Dst_scissor.c49 dst_rect->maxy = MAX2(src_rect->Y + src_rect->Height, 0);
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_atom_scissor.c53 GLint miny, maxy; local in function:st_update_scissor
64 scissor[i].maxy = fb_height;
78 if (ymax < (GLint) scissor[i].maxy)
79 scissor[i].maxy = ymax;
82 if (scissor[i].minx >= scissor[i].maxx || scissor[i].miny >= scissor[i].maxy)
83 scissor[i].minx = scissor[i].miny = scissor[i].maxx = scissor[i].maxy = 0;
90 miny = fb->Height - scissor[i].maxy;
91 maxy = fb->Height - scissor[i].miny;
93 scissor[i].maxy = maxy;
[all...]
H A Dst_scissor.c49 dst_rect->maxy = MAX2(src_rect->Y + src_rect->Height, 0);
H A Dst_cb_clear.c525 .maxy = MAX2(scissor->Y + scissor->Height, 0),
535 GLint miny, maxy; local in function:st_Clear
536 miny = fb->Height - scissor_state.maxy;
537 maxy = fb->Height - scissor_state.miny;
539 scissor_state.maxy = MAX2(maxy, 0);
544 scissor_state.maxy = MIN2(scissor_state.maxy, fb->Height);
546 scissor_state.miny >= scissor_state.maxy)
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_vX_meta.c37 uint16_t maxx, uint16_t maxy)
45 cfg.scissor_maximum_y = maxy;
H A Dpanvk_vX_meta.h41 uint16_t maxx, uint16_t maxy);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_state_viewport.c56 float tmp, minx, miny, maxx, maxy; local in function:si_get_scissor_from_viewport
62 maxy = vp->scale[1] + vp->translate[1];
70 if (miny > maxy) {
72 miny = maxy;
73 maxy = tmp;
80 scissor->maxy = ceilf(maxy);
90 out->maxy = CLAMP(scissor->maxy, 0, SI_MAX_SCISSOR);
99 out->maxy
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_state_viewport.c149 float tmp, minx, miny, maxx, maxy; local in function:si_get_scissor_from_viewport
155 maxy = vp->scale[1] + vp->translate[1];
163 if (miny > maxy) {
165 miny = maxy;
166 maxy = tmp;
173 scissor->maxy = ceilf(maxy);
182 out->maxy = CLAMP(scissor->maxy, 0, SI_MAX_SCISSOR);
190 out->maxy
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_emit.c49 uint32_t minx, miny, maxx, maxy; local in function:vc4_emit_state
54 maxy = MIN2(vp_maxy, job->draw_height);
59 maxy = MIN2(vp_maxy, vc4->scissor.maxy);
65 clip.clip_window_height_in_pixels = maxy - miny;
72 job->draw_max_y = MAX2(job->draw_max_y, maxy);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dr600_viewport.c78 float tmp, minx, miny, maxx, maxy; local in function:r600_get_scissor_from_viewport
84 maxy = vp->scale[1] + vp->translate[1];
87 if (minx == -1 && miny == -1 && maxx == 1 && maxy == 1) {
89 scissor->maxx = scissor->maxy = GET_MAX_SCISSOR(rctx);
99 if (miny > maxy) {
101 miny = maxy;
102 maxy = tmp;
109 scissor->maxy = ceilf(maxy);
120 out->maxy
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_emit.c49 uint32_t minx, miny, maxx, maxy; local in function:vc4_emit_state
54 maxy = MAX2(MIN2(vp_maxy, job->draw_height), miny);
59 maxy = MAX2(MIN2(vp_maxy, vc4->scissor.maxy), miny);
65 clip.clip_window_height_in_pixels = maxy - miny;
72 job->draw_max_y = MAX2(job->draw_max_y, maxy);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Dr600_viewport.c78 float tmp, minx, miny, maxx, maxy; local in function:r600_get_scissor_from_viewport
84 maxy = vp->scale[1] + vp->translate[1];
87 if (minx == -1 && miny == -1 && maxx == 1 && maxy == 1) {
89 scissor->maxx = scissor->maxy = GET_MAX_SCISSOR(rctx);
99 if (miny > maxy) {
101 miny = maxy;
102 maxy = tmp;
109 scissor->maxy = ceilf(maxy);
120 out->maxy
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xa/
H A Dxa_priv.h129 ctx->scissor.maxy = 0;
137 unsigned maxx, unsigned maxy)
140 ctx->scissor.maxy = MAX2(ctx->scissor.maxy, maxy);
136 xa_scissor_update(struct xa_context * ctx,unsigned minx,unsigned miny,unsigned maxx,unsigned maxy) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xa/
H A Dxa_priv.h129 ctx->scissor.maxy = 0;
137 unsigned maxx, unsigned maxy)
140 ctx->scissor.maxy = MAX2(ctx->scissor.maxy, maxy);
136 xa_scissor_update(struct xa_context * ctx,unsigned minx,unsigned miny,unsigned maxx,unsigned maxy) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/
H A Dpan_job.h77 unsigned maxx, maxy; member in struct:panfrost_batch
196 unsigned maxx, unsigned maxy);
/xsrc/external/mit/ctwm/dist/
H A Dwindowbox.c142 int minx, miny, maxx, maxy, x, y, w, h; local in function:fittocontent
146 maxy = 0;
160 if(t->frame_y + h > maxy) {
161 maxy = t->frame_y + h;
168 h = maxy - miny + 2 * twmwin->frame_bw3D;
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/xaa/
H A DxaaFillPoly.c213 int c, y, maxy, h, yoffset; local in function:XAAFillPolygonSolid
237 origin, &topPoint, &y, &maxy, shape) ) {
293 if(y == maxy) break;
338 if (y == maxy) break;
353 int maxy,
416 if(y == maxy) break;
459 if (y == maxy) break;
673 int y, maxy, xorg, yorg; local in function:XAAFillPolygonStippled
720 origin, &topPoint, &y, &maxy, shape) ) {
808 y, maxy, origi
347 XAAFillPolygonHelper(ScrnInfoPtr pScrn,DDXPointPtr ptsIn,int count,DDXPointPtr topPoint,int y,int maxy,int origin,RectFuncPtr RectFunc,TrapFuncPtr TrapFunc,int xorg,int yorg,XAACacheInfoPtr pCache) argument
833 int y, maxy, xorg, yorg; local in function:XAAFillPolygonTiled
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_state.c267 ctx->disabled_scissor.maxy = cso->height;
301 float minx, miny, maxx, maxy; local in function:fd_set_viewport_states
311 maxy = viewport->scale[1] + viewport->translate[1];
317 if (miny > maxy) {
318 swap(miny, maxy);
322 debug_assert(maxy >= 0);
328 scissor->maxy = ceilf(maxy);
/xsrc/external/mit/mesa-demos/dist/src/glsl/
H A Dconvolutions.c32 float maxx, maxy, maxz; member in struct:BoundingBox
359 box.maxy = height;
362 glOrtho(box.minx, box.maxx, box.miny, box.maxy, -999999, 999999);
411 center[1] = box.maxy/2;
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_blitter.h56 uint16_t minx, miny, maxx, maxy; member in struct:pan_blit_info::__anon5321a4c80408
H A Dpan_cs.h105 unsigned minx, miny, maxx, maxy; member in struct:pan_fb_info::__anoneeb406e80b08
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/
H A Dlima_draw.c65 cscissor->maxy = scissor->maxy;
70 cscissor->maxy = fb->base.height;
83 cscissor->maxy = MIN2(cscissor->maxy, viewport_top);
84 if (cscissor->miny > cscissor->maxy)
85 cscissor->miny = cscissor->maxy;
93 return cscissor->minx == cscissor->maxx || cscissor->miny == cscissor->maxy;
126 unsigned miny, unsigned maxy)
131 rect->maxy
124 lima_damage_rect_union(struct pipe_scissor_state * rect,unsigned minx,unsigned maxx,unsigned miny,unsigned maxy) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_state_validate.c188 int minx, maxx, miny, maxy, i; local in function:nv50_validate_scissor
216 maxy = s->maxy;
221 maxy = nv50->framebuffer.height;
227 maxy = MIN2(maxy, (int)(vp->translate[1] + fabsf(vp->scale[1])));
232 maxy = MAX2(maxy, 0);
236 PUSH_DATA (push, (maxy << 16) | miny);
240 PUSH_DATA (push, (s->maxy << 1
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_state_validate.c188 int minx, maxx, miny, maxy, i; local in function:nv50_validate_scissor
216 maxy = s->maxy;
221 maxy = nv50->framebuffer.height;
227 maxy = MIN2(maxy, (int)(vp->translate[1] + fabsf(vp->scale[1])));
232 maxy = MAX2(maxy, 0);
236 PUSH_DATA (push, (maxy << 16) | miny);
240 PUSH_DATA (push, (s->maxy << 1
[all...]

Completed in 23 milliseconds

1234567