/solaris-x11-s11/open-src/lib/libdga/sun-src/ |
H A D | win_update.c | 40 static void dgai_win_getLastSeqs (_Dga_window dgawin, DgaLastSeqsPtr pLastSeqs); 41 static int dgai_win_syncAgain (_Dga_window dgawin, DgaLastSeqsPtr pLastSeqs); 42 static void dgai_win_mb_update (_Dga_window dgawin); 43 static void dgai_mbwin_syncLockSubj (_Dga_window dgawin); 72 dgai_win_update (_Dga_window dgawin, short bufIndex) argument 88 dgai_win_getLastSeqs(dgawin, &lastSeqs); 91 dgawin->changeMask = 0; 97 if (dgai_mbsmemb_syncZombie(dgawin)) { 104 if (lastSeqs.mbufseq != *dgawin->s_mbufseq_p) { 105 dgai_win_mb_update(dgawin); 172 dgai_win_getLastSeqs(_Dga_window dgawin, DgaLastSeqsPtr pLastSeqs) argument 186 dgai_win_syncAgain(_Dga_window dgawin, DgaLastSeqsPtr pLastSeqs) argument 228 dgai_win_mb_update(_Dga_window dgawin) argument 262 dgai_mbwin_syncLockSubj(_Dga_window dgawin) argument 291 dgai_win_syncChanges(_Dga_window dgawin, DgaLastSeqsPtr pLastSeqs) argument [all...] |
H A D | mbsmemb_update.c | 41 static void dgai_mbsmemb_notifySiteChg (_Dga_window dgawin); 42 static void dgai_mbsmemb_notifyMbChg (_Dga_window dgawin); 43 static void dgai_mbsmemb_notifyOvlState (_Dga_window dgawin); 54 _Dga_window dgawin = (_Dga_window) dgadraw; local 59 mutex_lock(dgawin->mutexp); /* lock the per-window mutex */ 62 if (dgawin->shadow_chngcnt[bufIndex + 1] == *dgawin->s_chngcnt_p) { 64 mutex_unlock(dgawin->mutexp); 71 dgawin->rLockSubj = bufIndex; 74 dgawin 113 dgai_mbsmemb_syncZombie(_Dga_window dgawin) argument 133 dgai_mbsmemb_syncMbufset(_Dga_window dgawin) argument 190 dgai_mbsmemb_syncRendBuf(_Dga_window dgawin) argument 232 dgai_mbsmemb_figureDerivChgs(_Dga_window dgawin) argument 288 dgai_mbsmemb_notify(_Dga_window dgawin) argument 308 dgai_mbsmemb_devinfo_update(_Dga_window dgawin) argument 330 dgai_mbsmemb_notifySiteChg(_Dga_window dgawin) argument 345 dgai_mbsmemb_notifyMbChg(_Dga_window dgawin) argument 376 dgai_mbsmemb_notifyOvlState(_Dga_window dgawin) argument [all...] |
H A D | mbuf_update.c | 38 static void dgai_mbuf_getLastSeqs (_Dga_window dgawin, DgaLastSeqsPtr pLastSeqs, short bufIndex); 39 static int dgai_mbuf_syncAgain (_Dga_window dgawin, DgaLastSeqsPtr pLastSeqs); 40 static void dgai_mbuf_mb_update (_Dga_window dgawin); 41 static void dgai_mbuf_syncLockSubj (_Dga_window dgawin); 42 static void dgai_mbuf_figureDerivChgs (_Dga_window dgawin); 69 dgai_mbuf_update (_Dga_window dgawin, short bufIndex) argument 80 if (dgawin->c_mbufseq != *dgawin->s_mbufseq_p) 81 dgai_mbsmemb_syncMbufset(dgawin); 94 pMbufSet = dgawin 173 dgai_mbuf_getLastSeqs(_Dga_window dgawin, DgaLastSeqsPtr pLastSeqs, short bufIndex) argument 196 dgai_mbuf_syncAgain(_Dga_window dgawin, DgaLastSeqsPtr pLastSeqs) argument 235 dgai_mbuf_mb_update(_Dga_window dgawin) argument 285 dgai_mbuf_syncLockSubj(_Dga_window dgawin) argument 318 dgai_mbuf_figureDerivChgs(_Dga_window dgawin) argument 352 dgai_vmbuf_syncChanges(_Dga_window dgawin, DgaLastSeqsPtr pLastSeqs, short bufIndex) argument 382 dgai_nmbuf_syncChanges(_Dga_window dgawin) argument 411 dgai_nmbuf_cache_update(_Dga_window dgawin) argument 428 dgai_nmbuf_devinfo_update(_Dga_window dgawin) argument [all...] |
H A D | mbsmemb_inquiry.c | 35 extern int dgai_rtn_ungrab_common(_Dga_window dgawin, int drawableGrabber); 39 dgai_mbsmemb_display (_Dga_window dgawin) argument 41 return (dgawin->w_dpy); 45 dgai_mbsmemb_devname (_Dga_window dgawin) argument 47 if (dgawin->changeMask & DGA_CHANGE_ZOMBIE) 50 return(((WXINFO *) (dgawin->w_info))->w_devname); 54 dgai_mbsmemb_devfd (_Dga_window dgawin) argument 56 return(dgawin->w_devfd); 60 dgai_mbsmemb_depth (_Dga_window dgawin) argument 62 WXINFO *infop = (WXINFO *) dgawin 74 dgai_mbsmemb_set_client_infop(_Dga_window dgawin, void *client_info_ptr) argument 80 dgai_mbsmemb_get_client_infop(_Dga_window dgawin) argument 86 dgai_mbsmemb_devinfo(_Dga_window dgawin) argument 105 dgai_mbsmemb_devinfochg(_Dga_window dgawin) argument 116 dgai_mbsmemb_sitechg(_Dga_window dgawin, int *reason) argument 129 dgai_mbsmemb_sitesetnotify(_Dga_window dgawin, DgaSiteNotifyFunc site_notify_func, void *client_data) argument 137 dgai_mbsmemb_sitegetnotify(_Dga_window dgawin, DgaSiteNotifyFunc *site_notify_func, void **client_data) argument 145 dgai_mbsmemb_site(_Dga_window dgawin) argument 167 dgai_mbsmemb_address(_Dga_window dgawin) argument 184 dgai_mbsmemb_linebytes(_Dga_window dgawin) argument 201 dgai_mbsmemb_bitsperpixel(_Dga_window dgawin) argument 218 dgai_mbsmemb_clipchg(_Dga_window dgawin) argument 246 dgai_mbsmemb_bbox(_Dga_window dgawin, int *xp, int *yp, int *widthp, int *heightp) argument 272 dgai_mbsmemb_visibility(_Dga_window dgawin) argument 287 dgai_mbsmemb_empty(_Dga_window dgawin) argument 318 dgai_mbsmemb_clipinfo(_Dga_window dgawin) argument 345 dgai_mbsmemb_singlerect(_Dga_window dgawin) argument 361 dgai_mbsmemb_obscured(_Dga_window dgawin) argument 378 dgai_mbsmemb_borderwidth(_Dga_window dgawin) argument 397 dgai_mbsmemb_curshandle(_Dga_window dgawin, DgaCursTakeDownFunc take_down_func, void *client_data) argument 420 dgai_mbsmemb_rtngrab(_Dga_window dgawin) argument 430 dgai_mbsmemb_rtnungrab(_Dga_window dgawin) argument 436 dgai_mbsmemb_rtnchg(_Dga_window dgawin) argument 447 dgai_mbsmemb_rtnactive(_Dga_window dgawin) argument 458 dgai_mbsmemb_rtncached(_Dga_window dgawin) argument 469 dgai_mbsmemb_rtndevinfop(_Dga_window dgawin) argument 480 dgai_mbsmemb_rtndevtype(_Dga_window dgawin, u_char *type, char **name) argument 492 dgai_mbsmemb_rtndimensions(_Dga_window dgawin, short *width, short *height, u_int *linebytes) argument 506 dgai_mbsmemb_rtnbitsperpixel(_Dga_window dgawin) argument 517 dgai_mbsmemb_rtnpixels(_Dga_window dgawin) argument 529 dgai_mbsmemb_mbchg(_Dga_window dgawin, int *reason) argument 542 dgai_mbsmemb_mbsetnotify(_Dga_window dgawin, DgaMbNotifyFunc mb_notify_func, void *client_data) argument 550 dgai_mbsmemb_mbgetnotify(_Dga_window dgawin, DgaMbNotifyFunc *mb_notify_func, void **client_data) argument 559 dgai_mbsmemb_mbaccessmode(_Dga_window dgawin) argument 573 dgai_mbsmemb_mbsitetypeconst(_Dga_window dgawin) argument 587 dgai_mbsmemb_mbsetrendbufnotify(_Dga_window dgawin, DgaRendBufNotifyFunc rb_notify_func, void *client_data) argument 595 dgai_mbsmemb_mbgetrendbufnotify(_Dga_window dgawin, DgaRendBufNotifyFunc *rb_notify_func, void **client_data) argument 603 dgai_mbsmemb_ovlstatechg(_Dga_window dgawin) argument 614 dgai_mbsmemb_ovlstate(_Dga_window dgawin) argument 629 dgai_mbsmemb_setovlstatenotify(_Dga_window dgawin, DgaOvlStateNotifyFunc ovlstate_notify_func, void *client_data) argument 638 dgai_mbsmemb_getovlstatenotify(_Dga_window dgawin, DgaOvlStateNotifyFunc *ovlstate_notify_func, void **client_data) argument [all...] |
H A D | draw_db.c | 39 _Dga_window dgawin = (_Dga_window)dgadraw; local 40 if (!DGA_LOCKSUBJ_WINDOW(dgawin, dgawin->eLockSubj)) { 43 return (dga_db_grab((Dga_window)dgawin, nbuffers, vrtfunc, vrtcounterp)); 55 _Dga_window dgawin = (_Dga_window)dgadraw; local 56 if (!DGA_LOCKSUBJ_WINDOW(dgawin, dgawin->eLockSubj)) { 59 return (dga_db_ungrab((Dga_window)dgawin)); 73 _Dga_window dgawin = (_Dga_window)dgadraw; local 74 if (!DGA_LOCKSUBJ_WINDOW(dgawin, dgawi 92 _Dga_window dgawin = (_Dga_window)dgadraw; local 111 _Dga_window dgawin = (_Dga_window)dgadraw; local 128 _Dga_window dgawin = (_Dga_window)dgadraw; local 145 _Dga_window dgawin = (_Dga_window)dgadraw; local 162 _Dga_window dgawin = (_Dga_window)dgadraw; local 180 _Dga_window dgawin = (_Dga_window)dgadraw; local 198 _Dga_window dgawin = (_Dga_window)dgadraw; local 216 _Dga_window dgawin = (_Dga_window)dgadraw; local 235 _Dga_window dgawin = (_Dga_window)dgadraw; local 253 _Dga_window dgawin = (_Dga_window)dgadraw; local [all...] |
H A D | dga_internaldefs.h | 70 #define DGA_LOCKSUBJ_VALID(dgawin, lockSubj) \ 77 #define DGA_LOCKSUBJ_WINDOW(dgawin, lockSubj) \ 81 #define DGA_LOCKSUBJ_MBUFFER(dgawin, lockSubj) \ 82 (!DGA_LOCKSUBJ_WINDOW((dgawin), (lockSubj)) && \ 83 DGA_LOCKSUBJ_VALID((dgawin), (lockSubj))) 86 #define DGA_LOCKSUBJ_VMBUFFER(dgawin, lockSubj) \ 87 (DGA_LOCKSUBJ_MBUFFER((dgawin), (lockSubj)) \ 88 ? DGA_MBUF_ISVIEWABLE((dgawin)->pMbs, (lockSubj)) \ 92 #define DGA_LOCKSUBJ_NMBUFFER(dgawin, lockSubj) \ 93 (DGA_LOCKSUBJ_MBUFFER((dgawin), (lockSub [all...] |
H A D | dga_internal.h | 354 extern int dgai_mbsmemb_syncZombie (_Dga_window dgawin); 355 extern void dgai_mbsmemb_syncMbufset (_Dga_window dgawin); 356 extern void dgai_mbsmemb_syncRendBuf (_Dga_window dgawin); 357 extern void dgai_mbsmemb_figureDerivChgs (_Dga_window dgawin); 358 extern void dgai_mbsmemb_notify (_Dga_window dgawin); 359 extern void dgai_mbsmemb_devinfo_update(_Dga_window dgawin); 367 extern int dgai_win_update (_Dga_window dgawin, short bufIndex); 368 extern void dgai_win_clip_update(_Dga_window dgawin); 369 extern void dgai_win_curs_update(_Dga_window dgawin); 370 extern void dgai_win_rtn_update(_Dga_window dgawin); [all...] |
H A D | dga_ab.c | 120 _Dga_window dgawin = (_Dga_window)dgadraw; local 121 WXINFO *infop = wx_infop(dgawin); 124 if ( dgawin->buf_resize_flag >= infop->wx_abuf.s_modified ) 127 STORE_BUFFERS((dga_internal_buffer)dgawin->back, infop->wx_abuf.back_fn, infop->wx_abuf.back_fn[0], infop->wx_abuf.back_size); 129 STORE_BUFFERS((dga_internal_buffer)dgawin->depth, infop->wx_abuf.depth_fn, infop->wx_abuf.depth_fn[0], infop->wx_abuf.depth_size); 131 STORE_BUFFERS((dga_internal_buffer)dgawin->stencil, infop->wx_abuf.stencil_fn, infop->wx_abuf.stencil_fn[0], infop->wx_abuf.stencil_size); 133 STORE_BUFFERS((dga_internal_buffer)dgawin->accum, infop->wx_abuf.accum_fn, infop->wx_abuf.accum_fn[0], infop->wx_abuf.accum_size); 135 STORE_BUFFERS((dga_internal_buffer)dgawin->alpha, infop->wx_abuf.alpha_fn, infop->wx_abuf.alpha_fn[0], infop->wx_abuf.alpha_size); 137 dgawin->buf_resize_flag = infop->wx_abuf.s_modified; 169 _Dga_window dgawin local 340 _Dga_window dgawin = (_Dga_window)dgadraw; local 477 _Dga_window dgawin = (_Dga_window)dgadraw; local 510 _Dga_window dgawin; local 556 _Dga_window dgawin; local 586 _Dga_window dgawin = (_Dga_window)dgadraw; local 610 _Dga_window dgawin; local 649 _Dga_window dgawin; local 682 _Dga_window dgawin; local 716 _Dga_window dgawin; local 740 _Dga_window dgawin = (_Dga_window)dgadraw; local 758 _Dga_window dgawin = (_Dga_window)dgadraw; local [all...] |
H A D | mbufset.c | 46 dgai_mbufset_create (_Dga_window dgawin) argument 57 infop = (WXINFO *) dgawin->w_info; 78 if (!dga_pixlist_add(token, dgawin->w_dpy, (Pixmap)*pShinfoId) ||
|
H A D | win_grab.c | 273 static int dga_win_update(Dga_drawable dgawin); 274 static int dgai_win_initMbufset (_Dga_window dgawin); 277 void dgai_win_ungrab_common(_Dga_window dgawin, int cflag,int drawableGrabber); 278 int dgai_win_check_multiple_grab(_Dga_window dgawin, int drawableGrabber); 1675 dgai_win_initMbufset (_Dga_window dgawin) argument 1682 DGA_LOCK(dgawin); 1685 infop = (WXINFO *) dgawin->w_info; 1688 dgawin->pMbs = NULL; 1693 if (!(dgawin->pMbs = dgai_mbufset_create(dgawin))) { 1805 _Dga_window dgawin; local [all...] |
H A D | dga_Xrequests.c | 1273 _Dga_window dgawin; local 1278 if (!(dgawin = (_Dga_window) dgai_win_grab_common(dpy, -1, token, 1))) { goto Bad; 1280 dgawin->w_dpy = dpy; 1281 dgawin->w_id = (Window) drawid; 1282 if (dgawin->isOverlay = (drawType == DGA_PROTO_OVERLAY)) { 1283 dgawin->s_ovlstate_p = &((WXINFO *)dgawin->w_info)->w_ovlstate; 1284 dgawin->s_ovlshapevalid_p = 1285 &((WXINFO *)dgawin->w_info)->w_ovlshapevalid; 1286 dgawin [all...] |
H A D | draw_inquiry.c | 33 extern int dgai_mbsmemb_devinfochg (_Dga_window dgawin);
|