Lines Matching refs:new_state
341 GLbitfield new_state = in update_program_constants() local
349 new_state |= in update_program_constants()
354 new_state |= in update_program_constants()
362 return new_state; in update_program_constants()
398 GLbitfield new_state = ctx->NewState; in _mesa_update_state_locked() local
409 if (!(new_state & checked_states)) in _mesa_update_state_locked()
413 _mesa_print_state("_mesa_update_state", new_state); in _mesa_update_state_locked()
415 if (new_state & _NEW_BUFFERS) in _mesa_update_state_locked()
422 if (new_state & (_NEW_MODELVIEW|_NEW_PROJECTION)) in _mesa_update_state_locked()
423 _mesa_update_modelview_project( ctx, new_state ); in _mesa_update_state_locked()
425 if (new_state & _NEW_TEXTURE_MATRIX) in _mesa_update_state_locked()
426 new_state |= _mesa_update_texture_matrices(ctx); in _mesa_update_state_locked()
428 if (new_state & (_NEW_TEXTURE_OBJECT | _NEW_TEXTURE_STATE | _NEW_PROGRAM)) in _mesa_update_state_locked()
429 new_state |= _mesa_update_texture_state(ctx); in _mesa_update_state_locked()
431 if (new_state & _NEW_LIGHT_CONSTANTS) in _mesa_update_state_locked()
432 new_state |= _mesa_update_lighting(ctx); in _mesa_update_state_locked()
443 if (new_state & (_NEW_TNL_SPACES | _NEW_LIGHT_CONSTANTS | in _mesa_update_state_locked()
445 if (_mesa_update_tnl_spaces(ctx, new_state)) in _mesa_update_state_locked()
446 new_state |= _NEW_FF_VERT_PROGRAM; in _mesa_update_state_locked()
449 if (new_state & _NEW_PROGRAM) in _mesa_update_state_locked()
463 if (new_state & prog_flags) { in _mesa_update_state_locked()
472 if (new_state & (_NEW_TEXTURE_OBJECT | _NEW_PROGRAM)) in _mesa_update_state_locked()
475 if (new_state & _NEW_PROGRAM) in _mesa_update_state_locked()