Home
last modified time | relevance | path

Searched refs:SmoothFlag (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_util.h52 CLAMP(!_mesa_is_multisample_enabled(&brw->ctx) && !brw->ctx.Line.SmoothFlag in brw_get_line_width()
56 if (!_mesa_is_multisample_enabled(&brw->ctx) && brw->ctx.Line.SmoothFlag && line_width < 1.5f) { in brw_get_line_width()
Dbrw_wm.c434 if (ctx->Line.SmoothFlag) { in brw_wm_populate_key()
DgenX_state_upload.c1650 if (ctx->Line.SmoothFlag) {
1668 if ((ctx->Point.SmoothFlag || _mesa_is_multisample_enabled(ctx)) &&
4560 raster.SmoothPointEnable = point->SmoothFlag;
4598 raster.AntialiasingEnable = ctx->Line.SmoothFlag;
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_polygon.c63 GLboolean smooth = ctx->Line.SmoothFlag && in nv10_emit_line_mode()
87 PUSH_DATAb(push, ctx->Point.SmoothFlag); in nv10_emit_point_mode()
100 PUSH_DATAb(push, ctx->Polygon.SmoothFlag); in nv10_emit_polygon_mode()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c166 raster->poly_smooth = ctx->Polygon.SmoothFlag; in st_update_rasterizer()
172 raster->point_smooth = !ctx->Point.PointSprite && ctx->Point.SmoothFlag; in st_update_rasterizer()
211 raster->line_smooth = ctx->Line.SmoothFlag; in st_update_rasterizer()
212 if (ctx->Line.SmoothFlag) { in st_update_rasterizer()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_line.c98 && ctx->Point.Size == 1.0F && !ctx->Point.SmoothFlag in xmesa_choose_point()
458 if (ctx->Line.SmoothFlag) return (swrast_line_func) NULL; in get_line_func()
519 && !ctx->Line.SmoothFlag) { in get_line_func()
Dxm_tri.c1017 if (ctx->Polygon.SmoothFlag) in get_triangle_func()
/external/mesa3d/src/mesa/main/
Denable.c549 if (ctx->Line.SmoothFlag == state) in _mesa_set_enable()
553 ctx->Line.SmoothFlag = state; in _mesa_set_enable()
776 if (ctx->Point.SmoothFlag == state) in _mesa_set_enable()
779 ctx->Point.SmoothFlag = state; in _mesa_set_enable()
784 if (ctx->Polygon.SmoothFlag == state) in _mesa_set_enable()
789 ctx->Polygon.SmoothFlag = state; in _mesa_set_enable()
1570 return ctx->Line.SmoothFlag; in _mesa_IsEnabled()
1662 return ctx->Point.SmoothFlag; in _mesa_IsEnabled()
1666 return ctx->Polygon.SmoothFlag; in _mesa_IsEnabled()
Dlines.c146 ctx->Line.SmoothFlag = GL_FALSE; in _mesa_init_line()
Dattrib.c351 attr->LineSmooth = ctx->Line.SmoothFlag; in _mesa_PushAttrib()
375 attr->PointSmooth = ctx->Point.SmoothFlag; in _mesa_PushAttrib()
380 attr->PolygonSmooth = ctx->Polygon.SmoothFlag; in _mesa_PushAttrib()
650 TEST_AND_UPDATE(ctx->Line.SmoothFlag, enable->LineSmooth, GL_LINE_SMOOTH); in pop_enable_group()
697 TEST_AND_UPDATE(ctx->Point.SmoothFlag, enable->PointSmooth, in pop_enable_group()
709 TEST_AND_UPDATE(ctx->Polygon.SmoothFlag, enable->PolygonSmooth, in pop_enable_group()
1284 _mesa_set_enable(ctx, GL_LINE_SMOOTH, line->SmoothFlag); in _mesa_PopAttrib()
1304 _mesa_set_enable(ctx, GL_POINT_SMOOTH, point->SmoothFlag); in _mesa_PopAttrib()
1346 _mesa_set_enable(ctx, GL_POLYGON_SMOOTH, polygon->SmoothFlag); in _mesa_PopAttrib()
Dpoints.c242 ctx->Point.SmoothFlag = GL_FALSE; in _mesa_init_point()
Dpolygon.c368 ctx->Polygon.SmoothFlag = GL_FALSE; in _mesa_init_polygon()
Dmtypes.h655 GLboolean SmoothFlag; /**< GL_LINE_SMOOTH enabled? */ member
767 GLboolean SmoothFlag; /**< True if GL_POINT_SMOOTH is enabled */ member
785 GLboolean SmoothFlag; /**< True if GL_POLYGON_SMOOTH is enabled */ member
/external/mesa3d/src/mesa/swrast/
Ds_aatriangle.c283 assert(ctx->Polygon.SmoothFlag); in _swrast_set_aa_triangle_function()
Ds_lines.c232 if (ctx->Line.SmoothFlag) { in _swrast_choose_line()
Ds_aaline.c480 assert(ctx->Line.SmoothFlag); in _swrast_choose_aa_line_function()
Ds_points.c552 else if (ctx->Point.SmoothFlag) { in _swrast_choose_point()
Ds_triangle.c1016 if (ctx->Polygon.SmoothFlag) { in _swrast_choose_triangle()
/external/mesa3d/src/mesa/drivers/common/
Ddriverfuncs.c256 ctx->Driver.Enable(ctx, GL_LINE_SMOOTH, ctx->Line.SmoothFlag); in _mesa_init_driver_state()
Dmeta.c586 save->PolygonSmooth = ctx->Polygon.SmoothFlag; in _mesa_meta_begin()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c221 ctx->Line.SmoothFlag) { in osmesa_choose_line_function()
330 ctx->Polygon.SmoothFlag || in osmesa_choose_triangle_function()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tcl.c70 #define HW_POINTS ((!ctx->Point.SmoothFlag) ? \
Dr200_swtcl.c324 return ((!ctx->Point.SmoothFlag) ? in reduced_hw_prim()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c495 else if (ctx->Point.SmoothFlag || _mesa_is_multisample_enabled(ctx)) { in fetch_state()