Lines Matching defs:pCache
67 struct ApmStippleCacheRec *pCache;
85 pCache = &pApm->apmCache[i];
86 if (pCache->apmStippleCached) {
87 pCache->apmStippleCached = FALSE;
88 xf86FreeOffscreenArea(pCache->area);
93 ApmMoveStipple, ApmRemoveStipple, pCache);
97 pCache->area = draw;
98 pCache->apmStippleCache.serialNumber = pPix->drawable.serialNumber;
99 pCache->apmStippleCache.trans_color =
100 pCache->apmStippleCache.bg =
101 pCache->apmStippleCache.fg = -1;
102 pCache->apmStippleCache.orig_w = w;
103 pCache->apmStippleCache.orig_h = h;
104 pCache->apmStippleCache.x = draw->box.x1;
105 pCache->apmStippleCache.y = draw->box.y1 + ((pCache - pApm->apmCache) + 1) * pApm->CurrentLayout.Scanlines;
112 pCache->apmStippleCache.w = (width * W + pScrn->bitsPerPixel - 1) /
114 pCache->apmStippleCache.h = ((draw->box.x2 - draw->box.x1) *
116 pCache->apmStippleCache.w;
117 pCache->apmStippleCached = TRUE;
127 dwords = (pCache->apmStippleCache.w * pScrn->bitsPerPixel) / 32;
128 while (j + h <= pCache->apmStippleCache.h) {
138 for (i = pCache->apmStippleCache.h - j ; --i >= 0; ) {
144 return &pCache->apmStippleCache;