Lines Matching full:pending

328     struct xwl_eglstream_pending_stream *pending;  in xwl_eglstream_set_window_pixmap()  local
330 pending = xwl_eglstream_window_get_pending(window); in xwl_eglstream_set_window_pixmap()
331 if (pending) { in xwl_eglstream_set_window_pixmap()
337 pending->is_valid = FALSE; in xwl_eglstream_set_window_pixmap()
341 * destroy once we receive the pending wl_display_sync() for this in xwl_eglstream_set_window_pixmap()
344 pending->xwl_pixmap->refcount++; in xwl_eglstream_set_window_pixmap()
377 * We work around this problem by keeping a queue of pending streams, and
385 * - Resize on same window happens. We invalidate the previously pending
386 * stream and add another one to the pending queue (known as eglstream B).
402 struct xwl_eglstream_pending_stream *pending; in xwl_eglstream_consumer_ready_callback() local
407 xorg_list_for_each_entry(pending, &xwl_eglstream->pending_streams, link) { in xwl_eglstream_consumer_ready_callback()
408 if (pending->cb == callback) { in xwl_eglstream_consumer_ready_callback()
415 if (!pending->is_valid) { in xwl_eglstream_consumer_ready_callback()
416 xwl_eglstream_unref_pixmap_stream(pending->xwl_pixmap); in xwl_eglstream_consumer_ready_callback()
422 xwl_pixmap = pending->xwl_pixmap; in xwl_eglstream_consumer_ready_callback()
426 EGL_WIDTH, pending->pixmap->drawable.width, in xwl_eglstream_consumer_ready_callback()
427 EGL_HEIGHT, pending->pixmap->drawable.height, in xwl_eglstream_consumer_ready_callback()
432 pending->window->drawable.id, pending->pixmap); in xwl_eglstream_consumer_ready_callback()
435 xwl_eglstream_window_set_pending(pending->window, NULL); in xwl_eglstream_consumer_ready_callback()
436 xorg_list_del(&pending->link); in xwl_eglstream_consumer_ready_callback()
437 free(pending); in xwl_eglstream_consumer_ready_callback()
457 DebugF("eglstream: win %d interrupts and replaces pending eglstream for pixmap %p\n", in xwl_eglstream_queue_pending_stream()
534 struct xwl_eglstream_pending_stream *pending = in xwl_glamor_eglstream_allow_commits() local
541 if (pending) { in xwl_glamor_eglstream_allow_commits()
544 if (pending->is_valid) in xwl_glamor_eglstream_allow_commits()