Home
last modified time | relevance | path

Searched refs:ShadeModel (Results 1 – 25 of 44) 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.h409 else if (HAVE_TRI_FANS && ctx->Light.ShadeModel == GL_SMOOTH) { in TAG()
449 ctx->Light.ShadeModel == GL_FLAT && in TAG()
998 } else if (HAVE_TRI_FANS && ctx->Light.ShadeModel == GL_SMOOTH) { in TAG()
1032 if (ctx->Light.ShadeModel == GL_FLAT) { in TAG()
1222 ok = (HAVE_TRI_FANS && ctx->Light.ShadeModel == GL_SMOOTH); in TAG()
1232 ctx->Light.ShadeModel == GL_FLAT && 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.c63 if (ctx->Light.ShadeModel == GL_SMOOTH) { in _swrast_feedback_triangle()
89 if (ctx->Light.ShadeModel == GL_SMOOTH) { in _swrast_feedback_line()
Ds_tritemp.h356 if (ctx->Light.ShadeModel == GL_SMOOTH) { in NAME()
383 ASSERT(ctx->Light.ShadeModel == GL_FLAT); in NAME()
640 if (ctx->Light.ShadeModel == GL_SMOOTH) { in NAME()
665 ASSERT(ctx->Light.ShadeModel == GL_FLAT); in NAME()
Ds_triangle.c81 ASSERT(ctx->Light.ShadeModel==GL_FLAT); \
107 ASSERT(ctx->Light.ShadeModel==GL_SMOOTH); \
1137 if (ctx->Light.ShadeModel==GL_SMOOTH) { in _swrast_choose_triangle()
Ds_linetemp.h224 if (ctx->Light.ShadeModel == GL_SMOOTH) { in NAME()
Ds_aalinetemp.h141 if (ctx->Light.ShadeModel == GL_SMOOTH) { in NAME()
/external/mesa3d/src/mesa/tnl/
Dt_vb_cliptmp.h169 if (ctx->Light.ShadeModel == GL_FLAT) in TAG()
240 if (ctx->Light.ShadeModel == GL_FLAT) { in TAG()
303 if (ctx->Light.ShadeModel == GL_FLAT) { in TAG()
/external/mesa3d/src/mesa/drivers/common/
Ddriverfuncs.c150 driver->ShadeModel = NULL; in _mesa_init_driver_functions()
300 ctx->Driver.ShadeModel(ctx, ctx->Light.ShadeModel); in _mesa_init_driver_state()
/external/mesa3d/src/mesa/main/
Dlight.c52 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()
1201 ctx->Light.ShadeModel = GL_SMOOTH; in _mesa_init_lighting()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_raster.c212 if (ctx->Light.ShadeModel == GL_SMOOTH) in nv04_emit_blend()
Dnv10_state_raster.c134 PUSH_DATA (push, ctx->Light.ShadeModel == GL_SMOOTH ? in nv10_emit_shade_model()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sf.c194 key.do_flat_shading = (ctx->Light.ShadeModel == GL_FLAT); in brw_upload_sf_prog()
Dbrw_draw.c99 ctx->Light.ShadeModel != GL_FLAT && in brw_set_prim()
105 ctx->Light.ShadeModel != GL_FLAT && in brw_set_prim()
Dbrw_gs.c176 if (key->primitive == _3DPRIM_QUADLIST && ctx->Light.ShadeModel != GL_FLAT) { in populate_key()
Dbrw_clip.c151 key.do_flat_shading = (ctx->Light.ShadeModel == GL_FLAT); in brw_upload_clip_prog()
Dgen7_sf_state.c40 bool shade_model_flat = ctx->Light.ShadeModel == GL_FLAT; in upload_sbe_state()
Dgen6_sf_state.c124 bool shade_model_flat = ctx->Light.ShadeModel == GL_FLAT; in upload_sf_state()
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c175 ctx->Light.ShadeModel != GL_FLAT && in translate_prim()
Dst_atom_rasterizer.c87 if (ctx->Light.ShadeModel == GL_FLAT) in update_raster_state()
/external/mesa3d/src/mesa/x86/
Dgen_matypes.c99 OFFSET( "CTX_LIGHT_SHADE_MODEL ", struct gl_context, Light.ShadeModel ); in main()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_tri.c1029 if ( ctx->Light.ShadeModel==GL_SMOOTH in get_triangle_func()
1056 if ( ctx->Light.ShadeModel==GL_FLAT in get_triangle_func()
1084 && ctx->Light.ShadeModel==GL_SMOOTH in get_triangle_func()
1109 && ctx->Light.ShadeModel==GL_FLAT in get_triangle_func()
/external/mesa3d/src/mesa/swrast_setup/
Dss_triangle.c133 if (ctx->Light.ShadeModel == GL_FLAT) { in _swsetup_render_tri()
/external/mesa3d/src/mesa/drivers/osmesa/
Dosmesa.c200 if (ctx->Light.ShadeModel != GL_FLAT) return NULL; in osmesa_choose_line_function()
313 if (ctx->Light.ShadeModel == GL_SMOOTH) { in osmesa_choose_triangle_function()

12