Home
last modified time | relevance | path

Searched refs:ShadeModel (Results 1 – 25 of 41) sorted by relevance

12

/external/mesa3d/src/mesa/tnl_dd/
Dt_dd_unfilled.h48 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()
Dt_dd_dmatmp.h319 } 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()
Dt_dd_dmatmp2.h428 else if (ctx->Light.ShadeModel == GL_FLAT) { in TAG()
824 if (ctx->Light.ShadeModel == GL_FLAT) { in TAG()
/external/mesa3d/src/mesa/swrast/
Ds_feedback.c62 if (ctx->Light.ShadeModel == GL_SMOOTH) { in _swrast_feedback_triangle()
88 if (ctx->Light.ShadeModel == GL_SMOOTH) { in _swrast_feedback_line()
Ds_tritemp.h361 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()
Ds_triangle.c82 assert(ctx->Light.ShadeModel==GL_FLAT); \
108 assert(ctx->Light.ShadeModel==GL_SMOOTH); \
1139 if (ctx->Light.ShadeModel==GL_SMOOTH) { in _swrast_choose_triangle()
Ds_aalinetemp.h141 if (ctx->Light.ShadeModel == GL_SMOOTH) { in NAME()
Ds_linetemp.h224 if (ctx->Light.ShadeModel == GL_SMOOTH) { in NAME()
Ds_aatritemp.h122 if (ctx->Light.ShadeModel == GL_SMOOTH) {
/external/mesa3d/src/mesa/tnl/
Dt_vb_cliptmp.h168 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()
/external/mesa3d/src/mesa/drivers/common/
Ddriverfuncs.c152 driver->ShadeModel = NULL; in _mesa_init_driver_functions()
284 ctx->Driver.ShadeModel(ctx, ctx->Light.ShadeModel); in _mesa_init_driver_state()
/external/mesa3d/src/mesa/main/
Dlight.c47 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()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_raster.c214 if (ctx->Light.ShadeModel == GL_SMOOTH) in nv04_emit_blend()
Dnv10_state_raster.c138 PUSH_DATA (push, ctx->Light.ShadeModel == GL_SMOOTH ? in nv10_emit_shade_model()
Dnouveau_state.c536 ctx->Driver.ShadeModel = nouveau_shade_model; in nouveau_state_init()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_ff_gs.c187 if (key->primitive == _3DPRIM_QUADLIST && ctx->Light.ShadeModel != GL_FLAT) { in brw_ff_gs_populate_key()
Dbrw_draw.c90 ctx->Light.ShadeModel != GL_FLAT && in brw_set_prim()
96 ctx->Light.ShadeModel != GL_FLAT && in brw_set_prim()
Dbrw_wm.c523 (ctx->Light.ShadeModel == GL_FLAT); in brw_wm_populate_key()
/external/mesa3d/src/mesa/x86/
Dgen_matypes.c119 OFFSET( "CTX_LIGHT_SHADE_MODEL ", struct gl_context, Light.ShadeModel ); in main()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_tri.c1031 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()
Dxm_line.c460 if (ctx->Light.ShadeModel != GL_FLAT) return (swrast_line_func) NULL; in get_line_func()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c98 raster->flatshade = ctx->Light.ShadeModel == GL_FLAT; in st_update_rasterizer()
/external/mesa3d/src/mesa/swrast_setup/
Dss_triangle.c135 if (ctx->Light.ShadeModel == GL_FLAT) { in _swsetup_render_tri()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c218 ctx->Light.ShadeModel != GL_FLAT || in osmesa_choose_line_function()
351 if (ctx->Light.ShadeModel == GL_SMOOTH) { in osmesa_choose_triangle_function()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tcl.c270 if (prim == GL_POLYGON && ctx->Light.ShadeModel == GL_FLAT) in radeonTclPrimitive()

12