Lines Matching refs:infoRec

160    XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCREEN(pScreen);
162 if(infoRec->PixmapCachePrivate)
164 (XAAPixmapCachePrivatePtr)infoRec->PixmapCachePrivate);
166 infoRec->PixmapCachePrivate = NULL;
309 XAAInfoRecPtr infoRec
313 int ColorH = infoRec->CacheHeightColor8x8Pattern;
314 int ColorW = infoRec->CacheWidthColor8x8Pattern;
315 int MonoH = infoRec->CacheHeightMono8x8Pattern;
316 int MonoW = infoRec->CacheWidthMono8x8Pattern;
318 Bool DoColor = (infoRec->PixmapCacheFlags & CACHE_COLOR_8x8);
319 Bool DoMono = (infoRec->PixmapCacheFlags & CACHE_MONO_8x8);
402 XAAInfoRecPtr infoRec
408 int ColorH = infoRec->CacheHeightColor8x8Pattern;
409 int ColorW = infoRec->CacheWidthColor8x8Pattern;
410 int MonoH = infoRec->CacheHeightMono8x8Pattern;
411 int MonoW = infoRec->CacheWidthMono8x8Pattern;
412 Bool DoColor = (infoRec->PixmapCacheFlags & CACHE_COLOR_8x8);
413 Bool DoMono = (infoRec->PixmapCacheFlags & CACHE_MONO_8x8);
507 &MonoList, &ColorList, infoRec);
543 &MonoList, &ColorList, infoRec);
593 &MonoList, &ColorList, infoRec);
596 &MonoList, &ColorList, infoRec);
599 &MonoList, &ColorList, infoRec);
602 &MonoList, &ColorList, infoRec);
634 XAAInfoRecPtr infoRec = (XAAInfoRecPtr)data;
644 infoRec->MaxCacheableTileWidth = 0;
645 infoRec->MaxCacheableTileHeight = 0;
646 infoRec->MaxCacheableStippleHeight = 0;
647 infoRec->MaxCacheableStippleWidth = 0;
648 infoRec->UsingPixmapCache = FALSE;
651 if(!nBox || !pBox || !(infoRec->Flags & PIXMAP_CACHE))
659 if(infoRec->PixmapCachePrivate) {
661 (XAAPixmapCachePrivatePtr)infoRec->PixmapCachePrivate);
662 infoRec->PixmapCachePrivate = NULL;
667 granularity = infoRec->CachePixelGranularity;
856 if(!(infoRec->PixmapCacheFlags & (CACHE_MONO_8x8 | CACHE_COLOR_8x8))) {
869 int ColorH = infoRec->CacheHeightColor8x8Pattern;
870 int ColorW = infoRec->CacheWidthColor8x8Pattern;
871 int MonoH = infoRec->CacheHeightMono8x8Pattern;
872 int MonoW = infoRec->CacheWidthMono8x8Pattern;
873 Bool DoColor = (infoRec->PixmapCacheFlags & CACHE_COLOR_8x8);
874 Bool DoMono = (infoRec->PixmapCacheFlags & CACHE_MONO_8x8);
876 if(DoColor) infoRec->CanDoColor8x8 = FALSE;
877 if(DoMono) infoRec->CanDoMono8x8 = FALSE;
889 ListPartial, &ListMono, &ListColor, infoRec);
904 tmp, &ListMono, &ListColor, infoRec);
910 &MaxPartialWidth, &MaxPartialHeight, infoRec);
963 infoRec->PixmapCachePrivate = (char*)pCachePriv;
1014 infoRec->MaxCacheableTileWidth = MaxPartialWidth;
1015 infoRec->MaxCacheableTileHeight = MaxPartialHeight;
1018 infoRec->MaxCacheableTileWidth = infoRec->MaxCacheableTileHeight = 128;
1020 infoRec->MaxCacheableTileWidth = infoRec->MaxCacheableTileHeight = 256;
1022 infoRec->MaxCacheableTileWidth = infoRec->MaxCacheableTileHeight = 512;
1025 infoRec->MaxCacheableStippleHeight = infoRec->MaxCacheableTileHeight;
1026 infoRec->MaxCacheableStippleWidth =
1027 infoRec->MaxCacheableTileWidth * pScrn->bitsPerPixel;
1028 if(infoRec->ScreenToScreenColorExpandFillFlags & TRIPLE_BITS_24BPP)
1029 infoRec->MaxCacheableStippleWidth /= 3;
1032 if(!(infoRec->Mono8x8PatternFillFlags &
1036 infoRec->CacheWidthMono8x8Pattern/infoRec->MonoPatternPitch;
1041 infoRec->MonoPatternPitch;
1044 infoRec->CanDoMono8x8 = TRUE;
1047 if(!(infoRec->Color8x8PatternFillFlags &
1055 infoRec->CanDoColor8x8 = TRUE;
1073 } else infoRec->UsingPixmapCache = TRUE;
1098 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_DRAWABLE(&pPixmap->drawable);
1182 if(infoRec->Mono8x8PatternFillFlags & BIT_ORDER_IN_BYTE_MSBFIRST) {
1303 XAAInfoRecPtr infoRec =
1403 if(infoRec->Mono8x8PatternFillFlags & BIT_ORDER_IN_BYTE_MSBFIRST) {
1419 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn);
1421 (*infoRec->SetupForScreenToScreenCopy)(pScrn, 1, 1, GXcopy, ~0, -1);
1424 (*infoRec->SubsequentScreenToScreenCopy)(pScrn, pCache->x, pCache->y,
1429 (*infoRec->SubsequentScreenToScreenCopy)(pScrn, pCache->x, pCache->y,
1435 (*infoRec->SubsequentScreenToScreenCopy)(pScrn, pCache->x, pCache->y,
1440 (*infoRec->SubsequentScreenToScreenCopy)(pScrn, pCache->x, pCache->y,
1443 SET_SYNC_FLAG(infoRec);
1452 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn);
1454 (XAAPixmapCachePrivatePtr)infoRec->PixmapCachePrivate;
1498 (*infoRec->WritePixmapToCache)(
1501 if(!(infoRec->PixmapCacheFlags & DO_NOT_TILE_COLOR_DATA) &&
1513 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn);
1515 (XAAPixmapCachePrivatePtr)infoRec->PixmapCachePrivate;
1573 if(infoRec->ScreenToScreenColorExpandFillFlags & BIT_ORDER_IN_BYTE_MSBFIRST)
1597 (*infoRec->WritePixmapToCache)(
1611 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn);
1613 (XAAPixmapCachePrivatePtr)infoRec->PixmapCachePrivate;
1660 (*infoRec->WriteBitmapToCache)(pScrn, pCache->x, pCache->y,
1663 if(!(infoRec->PixmapCacheFlags & DO_NOT_TILE_MONO_DATA) &&
1682 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn);
1684 (XAAPixmapCachePrivatePtr)infoRec->PixmapCachePrivate;
1743 (*infoRec->WriteBitmapToCache)(pScrn, pCache->x, pCache->y,
1746 if(!(infoRec->PixmapCacheFlags & DO_NOT_TILE_COLOR_DATA) &&
1758 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn);
1760 (XAAPixmapCachePrivatePtr)infoRec->PixmapCachePrivate;
1779 (*infoRec->WriteMono8x8PatternToCache)(pScrn, pCache);
1789 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn);
1791 (XAAPixmapCachePrivatePtr)infoRec->PixmapCachePrivate;
1850 (*infoRec->WriteColor8x8PatternToCache)(pScrn, pPix, pCache);
1864 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn);
1866 (*infoRec->WriteBitmap)(pScrn, x, y, w, h, src, srcwidth,
1916 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn);
1918 (*infoRec->WritePixmap)(pScrn, x, y, w, h, src, srcwidth,
1973 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn);
1975 (XAAPixmapCachePrivatePtr)infoRec->PixmapCachePrivate;
1986 if(infoRec->Mono8x8PatternFillFlags & HARDWARE_PATTERN_PROGRAMMED_ORIGIN) {
1997 (infoRec->Mono8x8PatternFillFlags &
2004 (*infoRec->WritePixmapToCache)(pScrn, pCache->x, pCache->y,
2016 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCRNINFOPTR(pScrn);
2019 (XAAPixmapCachePrivatePtr)infoRec->PixmapCachePrivate;
2031 if(infoRec->Color8x8PatternFillFlags &
2043 (infoRec->Mono8x8PatternFillFlags &
2050 (*infoRec->WriteBitmapToCache)(pScrn, pCache->x, pCache->y,
2082 if(!(infoRec->Color8x8PatternFillFlags &
2098 (*infoRec->WritePixmapToCache)(pScrn, pCache->x, pCache->y,
2109 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_GC(pGC);
2114 (infoRec->CanDoMono8x8 || infoRec->CanDoColor8x8)) {
2120 if(infoRec->CanDoMono8x8 &&
2121 !(infoRec->FillMono8x8PatternSpansFlags & NO_TRANSPARENCY) &&
2122 ((pGC->alu == GXcopy) || !(infoRec->FillMono8x8PatternSpansFlags &
2124 CHECK_ROP(pGC,infoRec->FillMono8x8PatternSpansFlags) &&
2125 CHECK_ROPSRC(pGC,infoRec->FillMono8x8PatternSpansFlags) &&
2126 CHECK_FG(pGC,infoRec->FillMono8x8PatternSpansFlags) &&
2127 CHECK_PLANEMASK(pGC,infoRec->FillMono8x8PatternSpansFlags)) {
2132 if(infoRec->CanDoColor8x8 &&
2133 !(infoRec->FillColor8x8PatternSpansFlags & NO_TRANSPARENCY) &&
2134 ((pGC->alu == GXcopy) || !(infoRec->FillColor8x8PatternSpansFlags &
2136 CHECK_ROP(pGC,infoRec->FillColor8x8PatternSpansFlags) &&
2137 CHECK_ROPSRC(pGC,infoRec->FillColor8x8PatternSpansFlags) &&
2138 CHECK_PLANEMASK(pGC,infoRec->FillColor8x8PatternSpansFlags)) {
2144 if(infoRec->UsingPixmapCache && infoRec->FillCacheExpandSpans &&
2145 (pPixmap->drawable.height <= infoRec->MaxCacheableStippleHeight) &&
2146 (pPixmap->drawable.width <= infoRec->MaxCacheableStippleWidth /
2147 infoRec->CacheColorExpandDensity) &&
2148 !(infoRec->FillCacheExpandSpansFlags & NO_TRANSPARENCY) &&
2149 ((pGC->alu == GXcopy) || !(infoRec->FillCacheExpandSpansFlags &
2151 CHECK_ROP(pGC,infoRec->FillCacheExpandSpansFlags) &&
2152 CHECK_ROPSRC(pGC,infoRec->FillCacheExpandSpansFlags) &&
2153 CHECK_FG(pGC,infoRec->FillCacheExpandSpansFlags) &&
2154 CHECK_PLANEMASK(pGC,infoRec->FillCacheExpandSpansFlags)) {
2160 if(infoRec->UsingPixmapCache &&
2161 !(infoRec->PixmapCacheFlags & DO_NOT_BLIT_STIPPLES) &&
2162 infoRec->FillCacheBltSpans &&
2163 (pPixmap->drawable.height <= infoRec->MaxCacheableTileHeight) &&
2164 (pPixmap->drawable.width <= infoRec->MaxCacheableTileWidth) &&
2165 !(infoRec->FillCacheBltSpansFlags & NO_TRANSPARENCY) &&
2166 ((pGC->alu == GXcopy) || !(infoRec->FillCacheBltSpansFlags &
2168 CHECK_ROP(pGC,infoRec->FillCacheBltSpansFlags) &&
2169 CHECK_ROPSRC(pGC,infoRec->FillCacheBltSpansFlags) &&
2170 CHECK_PLANEMASK(pGC,infoRec->FillCacheBltSpansFlags)) {
2175 if(infoRec->FillColorExpandSpans &&
2176 !(infoRec->FillColorExpandSpansFlags & NO_TRANSPARENCY) &&
2177 ((pGC->alu == GXcopy) || !(infoRec->FillColorExpandSpansFlags &
2179 CHECK_ROP(pGC,infoRec->FillColorExpandSpansFlags) &&
2180 CHECK_ROPSRC(pGC,infoRec->FillColorExpandSpansFlags) &&
2181 CHECK_FG(pGC,infoRec->FillColorExpandSpansFlags) &&
2182 CHECK_PLANEMASK(pGC,infoRec->FillColorExpandSpansFlags)) {
2194 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_GC(pGC);
2202 (infoRec->CanDoMono8x8 || infoRec->CanDoColor8x8)) {
2207 if(infoRec->CanDoMono8x8 &&
2208 !(infoRec->FillMono8x8PatternSpansFlags & TRANSPARENCY_ONLY) &&
2209 CHECK_ROP(pGC,infoRec->FillMono8x8PatternSpansFlags) &&
2210 CHECK_ROPSRC(pGC,infoRec->FillMono8x8PatternSpansFlags) &&
2211 CHECK_COLORS(pGC,infoRec->FillMono8x8PatternSpansFlags) &&
2212 CHECK_PLANEMASK(pGC,infoRec->FillMono8x8PatternSpansFlags)) {
2217 if(infoRec->CanDoColor8x8 &&
2218 CHECK_ROP(pGC,infoRec->FillColor8x8PatternSpansFlags) &&
2219 CHECK_ROPSRC(pGC,infoRec->FillColor8x8PatternSpansFlags) &&
2220 CHECK_PLANEMASK(pGC,infoRec->FillColor8x8PatternSpansFlags)) {
2226 if(infoRec->UsingPixmapCache && infoRec->FillCacheExpandSpans &&
2227 (pPixmap->drawable.height <= infoRec->MaxCacheableStippleHeight) &&
2228 (pPixmap->drawable.width <= infoRec->MaxCacheableStippleWidth /
2229 infoRec->CacheColorExpandDensity) &&
2230 !(infoRec->FillCacheExpandSpansFlags & TRANSPARENCY_ONLY) &&
2231 CHECK_ROP(pGC,infoRec->FillCacheExpandSpansFlags) &&
2232 CHECK_ROPSRC(pGC,infoRec->FillCacheExpandSpansFlags) &&
2233 CHECK_COLORS(pGC,infoRec->FillCacheExpandSpansFlags) &&
2234 CHECK_PLANEMASK(pGC,infoRec->FillCacheExpandSpansFlags)) {
2239 if(infoRec->UsingPixmapCache &&
2240 !(infoRec->PixmapCacheFlags & DO_NOT_BLIT_STIPPLES) &&
2241 infoRec->FillCacheBltSpans &&
2242 (pPixmap->drawable.height <= infoRec->MaxCacheableTileHeight) &&
2243 (pPixmap->drawable.width <= infoRec->MaxCacheableTileWidth) &&
2244 CHECK_ROP(pGC,infoRec->FillCacheBltSpansFlags) &&
2245 CHECK_ROPSRC(pGC,infoRec->FillCacheBltSpansFlags) &&
2246 CHECK_PLANEMASK(pGC,infoRec->FillCacheBltSpansFlags)) {
2251 if(infoRec->FillColorExpandSpans &&
2252 !(infoRec->FillColorExpandSpansFlags & TRANSPARENCY_ONLY) &&
2253 CHECK_ROP(pGC,infoRec->FillColorExpandSpansFlags) &&
2254 CHECK_ROPSRC(pGC,infoRec->FillColorExpandSpansFlags) &&
2255 CHECK_COLORS(pGC,infoRec->FillColorExpandSpansFlags) &&
2256 CHECK_PLANEMASK(pGC,infoRec->FillColorExpandSpansFlags)) {
2269 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_GC(pGC);
2273 if(IS_OFFSCREEN_PIXMAP(pPixmap) && infoRec->FillCacheBltSpans &&
2274 CHECK_ROP(pGC,infoRec->FillCacheBltSpansFlags) &&
2275 CHECK_ROPSRC(pGC,infoRec->FillCacheBltSpansFlags) &&
2276 CHECK_PLANEMASK(pGC,infoRec->FillCacheBltSpansFlags)) {
2282 (infoRec->CanDoMono8x8 || infoRec->CanDoColor8x8)) {
2283 XAACheckTileReducibility(pPixmap,infoRec->CanDoMono8x8);
2287 if((pPriv->flags & REDUCIBLE_TO_2_COLOR) && infoRec->CanDoMono8x8 &&
2288 !(infoRec->FillMono8x8PatternSpansFlags & TRANSPARENCY_ONLY) &&
2289 CHECK_ROP(pGC,infoRec->FillMono8x8PatternSpansFlags) &&
2290 CHECK_ROPSRC(pGC,infoRec->FillMono8x8PatternSpansFlags) &&
2291 (!(infoRec->FillMono8x8PatternSpansFlags & RGB_EQUAL) ||
2293 CHECK_PLANEMASK(pGC,infoRec->FillMono8x8PatternSpansFlags)) {
2298 if(infoRec->CanDoColor8x8 &&
2299 CHECK_ROP(pGC,infoRec->FillColor8x8PatternSpansFlags) &&
2300 CHECK_ROPSRC(pGC,infoRec->FillColor8x8PatternSpansFlags) &&
2301 CHECK_PLANEMASK(pGC,infoRec->FillColor8x8PatternSpansFlags)) {
2307 if(infoRec->UsingPixmapCache && infoRec->FillCacheBltSpans &&
2308 (pPixmap->drawable.height <= infoRec->MaxCacheableTileHeight) &&
2309 (pPixmap->drawable.width <= infoRec->MaxCacheableTileWidth) &&
2310 CHECK_ROP(pGC,infoRec->FillCacheBltSpansFlags) &&
2311 CHECK_ROPSRC(pGC,infoRec->FillCacheBltSpansFlags) &&
2312 CHECK_PLANEMASK(pGC,infoRec->FillCacheBltSpansFlags)) {
2317 if(infoRec->FillImageWriteRects &&
2318 CHECK_NO_GXCOPY(pGC,infoRec->FillImageWriteRectsFlags) &&
2319 CHECK_ROP(pGC,infoRec->FillImageWriteRectsFlags) &&
2320 CHECK_ROPSRC(pGC,infoRec->FillImageWriteRectsFlags) &&
2321 CHECK_PLANEMASK(pGC,infoRec->FillImageWriteRectsFlags)) {
2371 XAAInfoRecPtr infoRec = GET_XAAINFORECPTR_FROM_SCREEN(pScreen);
2373 (XAAPixmapCachePrivatePtr)infoRec->PixmapCachePrivate;