Lines Matching refs:pPix

129 static Bool RADEONPixmapIsColortiled(PixmapPtr pPix)
131 RINFO_FROM_SCREEN(pPix->drawable.pScreen);
143 if (info->tilingEnabled && exaGetPixmapOffset(pPix) == 0)
149 static Bool RADEONGetOffsetPitch(PixmapPtr pPix, int bpp, uint32_t *pitch_offset,
152 RINFO_FROM_SCREEN(pPix->drawable.pScreen);
164 if (RADEONPixmapIsColortiled(pPix))
169 Bool RADEONGetPixmapOffsetPitch(PixmapPtr pPix, uint32_t *pitch_offset)
174 bpp = pPix->drawable.bitsPerPixel;
178 offset = radeonGetPixmapOffset(pPix);
179 pitch = exaGetPixmapPitch(pPix);
181 return RADEONGetOffsetPitch(pPix, bpp, pitch_offset, offset, pitch);
201 static Bool RADEONPrepareAccess_BE(PixmapPtr pPix, int index)
203 RINFO_FROM_SCREEN(pPix->drawable.pScreen);
205 uint32_t offset = exaGetPixmapOffset(pPix);
216 bpp = pPix->drawable.bitsPerPixel;
223 size = exaGetPixmapSize(pPix);
267 static void RADEONFinishAccess_BE(PixmapPtr pPix, int index)
269 RINFO_FROM_SCREEN(pPix->drawable.pScreen);
271 uint32_t offset = exaGetPixmapOffset(pPix);
301 Bool RADEONPrepareAccess_CS(PixmapPtr pPix, int index)
303 ScreenPtr pScreen = pPix->drawable.pScreen;
310 Bool can_fail = !(pPix->drawable.bitsPerPixel < 8) &&
311 pPix != pScreen->GetScreenPixmap(pScreen) &&
321 if (can_fail && pPix->drawable.bitsPerPixel > 8)
325 driver_priv = exaGetPixmapDriverPrivate(pPix);
366 pPix->devPrivate.ptr = driver_priv->bo->ptr;
371 void RADEONFinishAccess_CS(PixmapPtr pPix, int index)
375 driver_priv = exaGetPixmapDriverPrivate(pPix);
381 pPix->devPrivate.ptr = NULL;
603 struct radeon_bo *radeon_get_pixmap_bo(PixmapPtr pPix)
606 driver_priv = exaGetPixmapDriverPrivate(pPix);
611 struct radeon_surface *radeon_get_pixmap_surface(PixmapPtr pPix)
614 driver_priv = exaGetPixmapDriverPrivate(pPix);
619 uint32_t radeon_get_pixmap_tiling(PixmapPtr pPix)
622 driver_priv = exaGetPixmapDriverPrivate(pPix);
626 void radeon_set_pixmap_bo(PixmapPtr pPix, struct radeon_bo *bo)
630 driver_priv = exaGetPixmapDriverPrivate(pPix);
644 Bool RADEONEXAPixmapIsOffscreen(PixmapPtr pPix)
648 driver_priv = exaGetPixmapDriverPrivate(pPix);
857 RADEONTexOffsetStart(PixmapPtr pPix)
859 RINFO_FROM_SCREEN(pPix->drawable.pScreen);
862 if (exaGetPixmapDriverPrivate(pPix))
865 exaMoveInPixmap(pPix);
866 ExaOffscreenMarkUsed(pPix);
868 offset = exaGetPixmapOffset(pPix);