Searched refs:viewport_index (Results 1 - 25 of 32) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_cliptest_tmp.h50 int viewport_index = 0; local in function:TAG
55 viewport_index = u_bitcast_f2u(out->data[viewport_index_output][0]);
56 viewport_index = draw_clamp_viewport_idx(viewport_index);
79 /* only change the viewport_index for the leading vertex */
83 viewport_index = u_bitcast_f2u(out->data[viewport_index_output][0]);
84 viewport_index = draw_clamp_viewport_idx(viewport_index);
88 float *scale = pvs->draw->viewports[viewport_index].scale;
89 float *trans = pvs->draw->viewports[viewport_index]
[all...]
H A Ddraw_pipe_clip.c88 unsigned viewport_index = local in function:draw_viewport_index
90 return draw_clamp_viewport_idx(viewport_index);
136 unsigned viewport_index)
164 clip->stage.draw->viewports[viewport_index].scale;
166 clip->stage.draw->viewports[viewport_index].translate;
363 int viewport_index = 0; local in function:do_clip_tri
382 viewport_index = draw_viewport_index(clipper->stage.draw, prov_vertex);
479 interp( clipper, new_vert, t, vert, vert_prev, viewport_index );
482 interp( clipper, new_vert, t, vert_prev, vert, viewport_index );
505 interp( clipper, new_vert, t, vert_prev, vert, viewport_index );
131 interp(const struct clip_stage * clip,struct vertex_header * dst,float t,const struct vertex_header * out,const struct vertex_header * in,unsigned viewport_index) argument
583 int viewport_index; local in function:do_clip_line
[all...]
H A Ddraw_vs_variant.c91 int viewport_index = local in function:find_viewport
95 viewport_index = draw_clamp_viewport_idx(viewport_index);
97 return &draw->viewports[viewport_index];
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_cliptest_tmp.h48 int viewport_index = local in function:TAG
75 /* only change the viewport_index for the leading vertex */
77 viewport_index = u_bitcast_f2u(out->data[viewport_index_output][0]);
78 viewport_index = draw_clamp_viewport_idx(viewport_index);
80 scale = pvs->draw->viewports[viewport_index].scale;
81 trans = pvs->draw->viewports[viewport_index].translate;
H A Ddraw_pipe_clip.c88 unsigned viewport_index = local in function:draw_viewport_index
90 return draw_clamp_viewport_idx(viewport_index);
136 unsigned viewport_index)
164 clip->stage.draw->viewports[viewport_index].scale;
166 clip->stage.draw->viewports[viewport_index].translate;
363 int viewport_index = 0; local in function:do_clip_tri
382 viewport_index = draw_viewport_index(clipper->stage.draw, prov_vertex);
477 interp( clipper, new_vert, t, vert, vert_prev, viewport_index );
498 interp( clipper, new_vert, t, vert_prev, vert, viewport_index );
572 int viewport_index; local in function:do_clip_line
131 interp(const struct clip_stage * clip,struct vertex_header * dst,float t,const struct vertex_header * out,const struct vertex_header * in,unsigned viewport_index) argument
[all...]
H A Ddraw_vs_variant.c91 int viewport_index = local in function:find_viewport
95 viewport_index = draw_clamp_viewport_idx(viewport_index);
97 return &draw->viewports[viewport_index];
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_quad.h66 unsigned viewport_index; member in struct:quad_header_input
H A Dsp_setup.c130 unsigned viewport_index = quad[0].input.viewport_index; local in function:quad_clip
131 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index];
703 unsigned viewport_index)
705 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index];
803 unsigned viewport_index = 0; local in function:sp_setup_tri
844 viewport_index = sp_clamp_viewport_idx(*udata);
846 setup->quad[0].input.viewport_index = viewport_index;
853 subtriangle(setup, &setup->emaj, &setup->ebot, setup->ebot.lines, viewport_index);
699 subtriangle(struct setup_context * setup,struct edge * eleft,struct edge * eright,int lines,unsigned viewport_index) argument
1088 unsigned viewport_index = 0; local in function:sp_setup_line
1235 unsigned viewport_index = 0; local in function:sp_setup_point
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_quad.h66 unsigned viewport_index; member in struct:quad_header_input
H A Dsp_setup.c131 unsigned viewport_index = quad[0].input.viewport_index; local in function:quad_clip
132 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index];
654 unsigned viewport_index)
656 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index];
754 unsigned viewport_index = 0; local in function:sp_setup_tri
796 viewport_index = sp_clamp_viewport_idx(*udata);
798 setup->quad[0].input.viewport_index = viewport_index;
805 subtriangle(setup, &setup->emaj, &setup->ebot, setup->ebot.lines, viewport_index);
650 subtriangle(struct setup_context * setup,struct edge * eleft,struct edge * eright,int lines,unsigned viewport_index) argument
1010 unsigned viewport_index = 0; local in function:sp_setup_line
1158 unsigned viewport_index = 0; local in function:sp_setup_point
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c349 unsigned viewport_index = 0; local in function:try_setup_point
355 viewport_index = lp_clamp_viewport_idx(*udata);
439 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
445 u_rect_find_intersection(&setup->draw_regions[viewport_index], &bbox);
489 point->inputs.viewport_index = viewport_index;
515 return lp_setup_bin_triangle(setup, point, &bbox, &bbox, nr_planes, viewport_index);
H A Dlp_setup_line.c299 unsigned viewport_index = 0; local in function:try_setup_line
334 viewport_index = lp_clamp_viewport_idx(*udata);
578 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
598 scissor = &setup->scissors[viewport_index];
653 line->inputs.viewport_index = viewport_index;
757 return lp_setup_bin_triangle(setup, line, &bbox, &bboxpos, nr_planes, viewport_index);
H A Dlp_setup_tri.c281 unsigned viewport_index = 0; local in function:do_triangle_ccw
299 viewport_index = lp_clamp_viewport_idx(*udata);
331 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
353 scissor = &setup->scissors[viewport_index];
388 tri->inputs.viewport_index = viewport_index;
720 return lp_setup_bin_triangle(setup, tri, &bbox, &bboxpos, nr_planes, viewport_index);
757 unsigned viewport_index)
789 u_rect_find_intersection(&setup->draw_regions[viewport_index],
752 lp_setup_bin_triangle(struct lp_setup_context * setup,struct lp_rast_triangle * tri,const struct u_rect * bboxorig,const struct u_rect * bbox,int nr_planes,unsigned viewport_index) argument
H A Dlp_rast_priv.h261 task->thread_data.raster_state.viewport_index = inputs->viewport_index;
H A Dlp_jit.h201 uint32_t viewport_index; member in struct:lp_jit_thread_data::__anon96747aa10508
227 "raster_state.viewport_index")
H A Dlp_rast.h106 unsigned viewport_index; /* the active viewport index (from gs, already clamped) */ member in struct:lp_rast_shader_inputs
H A Dlp_rast.c349 task->thread_data.raster_state.viewport_index = inputs->viewport_index;
450 task->thread_data.raster_state.viewport_index = inputs->viewport_index;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c358 unsigned viewport_index = 0; local in function:try_setup_point
364 viewport_index = lp_clamp_viewport_idx(*udata);
460 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
466 u_rect_find_intersection(&setup->draw_regions[viewport_index], &bbox);
514 point->inputs.viewport_index = viewport_index;
548 return lp_setup_bin_triangle(setup, point, &bbox, &bbox, nr_planes, viewport_index);
593 point->inputs.viewport_index = viewport_index;
H A Dlp_setup_line.c299 unsigned viewport_index = 0; local in function:try_setup_line
338 viewport_index = lp_clamp_viewport_idx(*udata);
597 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
615 scissor = &setup->draw_regions[viewport_index];
665 line->inputs.viewport_index = viewport_index;
718 return lp_setup_bin_triangle(setup, line, &bbox, &bboxpos, nr_planes, viewport_index);
H A Dlp_setup_rect.c261 unsigned viewport_index = 0; local in function:try_rect_cw
291 viewport_index = lp_clamp_viewport_idx(*udata);
318 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
324 u_rect_find_intersection(&setup->draw_regions[viewport_index], &bbox);
358 rect->inputs.viewport_index = viewport_index;
H A Dlp_rast_linear_fallback.c152 task->thread_data.raster_state.viewport_index = inputs->viewport_index;
H A Dlp_setup_tri.c284 unsigned viewport_index = 0; local in function:do_triangle_ccw
302 viewport_index = lp_clamp_viewport_idx(*udata);
327 if (!u_rect_test_intersection(&setup->draw_regions[viewport_index], &bbox)) {
347 scissor = &setup->draw_regions[viewport_index];
461 tri->inputs.viewport_index = viewport_index;
741 return lp_setup_bin_triangle(setup, tri, &bbox, &bboxpos, nr_planes, viewport_index);
778 unsigned viewport_index)
812 u_rect_find_intersection(&setup->draw_regions[viewport_index],
773 lp_setup_bin_triangle(struct lp_setup_context * setup,struct lp_rast_triangle * tri,const struct u_rect * bboxorig,const struct u_rect * bbox,int nr_planes,unsigned viewport_index) argument
H A Dlp_rast_priv.h275 task->thread_data.raster_state.viewport_index = inputs->viewport_index;
H A Dlp_rast.c367 task->thread_data.raster_state.viewport_index = inputs->viewport_index;
476 task->thread_data.raster_state.viewport_index = inputs->viewport_index;
H A Dlp_rast.h119 unsigned viewport_index; /* the active viewport index (from gs, already clamped) */ member in struct:lp_rast_shader_inputs

Completed in 36 milliseconds

12