Home
last modified time | relevance | path

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

12

/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.c152 if (ctx->Polygon.SmoothFlag) in update_raster_state()
162 if (!ctx->Point.PointSprite && ctx->Point.SmoothFlag) in update_raster_state()
215 raster->line_smooth = ctx->Line.SmoothFlag; in update_raster_state()
216 if (ctx->Line.SmoothFlag) { in update_raster_state()
/external/mesa3d/src/mesa/main/
Denable.c413 if (ctx->Line.SmoothFlag == state) in _mesa_set_enable()
416 ctx->Line.SmoothFlag = state; in _mesa_set_enable()
599 if (ctx->Point.SmoothFlag == state) in _mesa_set_enable()
602 ctx->Point.SmoothFlag = state; in _mesa_set_enable()
608 if (ctx->Polygon.SmoothFlag == state) in _mesa_set_enable()
611 ctx->Polygon.SmoothFlag = state; in _mesa_set_enable()
1293 return ctx->Line.SmoothFlag; in _mesa_IsEnabled()
1385 return ctx->Point.SmoothFlag; in _mesa_IsEnabled()
1389 return ctx->Polygon.SmoothFlag; in _mesa_IsEnabled()
Dstate.c399 if (ctx->Point.SmoothFlag)
409 if (ctx->Line.SmoothFlag)
419 if (ctx->Polygon.SmoothFlag)
Dlines.c129 ctx->Line.SmoothFlag = GL_FALSE; in _mesa_init_line()
Dattrib.c278 attr->LineSmooth = ctx->Line.SmoothFlag; in _mesa_PushAttrib()
304 attr->PointSmooth = ctx->Point.SmoothFlag; in _mesa_PushAttrib()
309 attr->PolygonSmooth = ctx->Polygon.SmoothFlag; in _mesa_PushAttrib()
528 TEST_AND_UPDATE(ctx->Line.SmoothFlag, enable->LineSmooth, GL_LINE_SMOOTH); in pop_enable_group()
583 TEST_AND_UPDATE(ctx->Point.SmoothFlag, enable->PointSmooth, in pop_enable_group()
595 TEST_AND_UPDATE(ctx->Polygon.SmoothFlag, enable->PolygonSmooth, in pop_enable_group()
1123 _mesa_set_enable(ctx, GL_LINE_SMOOTH, line->SmoothFlag); in _mesa_PopAttrib()
1143 _mesa_set_enable(ctx, GL_POINT_SMOOTH, point->SmoothFlag); in _mesa_PopAttrib()
1183 _mesa_set_enable(ctx, GL_POLYGON_SMOOTH, polygon->SmoothFlag); in _mesa_PopAttrib()
Dpoints.c241 ctx->Point.SmoothFlag = GL_FALSE; in _mesa_init_point()
Dpolygon.c325 ctx->Polygon.SmoothFlag = GL_FALSE; in _mesa_init_polygon()
Dmtypes.h969 GLboolean SmoothFlag; /**< GL_LINE_SMOOTH enabled? */ member
1066 GLboolean SmoothFlag; /**< True if GL_POINT_SMOOTH is enabled */ member
1089 GLboolean SmoothFlag; /**< True if GL_POLYGON_SMOOTH is enabled */ member
Dget.c591 { GL_LINE_SMOOTH, CONTEXT_BOOL(Line.SmoothFlag), NO_EXTRA },
608 { GL_POINT_SMOOTH, CONTEXT_BOOL(Point.SmoothFlag), NO_EXTRA },
922 { GL_POLYGON_SMOOTH, CONTEXT_BOOL(Polygon.SmoothFlag), NO_EXTRA },
/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.c1016 if (ctx->Polygon.SmoothFlag) in get_triangle_func()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c198 if (ctx->Line.SmoothFlag) return NULL; in osmesa_choose_line_function()
203 if (ctx->Line.SmoothFlag) return NULL; in osmesa_choose_line_function()
299 if (ctx->Polygon.SmoothFlag) return (swrast_tri_func) NULL; in osmesa_choose_triangle_function()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_sf_state.c257 if (ctx->Line.SmoothFlag) { in upload_sf_state()
Dgen6_sf_state.c228 if (ctx->Line.SmoothFlag) { in upload_sf_state()
Dbrw_sf_state.c238 if (ctx->Line.SmoothFlag) in upload_sf_unit()
Dbrw_wm.c530 if (ctx->Line.SmoothFlag) { in brw_wm_populate_key()
Dbrw_misc_state.c707 if (!ctx->Line.SmoothFlag || !brw->has_aa_line_parameters) in upload_aa_line_parameters()
/external/mesa3d/src/mesa/swrast/
Ds_lines.c233 if (ctx->Line.SmoothFlag) { in _swrast_choose_line()
Ds_aatriangle.c299 ASSERT(ctx->Polygon.SmoothFlag); in _swrast_set_aa_triangle_function()
Ds_aaline.c479 ASSERT(ctx->Line.SmoothFlag); in _swrast_choose_aa_line_function()
Ds_points.c553 else if (ctx->Point.SmoothFlag) { in _swrast_choose_point()
Ds_triangle.c1015 if (ctx->Polygon.SmoothFlag) { in _swrast_choose_triangle()
/external/mesa3d/src/mesa/drivers/common/
Ddriverfuncs.c268 ctx->Driver.Enable(ctx, GL_LINE_SMOOTH, ctx->Line.SmoothFlag); in _mesa_init_driver_state()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c485 else if (ctx->Point.SmoothFlag || ctx->Multisample._Enabled) { in _mesa_fetch_state()

12