Lines Matching defs:dgapix
37 dgai_pix_notify(_Dga_pixmap dgapix)
39 if (dgapix->siteNotifyFunc && (dgapix->changeMask & DGA_CHANGE_SITE)) {
40 (*dgapix->siteNotifyFunc)((Dga_drawable)dgapix, -1,
41 dgapix->siteNotifyClientData,
42 dgapix->siteChgReason);
43 dgapix->changeMask &= ~DGA_CHANGE_SITE;
50 _Dga_pixmap dgapix = (_Dga_pixmap)dgadraw;
55 mutex_lock(dgapix->mutexp);
58 if (dgapix->shadow_chngcnt[0] == *dgapix->s_chngcnt_p) {
59 mutex_unlock(dgapix->mutexp);
66 infop = PIX_INFOP(dgapix);
68 dgapix->changeMask = 0;
72 dgapix->changeMask |= DGA_CHANGE_ZOMBIE;
74 if (dgapix->changeMask & DGA_CHANGE_ZOMBIE) {
75 dgapix->changeMask |= (DGA_CHANGE_SITE | DGA_CHANGE_CLIP);
76 dgapix->siteChgReason = DGA_SITECHG_ZOMBIE;
80 if (dgapix->c_devinfocnt != *dgapix->s_devinfocnt_p) {
81 dgapix->changeMask |= DGA_CHANGE_DEVINFO;
82 dgapix->c_devinfocnt = *dgapix->s_devinfocnt_p;
86 if (dgapix->c_cachecnt != *dgapix->s_cachecnt_p) {
87 dgapix->changeMask |= (DGA_CHANGE_CACHE | DGA_CHANGE_SITE);
88 dgapix->siteChgReason = DGA_SITECHG_CACHE;
89 dgapix->c_cached = *dgapix->s_cached_p;
90 dgapix->c_cachecnt = *dgapix->s_cachecnt_p;
93 dgai_pix_notify(dgapix);
98 dgapix->shadow_chngcnt[0] = *dgapix->s_chngcnt_p;
102 dgapix->c_chngcnt[0] = *dgapix->s_chngcnt_p - 1;
103 mutex_unlock(dgapix->mutexp);
106 dgapix->c_chngcnt[0] = *dgapix->s_chngcnt_p;
109 dgapix->c_chngcnt[0] = *dgapix->s_chngcnt_p;
111 return(dgapix->changeMask);