Lines Matching refs:dgawin
120 _Dga_window dgawin = (_Dga_window)dgadraw;
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 = (struct dga_window *)dgadraw;
170 Dga_window clientpi = (Dga_window)dgawin;
186 if (!DGA_LOCKSUBJ_WINDOW(dgawin, dgawin->eLockSubj))
207 infop = wx_infop(dgawin) ;
209 if ( dgawin->buf_resize_flag < infop->wx_abuf.s_modified )
214 c_bufferp = (dga_internal_buffer)dgawin->back;
216 return dgawin->back;
220 c_bufferp = (dga_internal_buffer)dgawin->depth;
222 return dgawin->depth;
226 c_bufferp = (dga_internal_buffer)dgawin->stencil;
228 return dgawin->stencil;
232 c_bufferp = (dga_internal_buffer)dgawin->accum;
234 return dgawin->accum;
238 c_bufferp = (dga_internal_buffer)dgawin->alpha;
240 return dgawin->alpha;
275 infop = wx_infop(dgawin) ;
286 c_bufferp = (dga_internal_buffer)dgawin->back;
291 c_bufferp = (dga_internal_buffer)dgawin->depth;
296 c_bufferp = (dga_internal_buffer)dgawin->stencil;
301 c_bufferp = (dga_internal_buffer)dgawin->accum;
306 c_bufferp = (dga_internal_buffer)dgawin->alpha;
340 _Dga_window dgawin = (_Dga_window)dgadraw;
354 if (!DGA_LOCKSUBJ_WINDOW(dgawin, dgawin->eLockSubj))
357 if ((dgawin == (_Dga_window) NULL)) {
368 if (!_dga_is_X_window(dgawin->w_token, &dpy, &win)) {
375 infop = wx_infop(dgawin) ;
379 c_bufferp = (dga_internal_buffer)dgawin->back;
385 c_bufferp = (dga_internal_buffer)dgawin->depth;
391 c_bufferp = (dga_internal_buffer)dgawin->stencil;
397 c_bufferp = (dga_internal_buffer)dgawin->accum;
403 c_bufferp = (dga_internal_buffer)dgawin->alpha;
430 ((dga_internal_buffer)dgawin->back)->bufferp = NULL;
433 ((dga_internal_buffer)dgawin->depth)->bufferp = NULL;
436 ((dga_internal_buffer)dgawin->stencil)->bufferp = NULL;
439 ((dga_internal_buffer)dgawin->accum)->bufferp = NULL;
442 ((dga_internal_buffer)dgawin->alpha)->bufferp = NULL;
477 _Dga_window dgawin = (_Dga_window)dgadraw;
478 WXINFO *infop = wx_infop(dgawin);
481 if ( dgawin->buf_resize_flag < infop->wx_abuf.s_modified )
484 STORE_BUFFERS((dga_internal_buffer)dgawin->back, infop->wx_abuf.back_fn, infop->wx_abuf.back_fn[0], infop->wx_abuf.back_size);
486 STORE_BUFFERS((dga_internal_buffer)dgawin->depth, infop->wx_abuf.depth_fn, infop->wx_abuf.depth_fn[0], infop->wx_abuf.depth_size);
488 STORE_BUFFERS((dga_internal_buffer)dgawin->stencil, infop->wx_abuf.stencil_fn, infop->wx_abuf.stencil_fn[0], infop->wx_abuf.stencil_size);
490 STORE_BUFFERS((dga_internal_buffer)dgawin->accum, infop->wx_abuf.accum_fn, infop->wx_abuf.accum_fn[0], infop->wx_abuf.accum_size);
492 STORE_BUFFERS((dga_internal_buffer)dgawin->alpha, infop->wx_abuf.alpha_fn, infop->wx_abuf.alpha_fn[0], infop->wx_abuf.alpha_size);
495 dgawin->buf_resize_flag = infop->wx_abuf.s_modified;
510 _Dga_window dgawin;
517 dgawin = (_Dga_window)((dga_internal_buffer)bufferp)->pDraw;
518 infop = wx_infop(dgawin);
520 if ( dgawin->buf_resize_flag < infop->wx_abuf.s_modified ) {
556 _Dga_window dgawin;
563 dgawin = (_Dga_window)((dga_internal_buffer)bufferp)->pDraw;
564 infop = wx_infop(dgawin);
566 if ( dgawin->buf_resize_flag < infop->wx_abuf.s_modified ) {
586 _Dga_window dgawin = (_Dga_window)dgadraw;
587 WXINFO *infop = wx_infop(dgawin);
610 _Dga_window dgawin;
617 dgawin = (_Dga_window)((dga_internal_buffer)bufferp)->pDraw;
618 infop = wx_infop(dgawin);
620 if ( dgawin->buf_resize_flag < infop->wx_abuf.s_modified ) {
649 _Dga_window dgawin;
656 dgawin = (_Dga_window)((dga_internal_buffer)bufferp)->pDraw;
657 infop = wx_infop(dgawin);
659 if ( dgawin->buf_resize_flag < infop->wx_abuf.s_modified ) {
682 _Dga_window dgawin;
689 dgawin = (_Dga_window)((dga_internal_buffer)bufferp)->pDraw;
690 infop = wx_infop(dgawin);
692 if ( dgawin->buf_resize_flag < infop->wx_abuf.s_modified ) {
716 _Dga_window dgawin;
723 dgawin = (_Dga_window)((dga_internal_buffer)bufferp)->pDraw;
724 infop = wx_infop(dgawin);
726 if ( dgawin->buf_resize_flag < infop->wx_abuf.s_modified ) {
740 _Dga_window dgawin = (_Dga_window)dgadraw;
741 WXINFO *infop = wx_infop(dgawin);
744 (*visfunc)(dgawin);
749 dgawin->c_buffer_swap = infop->wx_abuf.buffer_swap;
758 _Dga_window dgawin = (_Dga_window)dgadraw;
759 WXINFO *infop = wx_infop(dgawin);
763 && ( dgawin->c_buffer_swap != infop->wx_abuf.buffer_swap)) {
764 dgawin->c_buffer_swap = infop->wx_abuf.buffer_swap;