Searched refs:ShadeModel (Results 1 – 25 of 41) sorted by relevance
12
48 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) { in TAG()86 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) { in TAG()116 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) { in TAG()149 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) { in TAG()
319 } else if (ctx->Light.ShadeModel == GL_SMOOTH || in TAG()335 if (ctx->Light.ShadeModel == GL_SMOOTH) { in TAG()373 if (ctx->Light.ShadeModel == GL_SMOOTH || in TAG()466 ok = (HAVE_POLYGONS) || ctx->Light.ShadeModel == GL_SMOOTH || in TAG()470 ok = VB->Elts || ctx->Light.ShadeModel == GL_SMOOTH; in TAG()473 ok = ctx->Light.ShadeModel == GL_SMOOTH || in TAG()
428 else if (ctx->Light.ShadeModel == GL_FLAT) { in TAG()824 if (ctx->Light.ShadeModel == GL_FLAT) { in TAG()
62 if (ctx->Light.ShadeModel == GL_SMOOTH) { in _swrast_feedback_triangle()88 if (ctx->Light.ShadeModel == GL_SMOOTH) { in _swrast_feedback_line()
361 if (ctx->Light.ShadeModel == GL_SMOOTH) { in NAME()388 assert(ctx->Light.ShadeModel == GL_FLAT); in NAME()645 if (ctx->Light.ShadeModel == GL_SMOOTH) { in NAME()670 assert(ctx->Light.ShadeModel == GL_FLAT); in NAME()
82 assert(ctx->Light.ShadeModel==GL_FLAT); \108 assert(ctx->Light.ShadeModel==GL_SMOOTH); \1139 if (ctx->Light.ShadeModel==GL_SMOOTH) { in _swrast_choose_triangle()
141 if (ctx->Light.ShadeModel == GL_SMOOTH) { in NAME()
224 if (ctx->Light.ShadeModel == GL_SMOOTH) { in NAME()
122 if (ctx->Light.ShadeModel == GL_SMOOTH) {
168 if (ctx->Light.ShadeModel == GL_FLAT) in TAG()238 if (ctx->Light.ShadeModel == GL_FLAT) { in TAG()300 if (ctx->Light.ShadeModel == GL_FLAT) { in TAG()
152 driver->ShadeModel = NULL; in _mesa_init_driver_functions()284 ctx->Driver.ShadeModel(ctx, ctx->Light.ShadeModel); in _mesa_init_driver_state()
47 if (ctx->Light.ShadeModel == mode) in _mesa_ShadeModel()56 ctx->Light.ShadeModel = mode; in _mesa_ShadeModel()58 if (ctx->Driver.ShadeModel) in _mesa_ShadeModel()59 ctx->Driver.ShadeModel( ctx, mode ); in _mesa_ShadeModel()1202 ctx->Light.ShadeModel = GL_SMOOTH; in _mesa_init_lighting()
214 if (ctx->Light.ShadeModel == GL_SMOOTH) in nv04_emit_blend()
138 PUSH_DATA (push, ctx->Light.ShadeModel == GL_SMOOTH ? in nv10_emit_shade_model()
536 ctx->Driver.ShadeModel = nouveau_shade_model; in nouveau_state_init()
187 if (key->primitive == _3DPRIM_QUADLIST && ctx->Light.ShadeModel != GL_FLAT) { in brw_ff_gs_populate_key()
90 ctx->Light.ShadeModel != GL_FLAT && in brw_set_prim()96 ctx->Light.ShadeModel != GL_FLAT && in brw_set_prim()
523 (ctx->Light.ShadeModel == GL_FLAT); in brw_wm_populate_key()
119 OFFSET( "CTX_LIGHT_SHADE_MODEL ", struct gl_context, Light.ShadeModel ); in main()
1031 if ( ctx->Light.ShadeModel==GL_SMOOTH in get_triangle_func()1058 if ( ctx->Light.ShadeModel==GL_FLAT in get_triangle_func()1086 && ctx->Light.ShadeModel==GL_SMOOTH in get_triangle_func()1111 && ctx->Light.ShadeModel==GL_FLAT in get_triangle_func()
460 if (ctx->Light.ShadeModel != GL_FLAT) return (swrast_line_func) NULL; in get_line_func()
98 raster->flatshade = ctx->Light.ShadeModel == GL_FLAT; in st_update_rasterizer()
135 if (ctx->Light.ShadeModel == GL_FLAT) { in _swsetup_render_tri()
218 ctx->Light.ShadeModel != GL_FLAT || in osmesa_choose_line_function()351 if (ctx->Light.ShadeModel == GL_SMOOTH) { in osmesa_choose_triangle_function()
270 if (prim == GL_POLYGON && ctx->Light.ShadeModel == GL_FLAT) in radeonTclPrimitive()