Displaying 1 result from an estimated 1 matches for "window_pixmap".
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...);
+ if (ret) {
+ exa->Copy (dst, 0, 0, 0, 0, pScrn->virtualX, pScrn->virtualY);
+ exa->DoneCopy (dst);
+ PUSH_KICK(pNv->pushbuf);
+ }
+
+cleanup_bo:
+ nouveau_bo_ref(NULL, &bo_dst);
+}
+
+static void
+nouveau_xmir_buffer_available(WindowPtr win)
+{
+ int fd;
+ PixmapPtr window_pixmap;
+ ScreenPtr screen = win->drawable.pScreen;
+
+ if (!xmir_window_is_dirty(win))
+ return;
+
+ fd = xmir_prime_fd_for_window(win);
+
+ window_pixmap = (*win->drawable.pScreen->GetWindowPixmap)(win);
+
+ assert(window_pixmap == screen->GetScreenPixmap(screen));
+
+...