Searched refs:quad (Results 1 - 25 of 94) sorted by relevance

1234

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_quad_pipe.c35 insert_stage_at_head(struct softpipe_context *sp, struct quad_stage *quad) argument
37 quad->next = sp->quad.first;
38 sp->quad.first = quad;
54 sp->quad.first = sp->quad.blend;
58 insert_stage_at_head( sp, sp->quad.shade );
59 insert_stage_at_head( sp, sp->quad.depth_test );
62 insert_stage_at_head( sp, sp->quad
[all...]
H A Dsp_quad_stipple.c3 * quad polygon stipple stage
29 struct quad_header *quad = quads[q]; local in function:stipple_quad
31 const int col0 = quad->input.x0 % 32;
32 const int y0 = quad->input.y0;
37 /* turn off quad mask bits that fail the stipple test */
39 quad->inout.mask &= ~MASK_TOP_LEFT;
42 quad->inout.mask &= ~MASK_TOP_RIGHT;
45 quad->inout.mask &= ~MASK_BOTTOM_LEFT;
48 quad->inout.mask &= ~MASK_BOTTOM_RIGHT;
50 if (quad
[all...]
H A Dsp_fs_exec.c72 * Compute quad X,Y,Z,W for the four fragments in a quad.
94 /* do Z and W for all fragments in the quad */
113 struct quad_header *quad,
116 /* Compute X, Y, Z, W vals for this quad */
117 setup_pos_vector(quad->posCoef,
118 (float)quad->input.x0, (float)quad->input.y0,
122 machine->Face = (float) (quad->input.facing * -2 + 1);
124 machine->NonHelperMask = quad
111 exec_run(const struct sp_fragment_shader_variant * var,struct tgsi_exec_machine * machine,struct quad_header * quad,bool early_depth_test) argument
[all...]
H A Dsp_quad_fs.c59 * Execute fragment shader for the four fragments in the quad.
60 * \return TRUE if quad is alive, FALSE if all four pixels are killed
63 shade_quad(struct quad_stage *qs, struct quad_header *quad) argument
70 util_bitcount(quad->inout.mask);
75 return softpipe->fs_variant->run( softpipe->fs_variant, machine, quad, softpipe->early_depth );
81 coverage_quad(struct quad_stage *qs, struct quad_header *quad) argument
88 float (*quadColor)[4] = quad->output.color[cbuf];
91 assert(quad->input.coverage[j] >= 0.0);
92 assert(quad->input.coverage[j] <= 1.0);
93 quadColor[3][j] *= quad
[all...]
H A Dsp_quad_depth_test.c49 unsigned qzzzz[TGSI_QUAD_SIZE]; /**< Z values from the quad */
62 const struct quad_header *quad )
70 int x = quad->input.x0 % TILE_SIZE + (j & 1);
71 int y = quad->input.y0 % TILE_SIZE + (j >> 1);
77 int x = quad->input.x0 % TILE_SIZE + (j & 1);
78 int y = quad->input.y0 % TILE_SIZE + (j >> 1);
85 int x = quad->input.x0 % TILE_SIZE + (j & 1);
86 int y = quad->input.y0 % TILE_SIZE + (j >> 1);
94 int x = quad->input.x0 % TILE_SIZE + (j & 1);
95 int y = quad
61 get_depth_stencil_values(struct depth_data * data,const struct quad_header * quad) argument
134 interpolate_quad_depth(struct quad_header * quad) argument
153 convert_quad_depth(struct depth_data * data,const struct quad_header * quad) argument
236 convert_quad_stencil(struct depth_data * data,const struct quad_header * quad) argument
266 write_depth_stencil_values(struct depth_data * data,struct quad_header * quad) argument
537 depth_test_quad(struct quad_stage * qs,struct depth_data * data,struct quad_header * quad) argument
621 depth_stencil_test_quad(struct quad_stage * qs,struct depth_data * data,struct quad_header * quad) argument
[all...]
H A Dsp_context.c78 if (softpipe->quad.shade)
79 softpipe->quad.shade->destroy( softpipe->quad.shade );
81 if (softpipe->quad.depth_test)
82 softpipe->quad.depth_test->destroy( softpipe->quad.depth_test );
84 if (softpipe->quad.blend)
85 softpipe->quad.blend->destroy( softpipe->quad.blend );
87 if (softpipe->quad
[all...]
H A Dsp_setup.c65 * bitmasks (two bits per quad).
96 struct quad_header quad[MAX_QUADS]; member in struct:setup_context
125 * Clip setup->quad against the scissor/surface bounds.
128 quad_clip(struct setup_context *setup, struct quad_header *quad) argument
130 unsigned viewport_index = quad[0].input.viewport_index;
137 if (quad->input.x0 >= maxx ||
138 quad->input.y0 >= maxy ||
139 quad->input.x0 + 1 < minx ||
140 quad->input.y0 + 1 < miny) {
142 quad
160 clip_emit_quad(struct setup_context * setup,struct quad_header * quad) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_quad_pipe.c35 insert_stage_at_head(struct softpipe_context *sp, struct quad_stage *quad) argument
37 quad->next = sp->quad.first;
38 sp->quad.first = quad;
54 sp->quad.first = sp->quad.blend;
58 insert_stage_at_head( sp, sp->quad.shade );
59 insert_stage_at_head( sp, sp->quad.depth_test );
62 insert_stage_at_head( sp, sp->quad
[all...]
H A Dsp_quad_stipple.c3 * quad polygon stipple stage
29 struct quad_header *quad = quads[q]; local in function:stipple_quad
31 const int col0 = quad->input.x0 % 32;
32 const int y0 = quad->input.y0;
37 /* turn off quad mask bits that fail the stipple test */
39 quad->inout.mask &= ~MASK_TOP_LEFT;
42 quad->inout.mask &= ~MASK_TOP_RIGHT;
45 quad->inout.mask &= ~MASK_BOTTOM_LEFT;
48 quad->inout.mask &= ~MASK_BOTTOM_RIGHT;
50 if (quad
[all...]
H A Dsp_fs_exec.c72 * Compute quad X,Y,Z,W for the four fragments in a quad.
94 /* do Z and W for all fragments in the quad */
113 struct quad_header *quad,
116 /* Compute X, Y, Z, W vals for this quad */
117 setup_pos_vector(quad->posCoef,
118 (float)quad->input.x0, (float)quad->input.y0,
122 machine->Face = (float) (quad->input.facing * -2 + 1);
124 machine->NonHelperMask = quad
111 exec_run(const struct sp_fragment_shader_variant * var,struct tgsi_exec_machine * machine,struct quad_header * quad,bool early_depth_test) argument
[all...]
H A Dsp_quad_fs.c59 * Execute fragment shader for the four fragments in the quad.
60 * \return TRUE if quad is alive, FALSE if all four pixels are killed
63 shade_quad(struct quad_stage *qs, struct quad_header *quad) argument
70 util_bitcount(quad->inout.mask);
75 return softpipe->fs_variant->run( softpipe->fs_variant, machine, quad, softpipe->early_depth );
81 coverage_quad(struct quad_stage *qs, struct quad_header *quad) argument
88 float (*quadColor)[4] = quad->output.color[cbuf];
91 assert(quad->input.coverage[j] >= 0.0);
92 assert(quad->input.coverage[j] <= 1.0);
93 quadColor[3][j] *= quad
[all...]
H A Dsp_quad_depth_test.c49 unsigned qzzzz[TGSI_QUAD_SIZE]; /**< Z values from the quad */
62 const struct quad_header *quad )
70 int x = quad->input.x0 % TILE_SIZE + (j & 1);
71 int y = quad->input.y0 % TILE_SIZE + (j >> 1);
77 int x = quad->input.x0 % TILE_SIZE + (j & 1);
78 int y = quad->input.y0 % TILE_SIZE + (j >> 1);
85 int x = quad->input.x0 % TILE_SIZE + (j & 1);
86 int y = quad->input.y0 % TILE_SIZE + (j >> 1);
94 int x = quad->input.x0 % TILE_SIZE + (j & 1);
95 int y = quad
61 get_depth_stencil_values(struct depth_data * data,const struct quad_header * quad) argument
134 interpolate_quad_depth(struct quad_header * quad) argument
153 convert_quad_depth(struct depth_data * data,const struct quad_header * quad) argument
236 convert_quad_stencil(struct depth_data * data,const struct quad_header * quad) argument
266 write_depth_stencil_values(struct depth_data * data,struct quad_header * quad) argument
537 depth_test_quad(struct quad_stage * qs,struct depth_data * data,struct quad_header * quad) argument
618 depth_stencil_test_quad(struct quad_stage * qs,struct depth_data * data,struct quad_header * quad) argument
[all...]
H A Dsp_setup.c66 * bitmasks (two bits per quad).
97 struct quad_header quad[MAX_QUADS]; member in struct:setup_context
126 * Clip setup->quad against the scissor/surface bounds.
129 quad_clip(struct setup_context *setup, struct quad_header *quad) argument
131 unsigned viewport_index = quad[0].input.viewport_index;
138 if (quad->input.x0 >= maxx ||
139 quad->input.y0 >= maxy ||
140 quad->input.x0 + 1 < minx ||
141 quad->input.y0 + 1 < miny) {
143 quad
161 clip_emit_quad(struct setup_context * setup,struct quad_header * quad) argument
[all...]
H A Dsp_context.c78 if (softpipe->quad.shade)
79 softpipe->quad.shade->destroy( softpipe->quad.shade );
81 if (softpipe->quad.depth_test)
82 softpipe->quad.depth_test->destroy( softpipe->quad.depth_test );
84 if (softpipe->quad.blend)
85 softpipe->quad.blend->destroy( softpipe->quad.blend );
87 if (softpipe->quad
[all...]
/xsrc/external/mit/mesa-demos/dist/src/trivial/
H A DMakefile.am94 quad \ program in directory:bin
95 quad-clip-all-vertices \
96 quad-clip \
97 quad-clip-nearplane \
98 quad-degenerate \
99 quad-flat \
100 quad-offset-factor \
101 quad-offset-unfilled \
102 quad-offset-units \
108 quad
[all...]
H A Dquad-offset-factor.c64 static void quad( float half ) function in typeref:typename:void
83 quad(9);
88 quad(6);
94 quad(6);
100 quad(3);
H A Dquad-offset-units.c64 static void quad( float half ) function in typeref:typename:void
83 quad(9);
88 quad(6);
90 /* green: offset 0 (this should obscure the black quad) */
95 quad(6);
101 quad(3);
/xsrc/external/mit/mesa-demos/dist/src/xdemos/
H A Doffset.c86 static void fill(Quad quad);
87 static void outline(Quad quad);
88 static void draw_hidden(Quad quad, int mode, int face);
225 fill(Quad quad) { argument
228 glVertex3fv(quad[0]);
229 glVertex3fv(quad[1]);
230 glVertex3fv(quad[2]);
231 glVertex3fv(quad[3]);
236 outline(Quad quad) { argument
239 glVertex3fv(quad[
247 draw_hidden(Quad quad,int mode,int face) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/vl/
H A Dvl_bicubic_filter.h38 struct pipe_vertex_buffer quad; member in struct:vl_bicubic_filter
H A Dvl_matrix_filter.h39 struct pipe_vertex_buffer quad; member in struct:vl_matrix_filter
H A Dvl_median_filter.h47 struct pipe_vertex_buffer quad; member in struct:vl_median_filter
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/
H A Dvl_bicubic_filter.h38 struct pipe_vertex_buffer quad; member in struct:vl_bicubic_filter
H A Dvl_matrix_filter.h39 struct pipe_vertex_buffer quad; member in struct:vl_matrix_filter
H A Dvl_median_filter.h47 struct pipe_vertex_buffer quad; member in struct:vl_median_filter
/xsrc/external/mit/mesa-demos/dist/src/samples/
H A DMakefile.am53 quad \

Completed in 13 milliseconds

1234