Lines Matching defs:bufferp
56 bufferp = (dga_buffer)get_specified_buffer((char *)fname, bufsize); \
57 (dgawin_buf)->bufferp = bufferp; \
63 bufferp = (buf_addr)->bufferp; \
64 if ( bufferp) { \
66 UNMAP_BUFFER(bufferp, (buf_addr)->buf_size) \
68 if ( bufferp ) { \
70 bufferp->pDraw = dgadraw; \
73 (buf_addr)->bufferp = bufferp = (void *) \
76 if (bufferp) { \
78 bufferp->pDraw = dgadraw; \
118 dga_buffer bufferp = NULL;
176 dga_buffer bufferp = NULL;
215 if ( c_bufferp->bufferp )
221 if ( c_bufferp->bufferp )
227 if ( c_bufferp->bufferp )
233 if ( c_bufferp->bufferp )
239 if ( c_bufferp->bufferp )
255 if ( bufferp && (bufferp->buffer_site == DGA_SITE_SYSTEM) &&
256 bufferp->grab_cnt > 0 ) {
257 bufferp->grab_cnt++;
312 if ( bufferp ) {
313 bufferp->pDraw = ret_buf->pDraw = dgadraw;
344 dga_buffer bufferp = NULL;
380 if ( c_bufferp->bufferp )
386 if ( c_bufferp->bufferp )
392 if ( c_bufferp->bufferp )
398 if ( c_bufferp->bufferp )
404 if ( c_bufferp->bufferp )
419 if ( !bufferp )
422 if ( bufferp->buffer_site == DGA_SITE_SYSTEM ) {
423 bufferp->grab_cnt--;
425 if ( bufferp->grab_cnt < 0 )
426 bufferp->grab_cnt = 0;
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;
475 dga_buffer bufferp = NULL;
508 dga_buffer_type(Dga_buffer bufferp)
514 if ( !bufferp || !(local_buf = ((dga_internal_buffer)bufferp)->bufferp))
517 dgawin = (_Dga_window)((dga_internal_buffer)bufferp)->pDraw;
521 remap_buffers((Dga_drawable)((dga_internal_buffer)bufferp)->pDraw);
522 local_buf = ((dga_internal_buffer)bufferp)->bufferp;
537 dga_buffer_get_drawable(Dga_buffer bufferp )
539 if ( !bufferp )
542 return ((dga_buffer)bufferp)->pDraw;
554 dga_buffer_site(Dga_buffer bufferp)
560 if ( !bufferp || !(local_buf = ((dga_internal_buffer)bufferp)->bufferp))
563 dgawin = (_Dga_window)((dga_internal_buffer)bufferp)->pDraw;
567 remap_buffers((Dga_drawable)((dga_internal_buffer)bufferp)->pDraw);
568 local_buf = ((dga_internal_buffer)bufferp)->bufferp;
608 dga_buffer_sitechg(Dga_buffer bufferp, int *reason)
614 if ( !bufferp || !(local_buf = ((dga_internal_buffer)bufferp)->bufferp))
617 dgawin = (_Dga_window)((dga_internal_buffer)bufferp)->pDraw;
621 remap_buffers((Dga_drawable)((dga_internal_buffer)bufferp)->pDraw);
622 local_buf = ((dga_internal_buffer)bufferp)->bufferp;
647 dga_buffer_address(Dga_buffer bufferp)
653 if ( !bufferp || !(local_buf = ((dga_internal_buffer)bufferp)->bufferp))
656 dgawin = (_Dga_window)((dga_internal_buffer)bufferp)->pDraw;
660 remap_buffers((Dga_drawable)((dga_internal_buffer)bufferp)->pDraw);
661 local_buf = ((dga_internal_buffer)bufferp)->bufferp;
680 dga_buffer_linebytes(Dga_buffer bufferp)
686 if ( !bufferp || !(local_buf = ((dga_internal_buffer)bufferp)->bufferp))
689 dgawin = (_Dga_window)((dga_internal_buffer)bufferp)->pDraw;
693 remap_buffers((Dga_drawable)((dga_internal_buffer)bufferp)->pDraw);
694 local_buf = ((dga_internal_buffer)bufferp)->bufferp;
714 dga_buffer_bitsperpixel(Dga_buffer bufferp)
720 if ( !bufferp || !(local_buf = ((dga_internal_buffer)bufferp)->bufferp))
723 dgawin = (_Dga_window)((dga_internal_buffer)bufferp)->pDraw;
727 remap_buffers((Dga_drawable)((dga_internal_buffer)bufferp)->pDraw);
728 local_buf = ((dga_internal_buffer)bufferp)->bufferp;