Lines Matching refs:active_scanout
240 get_private(back)->bo->active_scanout,
267 __FUNCTION__, bo->handle, bo->active_scanout, get_private(back)->refcnt));
268 if (bo->active_scanout == 0) {
278 __FUNCTION__, c->bo ? c->bo->handle : 0, c->bo ? c->bo->active_scanout : -1));
280 if (c->bo->active_scanout == 0) {
334 assert(bo->active_scanout == 0);
336 if (reuse && get_private(back)->bo->refcnt == 1 + get_private(back)->bo->active_scanout) {
344 DBG(("%s: caching handle=%d (name=%d, flags=%d, active_scanout=%d)\n", __FUNCTION__, c->bo->handle, c->name, c->flags, c->bo->active_scanout));
351 assert(bo->active_scanout == 0);
379 assert(priv->front == NULL || get_private(priv->front)->bo->active_scanout);
439 assert(get_private(buffer)->bo->refcnt >= get_private(buffer)->bo->active_scanout);
448 assert(get_private(buffer)->bo->active_scanout == 0);
545 priv->gpu_bo->active_scanout++;
572 assert(private->bo->active_scanout > 0);
573 private->bo->active_scanout--;
583 bo->active_scanout++;
629 DBG(("%s: reusing front buffer attachment, win=%lu %dx%d, pixmap=%ld [%ld] %dx%d, handle=%d, name=%d, active_scanout=%d\n",
638 private->bo->active_scanout));
646 assert(private->bo->active_scanout);
834 if (bo->refcnt > 1 + bo->active_scanout) {
858 DBG(("%s: caching handle=%d (name=%d, flags=%d, active_scanout=%d)\n", __FUNCTION__, bo->handle, name, flags, bo->active_scanout));
892 assert(private->bo->active_scanout > 0);
893 private->bo->active_scanout--;
909 DBG(("%s: removing active_scanout=%d from pixmap handle=%d\n",
910 __FUNCTION__, priv->gpu_bo->active_scanout, priv->gpu_bo->handle));
911 assert(priv->gpu_bo->active_scanout > 0);
912 priv->gpu_bo->active_scanout--;
1737 assert(event->pending.bo->active_scanout > 0);
1738 event->pending.bo->active_scanout--;
1860 assert(info->pending.bo->active_scanout > 0);
1861 info->pending.bo->active_scanout--;
1978 assert(tmp_bo->active_scanout > 0);
1979 tmp_bo->active_scanout--;
1987 bo->active_scanout++;
1988 assert(bo->active_scanout <= bo->refcnt);
2357 DBG(("%s: back_bo handle=%d, pitch=%d, size=%d, ref=%d, active_scanout?=%d\n",
2358 __FUNCTION__, back_bo->handle, back_bo->pitch, kgem_bo_size(back_bo), back_bo->refcnt, back_bo->active_scanout));
2359 DBG(("%s: front_bo handle=%d, pitch=%d, size=%d, ref=%d, active_scanout?=%d\n",
2360 __FUNCTION__, front_bo->handle, front_bo->pitch, kgem_bo_size(front_bo), front_bo->refcnt, front_bo->active_scanout));
2377 assert(front_bo->active_scanout > 0);
2378 front_bo->active_scanout--;
2379 back_bo->active_scanout++;
2380 assert(back_bo->active_scanout <= back_bo->refcnt);
2461 get_private(tmp)->bo->active_scanout++;
2479 assert(front_bo->active_scanout > 0);
2480 front_bo->active_scanout--;
2481 back_bo->active_scanout++;
2482 assert(back_bo->active_scanout <= back_bo->refcnt);
2642 get_private(info->back)->bo->handle, info->back->name, get_private(info->back)->bo->active_scanout,
2643 info->pending.bo->handle, info->pending.name, info->pending.bo->active_scanout,
2644 get_private(info->front)->bo->handle, info->front->name, get_private(info->front)->bo->active_scanout));
2646 assert(info->pending.bo->active_scanout > 0);
2647 info->pending.bo->active_scanout--;
2686 get_private(info->back)->bo->handle, info->back->name, get_private(info->back)->bo->active_scanout,
2687 get_private(info->front)->bo->handle, info->front->name, get_private(info->front)->bo->active_scanout));
2775 get_private(chain->front)->bo->handle, chain->front->name, get_private(chain->front)->bo->active_scanout,
2776 get_private(chain->back)->bo->handle, chain->back->name, get_private(chain->back)->bo->active_scanout));
2794 assert(chain->pending.bo->active_scanout > 0);
2795 chain->pending.bo->active_scanout--;
2818 chain->pending.bo->active_scanout++;
3188 assert(get_private(info->front)->bo->active_scanout);
3297 get_private(back)->bo->active_scanout,
3302 get_private(front)->bo->active_scanout));
3320 assert(get_private(front)->bo->active_scanout);
3321 assert(!get_private(back)->bo->active_scanout);
3359 DBG(("%s: using front handle=%d, active_scanout?=%d, flush?=%d\n", __FUNCTION__, get_private(front)->bo->handle, get_private(front)->bo->active_scanout, sna_pixmap_from_drawable(draw)->flush));
3360 assert(get_private(front)->bo->active_scanout);