Lines Matching refs:pPict
900 static Bool R600CheckCompositeTexture(PicturePtr pPict,
905 unsigned int repeatType = pPict->repeat ? pPict->repeatType : RepeatNone;
909 if (R600TexFormats[i].fmt == pPict->format)
914 (int)pPict->format));
916 if (pPict->filter != PictFilterNearest &&
917 pPict->filter != PictFilterBilinear)
918 RADEON_FALLBACK(("Unsupported filter 0x%x\n", pPict->filter));
929 if (pPict->transform != 0 && repeatType == RepeatNone && PICT_FORMAT_A(pPict->format) == 0) {
934 if (!radeon_transform_is_affine_or_scaled(pPict->transform))
940 static Bool R600TextureSetup(PicturePtr pPict, PixmapPtr pPix,
957 if (R600TexFormats[i].fmt == pPict->format)
962 if (pPict->pDrawable) {
963 tex_res.w = pPict->pDrawable->width;
964 tex_res.h = pPict->pDrawable->height;
965 repeatType = pPict->repeat ? pPict->repeatType : RepeatNone;
1001 switch (pPict->format) {
1050 RADEON_FALLBACK(("Bad format 0x%x\n", pPict->format));
1055 if (PICT_FORMAT_RGB(pPict->format) == 0) {
1061 if (PICT_FORMAT_A(pPict->format) == 0)
1066 if (PICT_FORMAT_A(pPict->format) == 0) {
1077 if (PICT_FORMAT_A(pPict->format) == 0)
1081 if (PICT_FORMAT_RGB(pPict->format) == 0) {
1087 if (PICT_FORMAT_A(pPict->format) == 0)
1093 if (PICT_FORMAT_A(pPict->format) == 0)
1096 if (PICT_FORMAT_A(pPict->format) == 0) {
1145 switch (pPict->filter) {
1156 RADEON_FALLBACK(("Bad filter 0x%x\n", pPict->filter));
1164 if (pPict->transform != 0) {
1166 accel_state->transform[unit] = pPict->transform;
1168 vs_alu_consts[0] = xFixedToFloat(pPict->transform->matrix[0][0]);
1169 vs_alu_consts[1] = xFixedToFloat(pPict->transform->matrix[0][1]);
1170 vs_alu_consts[2] = xFixedToFloat(pPict->transform->matrix[0][2]);
1173 vs_alu_consts[4] = xFixedToFloat(pPict->transform->matrix[1][0]);
1174 vs_alu_consts[5] = xFixedToFloat(pPict->transform->matrix[1][1]);
1175 vs_alu_consts[6] = xFixedToFloat(pPict->transform->matrix[1][2]);