Home | History | Annotate | Download | only in main

Lines Matching defs:new_state

116    GLbitfield new_state = 0x0;
254 new_state |= _NEW_PROGRAM;
262 new_state |= _NEW_PROGRAM;
270 new_state |= _NEW_PROGRAM;
278 new_state |= _NEW_PROGRAM;
286 new_state |= _NEW_PROGRAM;
294 new_state |= _NEW_PROGRAM;
301 return new_state;
311 GLbitfield new_state = 0x0;
317 new_state |= _NEW_PROGRAM_CONSTANTS;
329 new_state |= _NEW_PROGRAM_CONSTANTS;
333 return new_state;
383 GLbitfield new_state = ctx->NewState;
391 if ((new_state & computed_states) == 0)
395 _mesa_print_state("_mesa_update_state", new_state);
415 if (new_state & prog_flags)
418 if (new_state & (_NEW_MODELVIEW|_NEW_PROJECTION))
419 _mesa_update_modelview_project( ctx, new_state );
421 if (new_state & (_NEW_PROGRAM|_NEW_TEXTURE|_NEW_TEXTURE_MATRIX))
422 _mesa_update_texture( ctx, new_state );
424 if (new_state & _NEW_POLYGON)
427 if (new_state & _NEW_BUFFERS)
430 if (new_state & (_NEW_SCISSOR | _NEW_BUFFERS | _NEW_VIEWPORT))
433 if (new_state & _NEW_LIGHT)
436 if (new_state & (_NEW_LIGHT | _NEW_PROGRAM))
439 if (new_state & (_NEW_STENCIL | _NEW_BUFFERS))
442 if (new_state & _NEW_PIXEL)
443 _mesa_update_pixel( ctx, new_state );
454 if (new_state & _MESA_NEW_NEED_EYE_COORDS)
455 _mesa_update_tnl_spaces( ctx, new_state );
457 new_state & prog_flags) {
465 if (new_state & _NEW_ARRAY)
472 * Give the driver a chance to act upon the new_state flags.
480 new_state = ctx->NewState | new_prog_state;
482 ctx->Driver.UpdateState(ctx, new_state);