Lines Matching refs:winRec

148     RootlessWindowRec *winRec;  in RootlessStartDrawing()  local
153 winRec = WINREC(top); in RootlessStartDrawing()
154 if (winRec == NULL) in RootlessStartDrawing()
158 if (!winRec->is_drawing) { in RootlessStartDrawing()
161 SCREENREC(pScreen)->imp->StartDrawing(winRec->wid, &winRec->pixelData, in RootlessStartDrawing()
162 &winRec->bytesPerRow); in RootlessStartDrawing()
164 winRec->pixmap = in RootlessStartDrawing()
165 GetScratchPixmapHeader(pScreen, winRec->width, winRec->height, in RootlessStartDrawing()
168 winRec->bytesPerRow, winRec->pixelData); in RootlessStartDrawing()
169 SetPixmapBaseToScreen(winRec->pixmap, in RootlessStartDrawing()
172 winRec->is_drawing = TRUE; in RootlessStartDrawing()
176 if (curPixmap == winRec->pixmap) { in RootlessStartDrawing()
178 pWindow, winRec->pixmap); in RootlessStartDrawing()
195 pScreen->SetWindowPixmap(pWindow, winRec->pixmap); in RootlessStartDrawing()
207 RootlessWindowRec *winRec = (RootlessWindowRec *) data; in RestorePreDrawingPixmapVisitor() local
214 if (exPixmap == winRec->pixmap) in RestorePreDrawingPixmapVisitor()
220 if (exPixmap != winRec->pixmap) in RestorePreDrawingPixmapVisitor()
223 pWindow, oldPixmap, exPixmap, winRec->pixmap); in RestorePreDrawingPixmapVisitor()
224 if (oldPixmap == winRec->pixmap) in RestorePreDrawingPixmapVisitor()
240 RootlessWindowRec *winRec; in RootlessStopDrawing() local
244 winRec = WINREC(top); in RootlessStopDrawing()
245 if (winRec == NULL) in RootlessStopDrawing()
248 if (winRec->is_drawing) { in RootlessStopDrawing()
249 SCREENREC(pScreen)->imp->StopDrawing(winRec->wid, flush); in RootlessStopDrawing()
251 FreeScratchPixmapHeader(winRec->pixmap); in RootlessStopDrawing()
252 TraverseTree(top, RestorePreDrawingPixmapVisitor, (void *) winRec); in RootlessStopDrawing()
253 winRec->pixmap = NULL; in RootlessStopDrawing()
255 winRec->is_drawing = FALSE; in RootlessStopDrawing()
258 SCREENREC(pScreen)->imp->UpdateRegion(winRec->wid, NULL); in RootlessStopDrawing()
261 if (flush && winRec->is_reorder_pending) { in RootlessStopDrawing()
262 winRec->is_reorder_pending = FALSE; in RootlessStopDrawing()
275 RootlessWindowRec *winRec; in RootlessDamageRegion() local
286 winRec = WINREC(pTop); in RootlessDamageRegion()
287 if (winRec == NULL) in RootlessDamageRegion()
314 SCREENREC(pWindow->drawable.pScreen)->imp->DamageRects(winRec-> in RootlessDamageRegion()
320 -winRec-> in RootlessDamageRegion()
322 -winRec-> in RootlessDamageRegion()
340 SCREENREC(pWindow->drawable.pScreen)->imp->DamageRects(winRec->wid, in RootlessDamageRegion()
345 -winRec->x, in RootlessDamageRegion()
346 -winRec->y); in RootlessDamageRegion()