Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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.c445 if (ctx->Line.SmoothFlag) { in brw_wm_populate_key()
DgenX_state_upload.c1649 if (ctx->Line.SmoothFlag) {
1667 if ((ctx->Point.SmoothFlag || _mesa_is_multisample_enabled(ctx)) &&
4553 raster.SmoothPointEnable = point->SmoothFlag;
4591 raster.AntialiasingEnable = ctx->Line.SmoothFlag;
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c190 raster->poly_smooth = !multisample && ctx->Polygon.SmoothFlag; in st_update_rasterizer()
198 ctx->Point.SmoothFlag; in st_update_rasterizer()
239 if (!multisample && ctx->Line.SmoothFlag) { in st_update_rasterizer()
251 raster->line_rectangular = multisample || ctx->Line.SmoothFlag; in st_update_rasterizer()
/third_party/mesa3d/src/mesa/main/
Dattrib.c152 attr->LineSmooth = ctx->Line.SmoothFlag; in _mesa_PushAttrib()
176 attr->PointSmooth = ctx->Point.SmoothFlag; in _mesa_PushAttrib()
181 attr->PolygonSmooth = ctx->Polygon.SmoothFlag; in _mesa_PushAttrib()
376 TEST_AND_UPDATE(ctx->Line.SmoothFlag, enable->LineSmooth, GL_LINE_SMOOTH); in pop_enable_group()
423 TEST_AND_UPDATE(ctx->Point.SmoothFlag, enable->PointSmooth, in pop_enable_group()
435 TEST_AND_UPDATE(ctx->Polygon.SmoothFlag, enable->PolygonSmooth, in pop_enable_group()
1039 TEST_AND_UPDATE(ctx->Line.SmoothFlag, attr->Line.SmoothFlag, GL_LINE_SMOOTH); in _mesa_PopAttrib()
1057 TEST_AND_UPDATE(ctx->Point.SmoothFlag, attr->Point.SmoothFlag, GL_POINT_SMOOTH); in _mesa_PopAttrib()
1100 TEST_AND_UPDATE(ctx->Polygon.SmoothFlag, attr->Polygon.SmoothFlag, GL_POLYGON_SMOOTH); in _mesa_PopAttrib()
Dlines.c146 ctx->Line.SmoothFlag = GL_FALSE; in _mesa_init_line()
Denable.c582 if (ctx->Line.SmoothFlag == state) in _mesa_set_enable()
587 ctx->Line.SmoothFlag = state; in _mesa_set_enable()
815 if (ctx->Point.SmoothFlag == state) in _mesa_set_enable()
818 ctx->Point.SmoothFlag = state; in _mesa_set_enable()
823 if (ctx->Polygon.SmoothFlag == state) in _mesa_set_enable()
829 ctx->Polygon.SmoothFlag = state; in _mesa_set_enable()
1635 return ctx->Line.SmoothFlag; in _mesa_IsEnabled()
1727 return ctx->Point.SmoothFlag; in _mesa_IsEnabled()
1731 return ctx->Polygon.SmoothFlag; in _mesa_IsEnabled()
Dpoints.c219 ctx->Point.SmoothFlag = GL_FALSE; in _mesa_init_point()
Dpolygon.c384 ctx->Polygon.SmoothFlag = GL_FALSE; in _mesa_init_polygon()
Dmtypes.h631 GLboolean SmoothFlag; /**< GL_LINE_SMOOTH enabled? */ member
743 GLboolean SmoothFlag; /**< True if GL_POINT_SMOOTH is enabled */ member
760 GLboolean SmoothFlag; /**< True if GL_POLYGON_SMOOTH is enabled */ member
/third_party/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()
/third_party/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.c545 else if (ctx->Point.SmoothFlag) { in _swrast_choose_point()
Ds_triangle.c1016 if (ctx->Polygon.SmoothFlag) { in _swrast_choose_triangle()
/third_party/mesa3d/src/mesa/drivers/common/
Ddriverfuncs.c259 ctx->Driver.Enable(ctx, GL_LINE_SMOOTH, ctx->Line.SmoothFlag); in _mesa_init_driver_state()
Dmeta.c587 save->PolygonSmooth = ctx->Polygon.SmoothFlag; in _mesa_meta_begin()
/third_party/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()
/third_party/mesa3d/src/mesa/program/
Dprog_statevars.c625 else if (ctx->Point.SmoothFlag || _mesa_is_multisample_enabled(ctx)) { in fetch_state()