Lines Matching refs:dri_drawable
81 struct dri_drawable *drawable = dri_drawable(dPriv); in dri2_invalidate_drawable()
102 dri2_drawable_get_buffers(struct dri_drawable *drawable, in dri2_drawable_get_buffers()
106 __DRIdrawable *dri_drawable = drawable->dPriv; in dri2_drawable_get_buffers() local
194 buffers = loader->getBuffersWithFormat(dri_drawable, in dri2_drawable_get_buffers()
195 &dri_drawable->w, &dri_drawable->h, in dri2_drawable_get_buffers()
197 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers()
200 buffers = loader->getBuffers(dri_drawable, in dri2_drawable_get_buffers()
201 &dri_drawable->w, &dri_drawable->h, in dri2_drawable_get_buffers()
203 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers()
213 dri_image_drawable_get_buffers(struct dri_drawable *drawable,
218 dri_image_drawable_get_buffers(struct dri_drawable *drawable, in dri_image_drawable_get_buffers()
436 struct dri_drawable *drawable, in dri2_allocate_textures()
441 __DRIdrawable *dri_drawable = drawable->dPriv; in dri2_allocate_textures() local
465 drawable->old_w == dri_drawable->w && in dri2_allocate_textures()
466 drawable->old_h == dri_drawable->h && in dri2_allocate_textures()
532 dri_drawable->w = texture->width0; in dri2_allocate_textures()
533 dri_drawable->h = texture->height0; in dri2_allocate_textures()
544 dri_drawable->w = texture->width0; in dri2_allocate_textures()
545 dri_drawable->h = texture->height0; in dri2_allocate_textures()
556 dri_drawable->w = texture->width0; in dri2_allocate_textures()
557 dri_drawable->h = texture->height0; in dri2_allocate_textures()
570 templ.width0 = dri_drawable->w; in dri2_allocate_textures()
571 templ.height0 = dri_drawable->h; in dri2_allocate_textures()
604 templ.width0 = dri_drawable->w; in dri2_allocate_textures()
605 templ.height0 = dri_drawable->h; in dri2_allocate_textures()
727 drawable->old_w = dri_drawable->w; in dri2_allocate_textures()
728 drawable->old_h = dri_drawable->h; in dri2_allocate_textures()
735 struct dri_drawable *drawable, in dri2_flush_frontbuffer()
738 __DRIdrawable *dri_drawable = drawable->dPriv; in dri2_flush_frontbuffer() local
774 image->flushFrontBuffer(dri_drawable, dri_drawable->loaderPrivate); in dri2_flush_frontbuffer()
779 shared_buffer_loader->displaySharedBuffer(dri_drawable, fence_fd, in dri2_flush_frontbuffer()
780 dri_drawable->loaderPrivate); in dri2_flush_frontbuffer()
786 loader->flushFrontBuffer(dri_drawable, dri_drawable->loaderPrivate); in dri2_flush_frontbuffer()
797 struct dri_drawable *drawable) in dri2_flush_swapbuffers()
799 __DRIdrawable *dri_drawable = drawable->dPriv; in dri2_flush_swapbuffers() local
803 image->flushSwapBuffers(dri_drawable, dri_drawable->loaderPrivate); in dri2_flush_swapbuffers()
808 dri2_update_tex_buffer(struct dri_drawable *drawable, in dri2_update_tex_buffer()
2206 struct dri_drawable *drawable = dri_drawable(dPriv); in dri2_set_damage_region()
2580 struct dri_drawable *drawable = NULL; in dri2_create_buffer()