Lines Matching refs:pgcScratch
571 GCPtr pgcScratch;
581 pgcScratch = GetScratchGC(pGC->depth, pGC->pScreen);
582 if (!pTile || !pgcScratch)
586 if (pgcScratch)
587 FreeScratchGC(pgcScratch);
593 (void)ChangeGC(NullClient, pgcScratch, GCFunction | GCForeground | GCFillStyle, tmpval);
594 ValidateGC((DrawablePtr)pTile, pgcScratch);
599 (*pgcScratch->ops->PolyFillRect)((DrawablePtr)pTile, pgcScratch, 1, &rect);
601 FreeScratchGC(pgcScratch);
912 GCPtr pgcScratch;
926 pgcScratch = GetScratchGC(1, pScreen);
927 if (!pgcScratch)
932 (void)ChangeGC(NullClient, pgcScratch, GCFunction|GCForeground|GCFillStyle, tmpval);
933 ValidateGC((DrawablePtr)pScreen->PixmapPerDepth[0], pgcScratch);
938 (*pgcScratch->ops->PolyFillRect)((DrawablePtr)pScreen->PixmapPerDepth[0],
939 pgcScratch, 1, &rect);
940 FreeScratchGC(pgcScratch);