/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_stipple.c | 31 /* 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->counter = 0 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...] |
draw_pipe_pstipple.c | 29 * 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::__anon19559 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 [all...] |
draw_private.h | 114 struct draw_stage *stipple; member in struct:draw_context::__anon19560 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
|
draw_pipe.c | 44 draw->pipeline.stipple = draw_stipple_stage( draw ); 56 !draw->pipeline.stipple || 83 if (draw->pipeline.stipple) 84 draw->pipeline.stipple->destroy( draw->pipeline.stipple );
|
draw_pipe_validate.c | 85 /* line stipple */ 121 /* polygon stipple */ 218 draw->pipeline.stipple->next = next; 219 next = draw->pipeline.stipple;
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_quad_stipple.c | 3 * 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 */
|
sp_state_clip.c | 75 const struct pipe_poly_stipple *stipple) 81 softpipe->poly_stipple = *stipple; /* struct copy */
|
sp_context.h | 41 /** Do polygon stipple in the draw module? */ 44 /** Do polygon stipple with the util module? */ 143 /** Polygon stipple items */
|
sp_state_derived.c | 277 * 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/ |
st_atom_stipple.c | 29 * \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/gallium/drivers/i915/ |
i915_state_dynamic.c | 197 * 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; 241 "STIPPLE",
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_clip.c | 75 const struct pipe_poly_stipple *stipple) 81 llvmpipe->poly_stipple = *stipple; /* struct copy */
|
/external/mesa3d/docs/ |
conform.html | 150 Line Stipple test passed. 155 Triangle Stipple test passed. 160 Polygon Stipple test passed. 263 Line Stipple test passed. 268 Triangle Stipple test passed. 273 Polygon Stipple test passed. 376 Line Stipple test passed. 381 Triangle Stipple test passed. 386 Polygon Stipple test passed. 489 Line Stipple test passed [all...] |
RELNOTES-6.2 | 22 ToDo: PBO for polygon stipple, convolution filter, etc.
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_pstipple.c | 30 * Polygon stipple helper module. Drivers/GPUs which don't support polygon 31 * stipple natively can use this module to simulate it. 33 * Basically, modify fragment shader to sample the 32x32 stipple pattern 102 * Create a 32x32 alpha8 texture that encodes the given stipple pattern. 131 * Create sampler view to sample the stipple texture. 250 * stipple texture (using the fragment coord register) then kill the 251 * fragment if the stipple texture bit is off. 346 * Take gl_FragCoord, divide by 32 (stipple size), sample the 402 * samples a stipple texture and executes KILL.
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_pixel_bitmap.c | 187 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/ |
t_vb_render.c | 127 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/main/ |
lines.c | 57 * "Wide lines and line stipple - LineWidth is not deprecated, but 83 * Set the line stipple pattern.
|
polygon.c | 191 * This routine updates the ctx->Polygon.Stipple state. 192 * If we're getting the stipple data from a PBO, we map the buffer 195 * the stipple data. 334 /* Polygon Stipple group */
|
/external/mesa3d/src/mesa/swrast/ |
s_lines.c | 38 * Init the mask[] array to implement a line stipple. 117 /* Simple RGBA index line (no stipple, width=1, no Z, no fog, no tex)*/ 124 /* Z, fog, wide, stipple RGBA line */ 247 /* no texture, but Z, fog, width>1, stipple, etc. */
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i830_state.c | 471 * Polygon stipple 473 * The i830 supports a 4x4 stipple natively, GL wants 32x32. 474 * Fortunately stipple is usually a repeating pattern. 489 i830->state.Stipple[I830_STPREG_ST1] &= ~ST1_ENABLE; 492 /* Use the already unpacked stipple data from the context rather than the 526 i830->state.Stipple[I830_STPREG_ST1] &= ~0xffff; 527 i830->state.Stipple[I830_STPREG_ST1] |= newMask; 531 i830->state.Stipple[I830_STPREG_ST1] |= ST1_ENABLE; 890 /* The stipple command worked on my 855GM box, but not my 845G. 897 i830->state.Stipple[I830_STPREG_ST1] &= ~ST1_ENABLE [all...] |
i915_state.c | 444 * Polygon stipple 446 * The i915 supports a 4x4 stipple natively, GL wants 32x32. 447 * Fortunately stipple is usually a repeating pattern. 462 i915->state.Stipple[I915_STPREG_ST1] &= ~ST1_ENABLE; 465 /* Use the already unpacked stipple data from the context rather than the 499 i915->state.Stipple[I915_STPREG_ST1] &= ~0xffff; 500 i915->state.Stipple[I915_STPREG_ST1] |= newMask; 504 i915->state.Stipple[I915_STPREG_ST1] |= ST1_ENABLE; 897 /* The stipple command worked on my 855GM box, but not my 845G. 905 i915->state.Stipple[I915_STPREG_ST1] |= ST1_ENABLE [all...] |
/external/skia/gm/ |
samplerstress.cpp | 99 // stipple mask with a round rect soft clip
|
/external/mesa3d/src/gallium/docs/source/ |
pipeline.txt | 85 | * Polygon Stipple | 86 | * Line Stipple |
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_rasterizer.c | 100 rast->need_pipeline_tris_str = "poly stipple"; 121 rast->need_pipeline_lines_str = "line stipple";
|