Lines Matching refs:atoms
123 const struct svga_tracked_state *atoms[], in update_state() argument
144 for (i = 0; atoms[i] != NULL; i++) { in update_state()
147 assert(atoms[i]->dirty); in update_state()
148 assert(atoms[i]->update); in update_state()
150 if (check_state(*state, atoms[i]->dirty)) { in update_state()
152 debug_printf("update: %s\n", atoms[i]->name); in update_state()
153 ret = atoms[i]->update( svga, *state ); in update_state()
165 atoms[i]->name); in update_state()
170 accumulate_state(&examined, atoms[i]->dirty); in update_state()
174 for (i = 0; atoms[i] != NULL; i++) { in update_state()
175 if (check_state(*state, atoms[i]->dirty)) { in update_state()
176 ret = atoms[i]->update( svga, *state ); in update_state()