Lines Matching refs:dPriv
55 get_drawable_info(__DRIdrawable *dPriv, int *x, int *y, int *w, int *h) in get_drawable_info() argument
57 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_drawable_info()
60 loader->getDrawableInfo(dPriv, in get_drawable_info()
62 dPriv->loaderPrivate); in get_drawable_info()
66 put_image(__DRIdrawable *dPriv, void *data, unsigned width, unsigned height) in put_image() argument
68 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image()
71 loader->putImage(dPriv, __DRI_SWRAST_IMAGE_OP_SWAP, in put_image()
73 data, dPriv->loaderPrivate); in put_image()
77 put_image2(__DRIdrawable *dPriv, void *data, int x, int y, in put_image2() argument
80 __DRIscreen *sPriv = dPriv->driScreenPriv; in put_image2()
83 loader->putImage2(dPriv, __DRI_SWRAST_IMAGE_OP_SWAP, in put_image2()
85 data, dPriv->loaderPrivate); in put_image2()
89 get_image(__DRIdrawable *dPriv, int x, int y, int width, int height, void *data) in get_image() argument
91 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_image()
94 loader->getImage(dPriv, in get_image()
96 data, dPriv->loaderPrivate); in get_image()
100 get_image2(__DRIdrawable *dPriv, int x, int y, int width, int height, int stride, void *data) in get_image2() argument
102 __DRIscreen *sPriv = dPriv->driScreenPriv; in get_image2()
109 loader->getImage2(dPriv, in get_image2()
111 data, dPriv->loaderPrivate); in get_image2()
117 __DRIdrawable *dPriv = drawable->dPriv; in drisw_update_drawable_info() local
120 get_drawable_info(dPriv, &x, &y, &dPriv->w, &dPriv->h); in drisw_update_drawable_info()
128 __DRIdrawable *dPriv = drawable->dPriv; in drisw_get_image() local
131 get_drawable_info(dPriv, &draw_x, &draw_y, &draw_w, &draw_h); in drisw_get_image()
132 get_image2(dPriv, x, y, draw_w, draw_h, stride, data); in drisw_get_image()
139 __DRIdrawable *dPriv = drawable->dPriv; in drisw_put_image() local
141 put_image(dPriv, data, width, height); in drisw_put_image()
149 __DRIdrawable *dPriv = drawable->dPriv; in drisw_put_image2() local
151 put_image2(dPriv, data, x, y, width, height, stride); in drisw_put_image2()
155 drisw_present_texture(__DRIdrawable *dPriv, in drisw_present_texture() argument
158 struct dri_drawable *drawable = dri_drawable(dPriv); in drisw_present_texture()
168 drisw_invalidate_drawable(__DRIdrawable *dPriv) in drisw_invalidate_drawable() argument
170 struct dri_drawable *drawable = dri_drawable(dPriv); in drisw_invalidate_drawable()
172 drawable->texture_stamp = dPriv->lastStamp - 1; in drisw_invalidate_drawable()
178 drisw_copy_to_front(__DRIdrawable * dPriv, in drisw_copy_to_front() argument
181 drisw_present_texture(dPriv, ptex, NULL); in drisw_copy_to_front()
183 drisw_invalidate_drawable(dPriv); in drisw_copy_to_front()
191 drisw_swap_buffers(__DRIdrawable *dPriv) in drisw_swap_buffers() argument
193 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in drisw_swap_buffers()
194 struct dri_drawable *drawable = dri_drawable(dPriv); in drisw_swap_buffers()
208 drisw_copy_to_front(dPriv, ptex); in drisw_swap_buffers()
213 drisw_copy_sub_buffer(__DRIdrawable *dPriv, int x, int y, in drisw_copy_sub_buffer() argument
216 struct dri_context *ctx = dri_get_current(dPriv->driScreenPriv); in drisw_copy_sub_buffer()
217 struct dri_drawable *drawable = dri_drawable(dPriv); in drisw_copy_sub_buffer()
231 u_box_2d(x, dPriv->h - y - h, w, h, &box); in drisw_copy_sub_buffer()
232 drisw_present_texture(dPriv, ptex, &box); in drisw_copy_sub_buffer()
249 drisw_copy_to_front(ctx->dPriv, ptex); in drisw_flush_frontbuffer()
267 const __DRIswrastLoaderExtension *loader = drawable->dPriv->driScreenPriv->swrast_loader; in drisw_allocate_textures()
273 width = drawable->dPriv->w; in drisw_allocate_textures()
274 height = drawable->dPriv->h; in drisw_allocate_textures()
332 __DRIdrawable *dPriv = drawable->dPriv; in drisw_update_tex_buffer() local
342 get_drawable_info(dPriv, &x, &y, &w, &h); in drisw_update_tex_buffer()
350 get_image(dPriv, x, y, w, h, map); in drisw_update_tex_buffer()
421 __DRIdrawable * dPriv, in drisw_create_buffer() argument
426 if (!dri_create_buffer(sPriv, dPriv, visual, isPixmap)) in drisw_create_buffer()
429 drawable = dPriv->driverPrivate; in drisw_create_buffer()