Lines Matching defs:pPict
820 static Bool R600CheckCompositeTexture(PicturePtr pPict,
825 unsigned int repeatType = pPict->repeat ? pPict->repeatType : RepeatNone;
829 if (R600TexFormats[i].fmt == pPict->format)
834 (int)pPict->format));
836 if (pPict->filter != PictFilterNearest &&
837 pPict->filter != PictFilterBilinear)
838 RADEON_FALLBACK(("Unsupported filter 0x%x\n", pPict->filter));
849 if (pPict->transform != 0 && repeatType == RepeatNone && PICT_FORMAT_A(pPict->format) == 0) {
854 if (!radeon_transform_is_affine_or_scaled(pPict->transform))
860 static Bool R600TextureSetup(PicturePtr pPict, PixmapPtr pPix,
877 if (R600TexFormats[i].fmt == pPict->format)
882 if (pPict->pDrawable) {
883 tex_res.w = pPict->pDrawable->width;
884 tex_res.h = pPict->pDrawable->height;
885 repeatType = pPict->repeat ? pPict->repeatType : RepeatNone;
918 switch (pPict->format) {
969 RADEON_FALLBACK(("Bad format 0x%x\n", pPict->format));
974 if (PICT_FORMAT_RGB(pPict->format) == 0) {
980 if (PICT_FORMAT_A(pPict->format) == 0)
985 if (PICT_FORMAT_A(pPict->format) == 0) {
996 if (PICT_FORMAT_A(pPict->format) == 0)
1000 if (PICT_FORMAT_RGB(pPict->format) == 0) {
1006 if (PICT_FORMAT_A(pPict->format) == 0)
1012 if (PICT_FORMAT_A(pPict->format) == 0)
1015 if (PICT_FORMAT_A(pPict->format) == 0) {
1064 switch (pPict->filter) {
1075 RADEON_FALLBACK(("Bad filter 0x%x\n", pPict->filter));
1083 if (pPict->transform != 0) {
1085 accel_state->transform[unit] = pPict->transform;
1087 vs_alu_consts[0] = xFixedToFloat(pPict->transform->matrix[0][0]);
1088 vs_alu_consts[1] = xFixedToFloat(pPict->transform->matrix[0][1]);
1089 vs_alu_consts[2] = xFixedToFloat(pPict->transform->matrix[0][2]);
1092 vs_alu_consts[4] = xFixedToFloat(pPict->transform->matrix[1][0]);
1093 vs_alu_consts[5] = xFixedToFloat(pPict->transform->matrix[1][1]);
1094 vs_alu_consts[6] = xFixedToFloat(pPict->transform->matrix[1][2]);