Searched refs:stipple (Results 1 - 25 of 37) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_stipple.c31 /* Implement line stipple by cutting lines up into smaller lines.
32 * There are hundreds of ways to implement line stipple, this is one
122 struct stipple_stage *stipple = stipple_stage(stage); local
143 stipple->counter = 0;
149 int result = stipple_test( (int) stipple->counter+i,
150 (ushort) stipple->pattern, stipple->factor );
170 stipple->counter += length;
177 struct stipple_stage *stipple = stipple_stage(stage); local
178 stipple
185 struct stipple_stage *stipple = stipple_stage(stage); local
193 struct stipple_stage *stipple = stipple_stage(stage); local
203 struct stipple_stage *stipple = stipple_stage(stage); local
237 struct stipple_stage *stipple = CALLOC_STRUCT(stipple_stage); local
[all...]
H A Ddraw_pipe.c44 draw->pipeline.stipple = draw_stipple_stage( draw );
56 !draw->pipeline.stipple ||
83 if (draw->pipeline.stipple)
84 draw->pipeline.stipple->destroy( draw->pipeline.stipple );
H A Ddraw_pipe_pstipple.c29 * Polygon stipple stage: implement polygon stipple with texture map and
32 * stipple-failing fragments.
91 const struct pipe_poly_stipple *stipple; member in struct:pstip_stage::__anon11958
282 * Take gl_FragCoord, divide by 32 (stipple size), sample the
335 * Generate the frag shader we'll use for doing polygon stipple.
387 * Load texture image with current stipple pattern.
395 const uint *stipple = pstip->state.stipple->stipple; local
748 pstip_set_polygon_stipple(struct pipe_context *pipe, const struct pipe_poly_stipple *stipple) argument
[all...]
H A Ddraw_pipe_validate.c85 /* line stipple */
121 /* polygon stipple */
218 draw->pipeline.stipple->next = next;
219 next = draw->pipeline.stipple;
H A Ddraw_private.h114 struct draw_stage *stipple; member in struct:draw_context::__anon11959
125 boolean line_stipple; /**< do line stipple? */
230 /** Rasterizer CSOs without culling/stipple/etc */
426 * These flags are used by the pipeline when unfilled and/or line stipple modes
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_clip.c75 const struct pipe_poly_stipple *stipple)
81 llvmpipe->poly_stipple = *stipple; /* struct copy */
74 llvmpipe_set_polygon_stipple(struct pipe_context *pipe, const struct pipe_poly_stipple *stipple) argument
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_quad_stipple.c3 * quad polygon stipple stage
14 * Apply polygon stipple to quads produced by triangle rasterization
34 const uint stipple0 = softpipe->poly_stipple.stipple[y0 % 32];
35 const uint stipple1 = softpipe->poly_stipple.stipple[y1 % 32];
37 /* turn off quad mask bits that fail the stipple test */
H A Dsp_state_clip.c75 const struct pipe_poly_stipple *stipple)
81 softpipe->poly_stipple = *stipple; /* struct copy */
74 softpipe_set_polygon_stipple(struct pipe_context *pipe, const struct pipe_poly_stipple *stipple) argument
H A Dsp_state_derived.c277 * This should be called when the polygon stipple pattern changes.
278 * We create a new texture from the stipple pattern and create a new
288 softpipe->poly_stipple.stipple);
300 * Should be called when polygon stipple is enabled/disabled or when
303 * the polygon stipple texture. The texture unit that we use depends on
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_stipple.c29 * \brief polygon stipple state
45 * OpenGL's polygon stipple is indexed with window coordinates in which
48 * To convert GL's polygon stipple to what gallium expects we need to
49 * invert the pattern vertically and rotate the stipple rows according
77 invert_stipple(newStipple.stipple, ctx->PolygonStipple,
85 /** Update the stipple when the pattern or window height changes */
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_pixel_bitmap.c187 GLuint stipple[32]; local
253 assert(sz <= sizeof(stipple));
254 memset(stipple, 0, sz);
267 (GLubyte *)stipple,
274 (GLubyte *)stipple,
323 * - Chop bitmap up into 32x32 squares and render w/polygon stipple.
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_pixel_bitmap.c187 GLuint stipple[32]; local
253 assert(sz <= sizeof(stipple));
254 memset(stipple, 0, sz);
267 (GLubyte *)stipple,
274 (GLubyte *)stipple,
323 * - Chop bitmap up into 32x32 squares and render w/polygon stipple.
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_pixel_bitmap.c187 GLuint stipple[32]; local
253 assert(sz <= sizeof(stipple));
254 memset(stipple, 0, sz);
267 (GLubyte *)stipple,
274 (GLubyte *)stipple,
323 * - Chop bitmap up into 32x32 squares and render w/polygon stipple.
/external/mesa3d/src/mesa/tnl/
H A Dt_vb_render.c127 const GLboolean stipple = ctx->Line.StippleFlag; \
129 (void) elt; (void) mask; (void) sz; (void) stipple;
133 #define RESET_STIPPLE if (stipple) tnl->Driver.Render.ResetLineStipple( ctx )
215 const GLboolean stipple = ctx->Line.StippleFlag; \
217 (void) elt; (void) stipple
219 #define RESET_STIPPLE if (stipple) tnl->Driver.Render.ResetLineStipple( ctx )
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_state_dynamic.c197 * Polygon stipple
199 * The i915 supports a 4x4 stipple natively, GL wants 32x32.
200 * Fortunately stipple is usually a repeating pattern.
202 * XXX: does stipple pattern need to be adjusted according to
221 const ubyte *mask = (const ubyte *)i915->poly_stipple.stipple;
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_context.h101 struct pipe_poly_stipple stipple; member in struct:nv30_context
H A Dnv30_state.c366 const struct pipe_poly_stipple *stipple)
370 nv30->stipple = *stipple;
365 nv30_set_polygon_stipple(struct pipe_context *pipe, const struct pipe_poly_stipple *stipple) argument
H A Dnv30_state_validate.c223 PUSH_DATAp(push, nv30->stipple.stipple, 32);
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_misc.c45 const struct pipe_poly_stipple *stipple )
/external/mesa3d/src/gallium/include/pipe/
H A Dp_state.h160 unsigned stipple[32]; member in struct:pipe_poly_stipple
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_context.h145 struct pipe_poly_stipple stipple; member in struct:nv50_context
H A Dnv50_state_validate.c133 PUSH_DATA(push, util_bswap32(nv50->stipple.stipple[i]));
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_context.h149 struct pipe_poly_stipple stipple; member in struct:nvc0_context
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_context.h307 * - eliding noop statechange loops? (except line stipple count)
336 struct radeon_stipple_state stipple; member in struct:r100_state
/external/libvorbis/examples/
H A Dframeview.pl407 -stipple=>'gray50');
443 $w->createLine($x,0,$x,$useabley,-tags=>['axes'],-width=>1,-stipple=>"gray50");

Completed in 735 milliseconds

12