/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 bool 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::__anon29381 119 * Generate the frag shader we'll use for doing polygon stipple. 157 * When we're about to draw our first stipple polygon in a batch, this function 201 /* we'll use sampler/texture[pstip->sampler_unit] for the stipple */ 284 /** Create a new polygon stipple drawing stage object */ 425 const struct pipe_poly_stipple *stipple) 430 pstip->state.stipple = stipple [all...] |
draw_pipe.c | 45 draw->pipeline.stipple = draw_stipple_stage( draw ); 57 !draw->pipeline.stipple || 84 if (draw->pipeline.stipple) 85 draw->pipeline.stipple->destroy( draw->pipeline.stipple );
|
draw_pipe_validate.c | 71 /* line stipple */ 105 /* polygon stipple */ 205 draw->pipeline.stipple->next = next; 206 next = draw->pipeline.stipple;
|
draw_private.h | 128 struct draw_stage *stipple; member in struct:draw_context::__anon29382 139 boolean line_stipple; /**< do line stipple? */ 251 /** Rasterizer CSOs without culling/stipple/etc */ 440 * These flags are used by the pipeline when unfilled and/or line stipple modes
|
/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 78 memcpy(newStipple.stipple, ctx->PolygonStipple, sizeof(newStipple.stipple)); 80 invert_stipple(newStipple.stipple, ctx->PolygonStipple, 89 /** Update the stipple when the pattern or window height changes */
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_clip.c | 86 const struct pipe_poly_stipple *stipple) 92 llvmpipe->poly_stipple = *stipple; /* struct copy */
|
/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 | 85 const struct pipe_poly_stipple *stipple) 91 softpipe->poly_stipple = *stipple; /* struct copy */
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
ilo_state_raster.h | 228 uint32_t stipple[2]; member in struct:ilo_state_line_stipple 236 uint32_t stipple[32]; member in struct:ilo_state_poly_stipple 292 ilo_state_line_stipple_set_info(struct ilo_state_line_stipple *stipple, 297 ilo_state_poly_stipple_set_info(struct ilo_state_poly_stipple *stipple,
|
ilo_state_raster.c | 204 * "Line stipple, controlled via the Line Stipple Enable state variable 899 line_stipple_set_gen6_3DSTATE_LINE_STIPPLE(struct ilo_state_line_stipple *stipple, 922 STATIC_ASSERT(ARRAY_SIZE(stipple->stipple) >= 2); 923 stipple->stipple[0] = dw1; 924 stipple->stipple[1] = dw2; 956 poly_stipple_set_gen6_3DSTATE_POLY_STIPPLE_PATTERN(struct ilo_state_poly_stipple *stipple, [all...] |
ilo_builder_3d_bottom.h | 601 const struct ilo_state_poly_stipple *stipple) 617 const struct ilo_state_poly_stipple *stipple) 628 memcpy(&dw[1], stipple->stipple, sizeof(stipple->stipple)); 633 const struct ilo_state_line_stipple *stipple) 644 dw[1] = stipple->stipple[0]; 645 dw[2] = stipple->stipple[1] [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_pixel_bitmap.c | 189 GLuint stipple[32]; local 268 assert(sz <= sizeof(stipple)); 269 memset(stipple, 0, sz); 282 (GLubyte *)stipple, 290 (GLubyte *)stipple, 342 * - Chop bitmap up into 32x32 squares and render w/polygon stipple.
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
intel_pixel_bitmap.c | 186 GLuint stipple[32]; local 270 assert(sz <= sizeof(stipple)); 271 memset(stipple, 0, sz); 284 (GLubyte *)stipple, 292 (GLubyte *)stipple, 342 * - Chop bitmap up into 32x32 squares and render w/polygon stipple.
|
/external/pdfium/xfa/fxfa/parser/ |
cxfa_fill.cpp | 24 {XFA_Element::Stipple, 1, XFA_PROPERTYFLAG_OneOf}, 106 case XFA_Element::Stipple: 122 CXFA_Stipple* stipple = local 123 JSObject()->GetOrCreateProperty<CXFA_Stipple>(0, XFA_Element::Stipple); 124 if (stipple) 125 stipple->Draw(pGS, fillPath, rtWidget, matrix);
|
/external/mesa3d/src/mesa/tnl/ |
t_vb_render.c | 129 const GLboolean stipple = ctx->Line.StippleFlag; \ 131 (void) elt; (void) mask; (void) sz; (void) stipple; 135 #define RESET_STIPPLE if (stipple) tnl->Driver.Render.ResetLineStipple( ctx ) 217 const GLboolean stipple = ctx->Line.StippleFlag; \ 219 (void) elt; (void) stipple 221 #define RESET_STIPPLE if (stipple) tnl->Driver.Render.ResetLineStipple( ctx )
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_misc.c | 52 const struct pipe_poly_stipple *stipple) 65 /* create new stipple texture */ 67 util_pstipple_create_stipple_texture(pipe, stipple->stipple);
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
freedreno_state.c | 167 const struct pipe_poly_stipple *stipple) 170 ctx->stipple = *stipple;
|
freedreno_context.h | 241 struct pipe_poly_stipple stipple; member in struct:fd_context
|
/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/nouveau/nv30/ |
nv30_context.h | 104 struct pipe_poly_stipple stipple; member in struct:nv30_context
|
nv30_state.c | 393 const struct pipe_poly_stipple *stipple) 397 nv30->stipple = *stipple;
|
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_state.c | 259 const struct pipe_poly_stipple *stipple) 262 vc4->stipple = *stipple;
|
vc4_context.h | 375 struct pipe_poly_stipple stipple; member in struct:vc4_context
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
nv50_context.h | 169 struct pipe_poly_stipple stipple; member in struct:nv50_context
|