Lines Matching defs:pCachedInfo
231 SolarisDgaLibInfo *pCachedInfo = cachedInfo;
247 pCachedInfo = cachedInfo;
248 for (i = 0 ; (i < MAX_CACHED_INFO) && (pCachedInfo->drawable) ;
249 i++, pCachedInfo++) {
250 if (pCachedInfo->drawable == drawable) {
251 *dgaDev = pCachedInfo;
257 *dgaDev = pCachedInfo;
259 pCachedInfo = cachedInfo;
263 i++, pCachedInfo++) {
264 if (k > pCachedInfo->count) {
265 k = pCachedInfo->count;
266 *dgaDev = pCachedInfo;
268 pCachedInfo->count = 0; /* reset all counters */
270 pCachedInfo = *dgaDev;
271 if (pCachedInfo->winInfo.dgaDraw != 0) {
272 XDgaUnGrabDrawable(pCachedInfo->winInfo.dgaDraw);
274 pCachedInfo->winInfo.dgaDraw = 0;
276 pCachedInfo->devInfo = 0;
512 SolarisDgaLibInfo *pCachedInfo = cachedInfo;
516 for (i = 0 ; (i < MAX_CACHED_INFO) && (pCachedInfo->drawable) ;
517 i++, pCachedInfo++) {
518 if (pCachedInfo->winInfo.dgaDraw != 0) {
519 if (dga_draw_type(pCachedInfo->winInfo.dgaDraw) == DGA_DRAW_WINDOW &&
520 pCachedInfo->winInfo.mapDepth != 0) {
521 unmap_dgaDev(pCachedInfo);
523 XDgaUnGrabDrawable(pCachedInfo->winInfo.dgaDraw);
524 pCachedInfo->winInfo.dgaDraw = 0;