/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_rasterizer.c | 46 void *rasterizer) in softpipe_bind_rasterizer_state() argument 50 if (softpipe->rasterizer == rasterizer) in softpipe_bind_rasterizer_state() 54 draw_set_rasterizer_state(softpipe->draw, rasterizer, rasterizer); in softpipe_bind_rasterizer_state() 56 softpipe->rasterizer = rasterizer; in softpipe_bind_rasterizer_state() 64 void *rasterizer) in softpipe_delete_rasterizer_state() argument 66 FREE( rasterizer ); in softpipe_delete_rasterizer_state()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_validate.c | 66 const struct pipe_rasterizer_state *rasterizer, in draw_need_pipeline() argument 75 rasterizer, in draw_need_pipeline() 86 if (rasterizer->line_stipple_enable && draw->pipeline.line_stipple) in draw_need_pipeline() 90 if (roundf(rasterizer->line_width) > draw->pipeline.wide_line_threshold) in draw_need_pipeline() 94 if (rasterizer->line_smooth && draw->pipeline.aaline) in draw_need_pipeline() 101 if (rasterizer->point_size > draw->pipeline.wide_point_threshold) in draw_need_pipeline() 105 if (rasterizer->point_quad_rasterization in draw_need_pipeline() 110 if (rasterizer->point_smooth && draw->pipeline.aapoint) in draw_need_pipeline() 114 if (rasterizer->sprite_coord_enable && draw->pipeline.point_sprite) in draw_need_pipeline() 122 if (rasterizer->poly_stipple_enable && draw->pipeline.pstipple) in draw_need_pipeline() [all …]
|
D | draw_pt_decompose.h | 6 !(draw->rasterizer->flatshade && \ 7 draw->rasterizer->flatshade_first);
|
D | draw_pipe_offset.c | 131 offset->units = (float) (stage->draw->rasterizer->offset_units * stage->draw->mrd); in offset_first_tri() 132 offset->scale = stage->draw->rasterizer->offset_scale; in offset_first_tri() 133 offset->clamp = stage->draw->rasterizer->offset_clamp; in offset_first_tri()
|
D | draw_pipe_wide_line.c | 63 const float half_width = 0.5f * stage->draw->rasterizer->line_width; in wideline_line() 81 stage->draw->rasterizer->gl_rasterization_rules; in wideline_line() 157 const struct pipe_rasterizer_state *rast = draw->rasterizer; in wideline_first_line()
|
/external/mesa3d/src/gallium/tests/graw/ |
D | tri.c | 123 struct pipe_rasterizer_state rasterizer; in init() local 125 memset(&rasterizer, 0, sizeof rasterizer); in init() 126 rasterizer.cull_face = PIPE_FACE_NONE; in init() 127 rasterizer.gl_rasterization_rules = 1; in init() 128 rasterizer.flatshade = FlatShade; in init() 129 rasterizer.depth_clip = 1; in init() 130 handle = info.ctx->create_rasterizer_state(info.ctx, &rasterizer); in init()
|
D | quad-tex.c | 186 struct pipe_rasterizer_state rasterizer; in init() local 188 memset(&rasterizer, 0, sizeof rasterizer); in init() 189 rasterizer.cull_face = PIPE_FACE_NONE; in init() 190 rasterizer.gl_rasterization_rules = 1; in init() 191 rasterizer.depth_clip = 1; in init() 192 handle = info.ctx->create_rasterizer_state(info.ctx, &rasterizer); in init()
|
D | tri-gs.c | 254 struct pipe_rasterizer_state rasterizer; in init() local 256 memset(&rasterizer, 0, sizeof rasterizer); in init() 257 rasterizer.cull_face = PIPE_FACE_NONE; in init() 258 rasterizer.gl_rasterization_rules = 1; in init() 259 rasterizer.depth_clip = 1; in init() 260 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
|
D | shader-leak.c | 249 struct pipe_rasterizer_state rasterizer; in init() local 251 memset(&rasterizer, 0, sizeof rasterizer); in init() 252 rasterizer.cull_face = PIPE_FACE_NONE; in init() 253 rasterizer.gl_rasterization_rules = 1; in init() 254 rasterizer.depth_clip = 1; in init() 255 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
|
D | tri-instanced.c | 305 struct pipe_rasterizer_state rasterizer; in init() local 307 memset(&rasterizer, 0, sizeof rasterizer); in init() 308 rasterizer.cull_face = PIPE_FACE_NONE; in init() 309 rasterizer.gl_rasterization_rules = 1; in init() 310 rasterizer.depth_clip = 1; in init() 311 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
|
D | quad-sample.c | 376 struct pipe_rasterizer_state rasterizer; in init() local 378 memset(&rasterizer, 0, sizeof rasterizer); in init() 379 rasterizer.cull_face = PIPE_FACE_NONE; in init() 380 rasterizer.gl_rasterization_rules = 1; in init() 381 rasterizer.depth_clip = 1; in init() 382 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
|
D | vs-test.c | 454 struct pipe_rasterizer_state rasterizer; in init() local 456 memset(&rasterizer, 0, sizeof rasterizer); in init() 457 rasterizer.cull_face = PIPE_FACE_NONE; in init() 458 rasterizer.point_size = 8.0; in init() 459 rasterizer.gl_rasterization_rules = 1; in init() 460 rasterizer.depth_clip = 1; in init() 461 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
|
D | fs-test.c | 503 struct pipe_rasterizer_state rasterizer; in init() local 505 memset(&rasterizer, 0, sizeof rasterizer); in init() 506 rasterizer.cull_face = PIPE_FACE_NONE; in init() 507 rasterizer.gl_rasterization_rules = 1; in init() 508 rasterizer.depth_clip = 1; in init() 509 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
|
D | graw_util.h | 174 struct pipe_rasterizer_state rasterizer; in graw_util_default_state() local 176 memset(&rasterizer, 0, sizeof rasterizer); in graw_util_default_state() 177 rasterizer.cull_face = PIPE_FACE_NONE; in graw_util_default_state() 178 rasterizer.gl_rasterization_rules = 1; in graw_util_default_state() 179 handle = info->ctx->create_rasterizer_state(info->ctx, &rasterizer); in graw_util_default_state()
|
D | gs-test.c | 567 struct pipe_rasterizer_state rasterizer; in init() local 569 memset(&rasterizer, 0, sizeof rasterizer); in init() 570 rasterizer.cull_face = PIPE_FACE_NONE; in init() 571 rasterizer.gl_rasterization_rules = 1; in init() 572 rasterizer.depth_clip = 1; in init() 573 handle = ctx->create_rasterizer_state(ctx, &rasterizer); in init()
|
/external/mesa3d/src/gallium/tests/trivial/ |
D | tri.c | 70 struct pipe_rasterizer_state rasterizer; member 153 memset(&p->rasterizer, 0, sizeof(p->rasterizer)); in init_prog() 154 p->rasterizer.cull_face = PIPE_FACE_NONE; in init_prog() 155 p->rasterizer.gl_rasterization_rules = 1; in init_prog() 156 p->rasterizer.depth_clip = 1; in init_prog() 254 cso_set_rasterizer(p->cso, &p->rasterizer); in draw()
|
D | quad-tex.c | 72 struct pipe_rasterizer_state rasterizer; member 202 memset(&p->rasterizer, 0, sizeof(p->rasterizer)); in init_prog() 203 p->rasterizer.cull_face = PIPE_FACE_NONE; in init_prog() 204 p->rasterizer.gl_rasterization_rules = 1; in init_prog() 205 p->rasterizer.depth_clip = 1; in init_prog() 318 cso_set_rasterizer(p->cso, &p->rasterizer); in draw()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_rasterizer.c | 105 llvmpipe->rasterizer = &state->lp_state; in llvmpipe_bind_rasterizer_state() 126 llvmpipe->rasterizer = NULL; in llvmpipe_bind_rasterizer_state() 136 void *rasterizer) in llvmpipe_delete_rasterizer_state() argument 138 FREE( rasterizer ); in llvmpipe_delete_rasterizer_state()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state.c | 884 const struct pipe_rasterizer_state *rasterizer) in i915_create_rasterizer_state() argument 888 cso->templ = *rasterizer; in i915_create_rasterizer_state() 889 cso->color_interp = rasterizer->flatshade ? INTERP_CONSTANT : INTERP_LINEAR; in i915_create_rasterizer_state() 890 cso->light_twoside = rasterizer->light_twoside; in i915_create_rasterizer_state() 892 cso->ds[1].f = rasterizer->offset_scale; in i915_create_rasterizer_state() 893 if (rasterizer->poly_stipple_enable) { in i915_create_rasterizer_state() 897 if (rasterizer->scissor) in i915_create_rasterizer_state() 902 switch (rasterizer->cull_face) { in i915_create_rasterizer_state() 907 if (rasterizer->front_ccw) in i915_create_rasterizer_state() 913 if (rasterizer->front_ccw) in i915_create_rasterizer_state() [all …]
|
D | i915_state_immediate.c | 109 LIS4 |= i915->rasterizer->LIS4; in upload_S2S4() 142 if (i915->rasterizer->LIS7) { in upload_S5() 197 LIS7 = i915->rasterizer->LIS7; in upload_S7()
|
D | i915_state_dynamic.c | 185 &i915->rasterizer->ds[0].u, 2); in upload_DEPTHSCALE() 216 st[1] |= i915->rasterizer->st; in upload_STIPPLE() 253 set_dynamic(i915, I915_DYNAMIC_SC_ENA_0, i915->rasterizer->sc[0]); in upload_SCISSOR_ENABLE()
|
/external/skia/src/effects/ |
D | SkLayerRasterizer.cpp | 200 SkLayerRasterizer* rasterizer; in detachRasterizer() local 202 rasterizer = nullptr; in detachRasterizer() 205 rasterizer = new SkLayerRasterizer(fLayers); in detachRasterizer() 208 return rasterizer; in detachRasterizer() 227 SkLayerRasterizer* rasterizer = new SkLayerRasterizer(layers); in snapshotRasterizer() local 228 return rasterizer; in snapshotRasterizer()
|
/external/pdfium/core/src/fxge/agg/src/ |
D | fx_agg_driver.cpp | 113 static void RasterizeStroke(agg::rasterizer_scanline_aa& rasterizer, in RasterizeStroke() argument 176 rasterizer.add_path_transformed(stroke, pObject2Device); in RasterizeStroke() 183 rasterizer.add_path_transformed(stroke, pObject2Device); in RasterizeStroke() 292 void CFX_AggDeviceDriver::SetClipMask(agg::rasterizer_scanline_aa& rasterizer) { in SetClipMask() argument 293 FX_RECT path_rect(rasterizer.min_x(), rasterizer.min_y(), in SetClipMask() 294 rasterizer.max_x() + 1, rasterizer.max_y() + 1); in SetClipMask() 312 agg::render_scanlines(rasterizer, scanline, final_render, in SetClipMask() 338 agg::rasterizer_scanline_aa rasterizer; in SetClip_PathFill() local 339 rasterizer.clip_box(0.0f, 0.0f, (FX_FLOAT)(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in SetClip_PathFill() 341 rasterizer.add_path(path_data.m_PathData); in SetClip_PathFill() [all …]
|
/external/mesa3d/src/mesa/swrast_setup/ |
D | NOTES | 3 A helper module which provides glue to bind the software rasterizer to 7 rasterizer. 12 There are strong advantages to decoupling the software rasterizer from 15 rasterizer in the t&l module, allowing the two modules to evolve 20 twoside-lit triangles. The software rasterizer doesn't handle these
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_program.c | 93 p->rasterizer.cull_face = PIPE_FACE_NONE; in pp_init_prog() 94 p->rasterizer.gl_rasterization_rules = 1; in pp_init_prog() 95 p->rasterizer.depth_clip = 1; in pp_init_prog()
|