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

123

/external/chromium_org/third_party/mesa/src/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::__anon13704
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;
/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::__anon27115
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;
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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
/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
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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;

Completed in 1190 milliseconds

123