Lines Matching refs:private
92 BufferPrivatePtr private = buffer->driverPrivate;
105 private->refcount = 0;
123 private->pPixmap = pPixmap;
124 private->dri2_depth = depth;
134 buffer->driverPrivate = private;
137 if (!private->pPixmap) {
138 private->dri2_depth = 0;
139 private->pPixmap = pPixmap;
160 private->dri2_depth = depth;
182 private->dri2_depth = depth;
187 if (!private->pPixmap) {
188 private->pPixmap = pPixmap;
200 private->refcount++;
201 private->dri2_depth = depth;
212 private->srf = srf;
217 buffer->driverPrivate = private;
220 private->refcount++;
228 BufferPrivatePtr private = buffer->driverPrivate;
229 struct xa_surface *srf = private->srf;
231 struct vmwgfx_saa_pixmap *vpix = vmwgfx_saa_pixmap(private->pPixmap);
233 if (--private->refcount == 0 && srf) {
243 private->refcount == 1 &&
247 private->srf = NULL;
248 pScreen->DestroyPixmap(private->pPixmap);
256 BufferPrivatePtr private;
262 private = calloc(1, sizeof *private);
263 if (!private) {
268 buffer->driverPrivate = private;
273 free(private);