Searched refs:half_width (Results 1 - 25 of 36) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_pipe_wide_line.c52 const float half_width = 0.5f * stage->draw->rasterizer->line_width; local in function:wideline_line
83 pos0[1] = pos0[1] - half_width - bias;
84 pos1[1] = pos1[1] + half_width - bias;
85 pos2[1] = pos2[1] - half_width - bias;
86 pos3[1] = pos3[1] + half_width - bias;
106 pos0[0] = pos0[0] - half_width + bias;
107 pos1[0] = pos1[0] + half_width + bias;
108 pos2[0] = pos2[0] - half_width + bias;
109 pos3[0] = pos3[0] + half_width + bias;
H A Ddraw_pipe_aaline.c359 const float half_width = aaline->half_line_width; local in function:aaline_line
398 t_w = half_width;
445 ASSIGN_4V(tex, -half_width, half_width, -half_length, half_length);
448 ASSIGN_4V(tex, half_width, half_width, -half_length, half_length);
451 ASSIGN_4V(tex, -half_width, half_width, half_length, half_length);
454 ASSIGN_4V(tex, half_width, half_width, half_lengt
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_pipe_wide_line.c52 const float half_width = 0.5f * stage->draw->rasterizer->line_width; local in function:wideline_line
83 pos0[1] = pos0[1] - half_width - bias;
84 pos1[1] = pos1[1] + half_width - bias;
85 pos2[1] = pos2[1] - half_width - bias;
86 pos3[1] = pos3[1] + half_width - bias;
106 pos0[0] = pos0[0] - half_width + bias;
107 pos1[0] = pos1[0] + half_width + bias;
108 pos2[0] = pos2[0] - half_width + bias;
109 pos3[0] = pos3[0] + half_width + bias;
H A Ddraw_pipe_aaline.c381 const float half_width = aaline->half_line_width; local in function:aaline_line
420 t_w = half_width;
467 ASSIGN_4V(tex, -half_width, half_width, -half_length, half_length);
470 ASSIGN_4V(tex, half_width, half_width, -half_length, half_length);
473 ASSIGN_4V(tex, -half_width, half_width, half_length, half_length);
476 ASSIGN_4V(tex, half_width, half_width, half_lengt
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/graw/
H A Dshader-leak.c56 float half_width = (float)width / 2.0f; local in function:set_viewport
61 vp.scale[0] = half_width;
65 vp.translate[0] = half_width + x;
H A Dtri-gs.c57 float half_width = (float)width / 2.0f; local in function:set_viewport
62 vp.scale[0] = half_width;
66 vp.translate[0] = half_width + x;
H A Dtri-instanced.c86 float half_width = (float)width / 2.0f; local in function:set_viewport
91 vp.scale[0] = half_width;
95 vp.translate[0] = half_width + x;
H A Dgraw_util.h191 float half_width = width / 2.0f; local in function:graw_util_viewport
196 vp.scale[0] = half_width;
200 vp.translate[0] = half_width + x;
H A Dquad-sample.c66 float half_width = (float)width / 2.0f; local in function:set_viewport
71 vp.scale[0] = half_width;
75 vp.translate[0] = half_width + x;
H A Dfs-test.c138 float half_width = (float)width / 2.0f; local in function:set_viewport
143 vp.scale[0] = half_width;
147 vp.translate[0] = half_width + x;
H A Dgs-test.c196 float half_width = (float)width / 2.0f; local in function:set_viewport
201 vp.scale[0] = half_width;
205 vp.translate[0] = half_width + x;
H A Dvs-test.c118 float half_width = (float)width / 2.0f; local in function:set_viewport
123 vp.scale[0] = half_width;
127 vp.translate[0] = half_width + x;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/trivial/
H A Dtri.c176 float half_width = (float)WIDTH / 2.0f; local in function:init_prog
189 p->viewport.scale[0] = half_width;
193 p->viewport.translate[0] = half_width + x;
H A Dquad-tex.c232 float half_width = (float)WIDTH / 2.0f; local in function:init_prog
245 p->viewport.scale[0] = half_width;
249 p->viewport.translate[0] = half_width + x;
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/d3d10umd/
H A DRasterizer.cpp71 float half_width = width / 2.0f; local in function:SetViewports
75 states[i].scale[0] = half_width;
79 states[i].translate[0] = half_width + x;
/xsrc/external/mit/MesaLib/dist/src/gallium/tests/graw/
H A Dshader-leak.c56 float half_width = (float)width / 2.0f; local in function:set_viewport
61 vp.scale[0] = half_width;
65 vp.translate[0] = half_width + x;
H A Dtri-gs.c57 float half_width = (float)width / 2.0f; local in function:set_viewport
62 vp.scale[0] = half_width;
66 vp.translate[0] = half_width + x;
H A Dgraw_util.h191 float half_width = width / 2.0f; local in function:graw_util_viewport
196 vp.scale[0] = half_width;
200 vp.translate[0] = half_width + x;
H A Dquad-sample.c66 float half_width = (float)width / 2.0f; local in function:set_viewport
71 vp.scale[0] = half_width;
75 vp.translate[0] = half_width + x;
H A Dtri-instanced.c86 float half_width = (float)width / 2.0f; local in function:set_viewport
91 vp.scale[0] = half_width;
95 vp.translate[0] = half_width + x;
/xsrc/external/mit/MesaLib/dist/src/gallium/tests/trivial/
H A Dtri.c176 float half_width = (float)WIDTH / 2.0f; local in function:init_prog
189 p->viewport.scale[0] = half_width;
193 p->viewport.translate[0] = half_width + x;
H A Dquad-tex.c233 float half_width = (float)WIDTH / 2.0f; local in function:init_prog
246 p->viewport.scale[0] = half_width;
250 p->viewport.translate[0] = half_width + x;
/xsrc/external/mit/bitmap/dist/
H A DGraphics.c983 Position half_width, half_height; local in function:BWRotateRight
1001 half_width = floor((to_x - from_x) / 2.0 + 0.5);
1004 delta = min((Position) half_width, (Position) half_height) - shift;
1009 from_x + (Position)half_width + x,
1012 from_x + (Position)half_width + y,
1015 from_x + (Position)half_width - shift - x,
1018 from_x + (Position)half_width - shift - y,
1023 from_x + (Position)half_width + x,
1027 from_x + (Position)half_width + y,
1031 from_x + (Position)half_width
1065 Position half_width, half_height; local in function:BWRotateLeft
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_fs_builder.h515 const unsigned half_width = dispatch_width() / 2; local in function:brw::fs_builder::emit_scan
516 const fs_builder ubld = exec_all().group(half_width, 0);
518 dst_reg right = horiz_offset(tmp, half_width);
521 if (cluster_size > half_width) {
523 half_width - 1, 0, half_width, 1);
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_fs_builder.h458 const unsigned half_width = dispatch_width() / 2; local in function:brw::fs_builder::emit_scan
459 const fs_builder ubld = exec_all().group(half_width, 0);
461 dst_reg right = horiz_offset(tmp, half_width);
464 if (cluster_size > half_width) {
465 src_reg left_comp = component(left, half_width - 1);

Completed in 35 milliseconds

12