Searched refs:half_height (Results 1 - 25 of 29) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/graw/
H A Dshader-leak.c57 float half_height = (float)height / 2.0f; local in function:set_viewport
62 vp.scale[1] = half_height;
66 vp.translate[1] = half_height + y;
H A Dtri-gs.c58 float half_height = (float)height / 2.0f; local in function:set_viewport
63 vp.scale[1] = half_height;
67 vp.translate[1] = half_height + y;
H A Dtri-instanced.c87 float half_height = (float)height / 2.0f; local in function:set_viewport
92 vp.scale[1] = half_height;
96 vp.translate[1] = half_height + y;
H A Dgraw_util.h192 float half_height = height / 2.0f; local in function:graw_util_viewport
197 vp.scale[1] = half_height;
201 vp.translate[1] = half_height + y;
H A Dquad-sample.c67 float half_height = (float)height / 2.0f; local in function:set_viewport
72 vp.scale[1] = half_height;
76 vp.translate[1] = half_height + y;
H A Dfs-test.c139 float half_height = (float)height / 2.0f; local in function:set_viewport
144 vp.scale[1] = half_height;
148 vp.translate[1] = half_height + y;
H A Dgs-test.c197 float half_height = (float)height / 2.0f; local in function:set_viewport
202 vp.scale[1] = half_height;
206 vp.translate[1] = half_height + y;
H A Dvs-test.c119 float half_height = (float)height / 2.0f; local in function:set_viewport
124 vp.scale[1] = half_height;
128 vp.translate[1] = half_height + y;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/trivial/
H A Dtri.c177 float half_height = (float)HEIGHT / 2.0f; local in function:init_prog
190 p->viewport.scale[1] = half_height * scale;
194 p->viewport.translate[1] = (half_height + y) * scale + bias;
H A Dquad-tex.c233 float half_height = (float)HEIGHT / 2.0f; local in function:init_prog
246 p->viewport.scale[1] = half_height * scale;
250 p->viewport.translate[1] = (half_height + y) * scale + bias;
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/d3d10umd/
H A DRasterizer.cpp72 float half_height = height / 2.0f; local in function:SetViewports
76 states[i].scale[1] = -half_height;
80 states[i].translate[1] = half_height + y;
/xsrc/external/mit/MesaLib/dist/src/gallium/tests/graw/
H A Dshader-leak.c57 float half_height = (float)height / 2.0f; local in function:set_viewport
62 vp.scale[1] = half_height;
66 vp.translate[1] = half_height + y;
H A Dtri-gs.c58 float half_height = (float)height / 2.0f; local in function:set_viewport
63 vp.scale[1] = half_height;
67 vp.translate[1] = half_height + y;
H A Dgraw_util.h192 float half_height = height / 2.0f; local in function:graw_util_viewport
197 vp.scale[1] = half_height;
201 vp.translate[1] = half_height + y;
H A Dquad-sample.c67 float half_height = (float)height / 2.0f; local in function:set_viewport
72 vp.scale[1] = half_height;
76 vp.translate[1] = half_height + y;
H A Dtri-instanced.c87 float half_height = (float)height / 2.0f; local in function:set_viewport
92 vp.scale[1] = half_height;
96 vp.translate[1] = half_height + y;
H A Dfs-test.c139 float half_height = (float)height / 2.0f; local in function:set_viewport
144 vp.scale[1] = half_height;
148 vp.translate[1] = half_height + y;
H A Dgs-test.c197 float half_height = (float)height / 2.0f; local in function:set_viewport
202 vp.scale[1] = half_height;
206 vp.translate[1] = half_height + y;
H A Dvs-test.c119 float half_height = (float)height / 2.0f; local in function:set_viewport
124 vp.scale[1] = half_height;
128 vp.translate[1] = half_height + y;
/xsrc/external/mit/MesaLib/dist/src/gallium/tests/trivial/
H A Dtri.c177 float half_height = (float)HEIGHT / 2.0f; local in function:init_prog
190 p->viewport.scale[1] = half_height * scale;
194 p->viewport.translate[1] = (half_height + y) * scale + bias;
H A Dquad-tex.c234 float half_height = (float)HEIGHT / 2.0f; local in function:init_prog
247 p->viewport.scale[1] = half_height * scale;
251 p->viewport.translate[1] = (half_height + y) * scale + bias;
/xsrc/external/mit/bitmap/dist/
H A DGraphics.c983 Position half_width, half_height; local in function:BWRotateRight
1002 half_height = floor((to_y - from_y ) / 2.0 + 0.5);
1004 delta = min((Position) half_width, (Position) half_height) - shift;
1010 from_y + (Position)half_height + y);
1013 from_y + (Position)half_height - shift - x);
1016 from_y + (Position)half_height - shift - y);
1019 from_y + (Position)half_height + x);
1024 from_y + (Position)half_height + y);
1028 from_y + (Position)half_height - shift - x);
1032 from_y + (Position)half_height
1065 Position half_width, half_height; local in function:BWRotateLeft
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dviewport.c584 float half_height = 0.5f * ctx->ViewportArray[i].Height; local in function:_mesa_get_viewport_xform
591 scale[1] = -half_height;
593 scale[1] = half_height;
595 translate[1] = half_height + y;
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dviewport.c589 float half_height = 0.5f * ctx->ViewportArray[i].Height; local in function:_mesa_get_viewport_xform
596 scale[1] = -half_height;
598 scale[1] = half_height;
600 translate[1] = half_height + y;
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dsi_cmd_buffer.c428 float half_height = 0.5f * viewport->height; local in function:get_viewport_xform
434 scale[1] = half_height;
435 translate[1] = half_height + y;

Completed in 36 milliseconds

12