pix_update.c revision 830
830N/A/* Copyright 2002 Sun Microsystems, Inc. All rights reserved. 830N/A * Use is subject to license terms. 830N/A * Permission is hereby granted, free of charge, to any person obtaining a 830N/A * copy of this software and associated documentation files (the 830N/A * "Software"), to deal in the Software without restriction, including 830N/A * without limitation the rights to use, copy, modify, merge, publish, 830N/A * distribute, and/or sell copies of the Software, and to permit persons 830N/A * to whom the Software is furnished to do so, provided that the above 830N/A * copyright notice(s) and this permission notice appear in all copies of 830N/A * the Software and that both the above copyright notice(s) and this 830N/A * permission notice appear in supporting documentation. 830N/A * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 830N/A * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 830N/A * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 830N/A * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 830N/A * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 830N/A * INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING 830N/A * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 830N/A * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 830N/A * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 830N/A * Except as contained in this notice, the name of a copyright holder 830N/A * shall not be used in advertising or otherwise to promote the sale, use 830N/A * or other dealings in this Software without prior written authorization 830N/A * of the copyright holder. 830N/A** Routines of the update phase for pixmaps. 830N/A /* check the real change count that we saved away */ 830N/A /* first, see if the shared info is still valid */ 830N/A /* see if the dev_info has changed */ 830N/A /* Has the cache changed? */ 830N/A /* save the real change count */ 830N/A /* For the MT case, make sure that this update function gets called 830N/A * the next time around, so make the change count different.