Lines Matching refs:drawable

131     DrawablePtr drawable;  in proc_dri3_open()  local
138 status = dixLookupDrawable(&drawable, stuff->drawable, client, 0, DixGetAttrAccess); in proc_dri3_open()
148 if (drawable->pScreen != provider->pScreen) in proc_dri3_open()
151 screen = drawable->pScreen; in proc_dri3_open()
168 DrawablePtr drawable; in proc_dri3_pixmap_from_buffer() local
176 rc = dixLookupDrawable(&drawable, stuff->drawable, client, M_ANY, DixGetAttrAccess); in proc_dri3_pixmap_from_buffer()
178 client->errorValue = stuff->drawable; in proc_dri3_pixmap_from_buffer()
191 DepthPtr depth = drawable->pScreen->allowedDepths; in proc_dri3_pixmap_from_buffer()
193 for (i = 0; i < drawable->pScreen->numDepths; i++, depth++) in proc_dri3_pixmap_from_buffer()
196 if (i == drawable->pScreen->numDepths) { in proc_dri3_pixmap_from_buffer()
209 drawable->pScreen, 1, &fd, in proc_dri3_pixmap_from_buffer()
218 pixmap->drawable.id = stuff->pixmap; in proc_dri3_pixmap_from_buffer()
225 (*drawable->pScreen->DestroyPixmap) (pixmap); in proc_dri3_pixmap_from_buffer()
256 rep.width = pixmap->drawable.width; in proc_dri3_buffer_from_pixmap()
257 rep.height = pixmap->drawable.height; in proc_dri3_buffer_from_pixmap()
258 rep.depth = pixmap->drawable.depth; in proc_dri3_buffer_from_pixmap()
259 rep.bpp = pixmap->drawable.bitsPerPixel; in proc_dri3_buffer_from_pixmap()
287 DrawablePtr drawable; in proc_dri3_fence_from_fd() local
295 status = dixLookupDrawable(&drawable, stuff->drawable, client, M_ANY, DixGetAttrAccess); in proc_dri3_fence_from_fd()
303 status = SyncCreateFenceFromFD(client, drawable, stuff->fence, in proc_dri3_fence_from_fd()
319 DrawablePtr drawable; in proc_dri3_fd_from_fence() local
326 status = dixLookupDrawable(&drawable, stuff->drawable, client, M_ANY, DixGetAttrAccess); in proc_dri3_fd_from_fence()
333 fd = SyncFDFromFence(client, drawable, fence); in proc_dri3_fd_from_fence()
371 pScreen = window->drawable.pScreen; in proc_dri3_get_supported_modifiers()
373 dri3_get_supported_modifiers(pScreen, &window->drawable, in proc_dri3_get_supported_modifiers()
424 screen = window->drawable.pScreen; in proc_dri3_pixmap_from_buffers()
482 pixmap->drawable.id = stuff->pixmap; in proc_dri3_pixmap_from_buffers()
528 rep.width = pixmap->drawable.width; in proc_dri3_buffers_from_pixmap()
529 rep.height = pixmap->drawable.height; in proc_dri3_buffers_from_pixmap()
530 rep.depth = pixmap->drawable.depth; in proc_dri3_buffers_from_pixmap()
531 rep.bpp = pixmap->drawable.bitsPerPixel; in proc_dri3_buffers_from_pixmap()
603 swapl(&stuff->drawable); in sproc_dri3_open()
616 swapl(&stuff->drawable); in sproc_dri3_pixmap_from_buffer()
642 swapl(&stuff->drawable); in sproc_dri3_fence_from_fd()
654 swapl(&stuff->drawable); in sproc_dri3_fd_from_fence()