Lines Matching refs:new_state
112 GLbitfield new_state = 0x0; in update_program() local
210 new_state |= _NEW_PROGRAM; in update_program()
218 new_state |= _NEW_PROGRAM; in update_program()
226 new_state |= _NEW_PROGRAM; in update_program()
233 return new_state; in update_program()
243 GLbitfield new_state = 0x0; in update_program_constants() local
249 new_state |= _NEW_PROGRAM_CONSTANTS; in update_program_constants()
259 new_state |= _NEW_PROGRAM_CONSTANTS; in update_program_constants()
267 new_state |= _NEW_PROGRAM_CONSTANTS; in update_program_constants()
271 return new_state; in update_program_constants()
391 update_tricaps(struct gl_context *ctx, GLbitfield new_state)
458 GLbitfield new_state = ctx->NewState; in _mesa_update_state_locked() local
462 if (new_state == _NEW_CURRENT_ATTRIB) in _mesa_update_state_locked()
466 _mesa_print_state("_mesa_update_state", new_state); in _mesa_update_state_locked()
486 if (new_state & prog_flags) in _mesa_update_state_locked()
489 if (new_state & (_NEW_MODELVIEW|_NEW_PROJECTION)) in _mesa_update_state_locked()
490 _mesa_update_modelview_project( ctx, new_state ); in _mesa_update_state_locked()
492 if (new_state & (_NEW_PROGRAM|_NEW_TEXTURE|_NEW_TEXTURE_MATRIX)) in _mesa_update_state_locked()
493 _mesa_update_texture( ctx, new_state ); in _mesa_update_state_locked()
495 if (new_state & _NEW_BUFFERS) in _mesa_update_state_locked()
498 if (new_state & (_NEW_SCISSOR | _NEW_BUFFERS | _NEW_VIEWPORT)) in _mesa_update_state_locked()
501 if (new_state & _NEW_POLYGON) in _mesa_update_state_locked()
504 if (new_state & _NEW_LIGHT) in _mesa_update_state_locked()
507 if (new_state & (_NEW_LIGHT | _NEW_PROGRAM)) in _mesa_update_state_locked()
510 if (new_state & (_NEW_LIGHT | _NEW_BUFFERS)) in _mesa_update_state_locked()
513 if (new_state & (_NEW_STENCIL | _NEW_BUFFERS)) in _mesa_update_state_locked()
516 if (new_state & _NEW_PIXEL) in _mesa_update_state_locked()
517 _mesa_update_pixel( ctx, new_state ); in _mesa_update_state_locked()
519 if (new_state & _MESA_NEW_SEPARATE_SPECULAR) in _mesa_update_state_locked()
522 if (new_state & (_NEW_BUFFERS | _NEW_VIEWPORT)) in _mesa_update_state_locked()
525 if (new_state & (_NEW_MULTISAMPLE | _NEW_BUFFERS)) in _mesa_update_state_locked()
528 if (new_state & (_NEW_COLOR | _NEW_BUFFERS)) in _mesa_update_state_locked()
531 if(new_state & (_NEW_FRAG_CLAMP | _NEW_BUFFERS)) in _mesa_update_state_locked()
535 if (new_state & (_NEW_POINT | _NEW_LINE | _NEW_POLYGON | _NEW_LIGHT in _mesa_update_state_locked()
537 update_tricaps( ctx, new_state ); in _mesa_update_state_locked()
549 if (new_state & _MESA_NEW_NEED_EYE_COORDS) in _mesa_update_state_locked()
550 _mesa_update_tnl_spaces( ctx, new_state ); in _mesa_update_state_locked()
552 if (new_state & prog_flags) { in _mesa_update_state_locked()
560 if (new_state & (_NEW_ARRAY | _NEW_PROGRAM | _NEW_BUFFER_OBJECT)) in _mesa_update_state_locked()
575 new_state = ctx->NewState | new_prog_state; in _mesa_update_state_locked()
577 ctx->Driver.UpdateState(ctx, new_state); in _mesa_update_state_locked()