Lines Matching refs:clientp

100     _Dga_pixmap clientp ;
266 if( (clientp = (_Dga_pixmap) malloc(sizeof(struct dga_pixmap))) == NULL )
269 clientp->drawable_type = DGA_DRAW_PIXMAP;
270 clientp->p_lockcnt = 0;
271 clientp->obsolete = 0;
272 clientp->p_modif = NULL;
273 clientp->p_infop = (void *)infop ;
274 clientp->c_chngcnt[0] = 0;
276 clientp->shadow_chngcnt[0] = 0;
283 clientp->p_chngcnt_2nd = clientp->c_chngcnt +1;
285 clientp->s_chngcnt_p = &(infop->s_modified);
286 clientp->c_dirchngcnt = shpx_dir[1].shpx_entry_1.s_dir_seq;
287 clientp->s_dirchngcnt_p = &(shpx_dir[1].shpx_entry_1.s_dir_seq);
288 clientp->c_devinfocnt = 0;
289 clientp->s_devinfocnt_p = &(infop->s_devinfoseq);
290 clientp->c_cachecnt = 0;
291 clientp->s_cachecnt_p = &(infop->s_cacheseq);
292 clientp->c_cached = 0;
293 clientp->s_cached_p = &(infop->cached);
294 clientp->p_dir_index = i;
295 clientp->p_shpx_dir = (void *)shpx_dir; /*CHECK ME */
298 clientp->p_unlock_func = dgai_unlock;
300 clientp->p_unlock_func = NULL;
303 clientp->p_lock_func = NULL;
304 clientp->p_unlock_func = NULL;
306 clientp->p_update_func = (int(*)())dgai_pix_update;
307 clientp->p_shpx_client = NULL;
308 clientp->p_token = token;
309 clientp->c_size = infop->s_size;
310 clientp->c_pixels = (u_char *)(infop + 1);
311 clientp->depth = infop->depth;
312 clientp->linebytes = infop->linebytes;
313 clientp->p_next = NULL;
314 clientp->p_infofd = NULL;
315 clientp->pix_flags = PIX_NOTICE_CLIPCHG;
316 clientp->p_dpy = 0;
317 clientp->p_id = NULL;
318 clientp->p_client = NULL;
319 clientp->changeMask = NULL;
320 clientp->siteChgReason = NULL;
321 clientp->siteNotifyFunc = NULL;
322 clientp->siteNotifyClientData = NULL;
325 clientp->p_lockp = infop->p_lockp;
326 clientp->p_unlockp = infop->p_unlockp;
344 free(clientp) ;
349 clientp->p_lockp = lockp;
350 clientp->p_unlockp = unlockp;
361 dga_plist->dga_clientplist = clientp;
371 new_plist->dga_clientplist = clientp;
377 clientp->mutexp = &dgaGlobalPixmapMutex;
379 clientp->mutexp = NULL;
382 return ((Dga_pixmap) clientp);
389 _Dga_pixmap clientp = (struct dga_pixmap *)clientpi;
396 if (pixlist->dga_clientplist == clientp) {
425 _dga_winlockdt(clientp->p_lockp, clientp->p_unlockp);
429 free(clientp);
446 _Dga_pixmap clientp = (struct dga_pixmap *)clientpi;
462 _Dga_pixmap clientp = (struct dga_pixmap *)clientpi;
464 if (clientp->c_cachecnt != *(clientp->s_cachecnt_p)) {
466 clientp->c_cachecnt = *(clientp->s_cachecnt_p);
477 _Dga_pixmap clientp = (struct dga_pixmap *)clientpi;
479 if (clientp->c_cached != *(clientp->s_cached_p)) {
481 clientp->c_cached = *(clientp->s_cached_p);
492 _Dga_pixmap clientp = (struct dga_pixmap *)clientpi;
494 return ((char *) PIX_INFOP(clientp)->scr_name);
501 _Dga_pixmap clientp = (struct dga_pixmap *)clientpi;
503 return ((void*)clientp->c_pixels);
510 _Dga_pixmap clientp = (struct dga_pixmap *)clientpi;
512 return (clientp->linebytes);
520 _Dga_pixmap clientp = (struct dga_pixmap *)clientpi;
521 return (clientp->depth);
528 _Dga_pixmap clientp = (struct dga_pixmap *)clientpi;
529 return (((char *)clientp->p_infop) + PIX_INFOP(clientp)->device_offset);