Lines Matching defs:pPict

746 static Bool EVERGREENCheckCompositeTexture(PicturePtr pPict,
751 unsigned int repeatType = pPict->repeat ? pPict->repeatType : RepeatNone;
755 if (EVERGREENTexFormats[i].fmt == pPict->format)
760 (int)pPict->format));
762 if (pPict->filter != PictFilterNearest &&
763 pPict->filter != PictFilterBilinear)
764 RADEON_FALLBACK(("Unsupported filter 0x%x\n", pPict->filter));
775 if (pPict->transform != 0 && repeatType == RepeatNone && PICT_FORMAT_A(pPict->format) == 0) {
780 if (!radeon_transform_is_affine_or_scaled(pPict->transform))
786 static void EVERGREENXFormSetup(PicturePtr pPict, PixmapPtr pPix,
795 if (pPict->pDrawable) {
796 w = pPict->pDrawable->width;
797 h = pPict->pDrawable->height;
803 if (pPict->transform != 0) {
805 accel_state->transform[unit] = pPict->transform;
807 vs_alu_consts[0 + const_offset] = xFixedToFloat(pPict->transform->matrix[0][0]);
808 vs_alu_consts[1 + const_offset] = xFixedToFloat(pPict->transform->matrix[0][1]);
809 vs_alu_consts[2 + const_offset] = xFixedToFloat(pPict->transform->matrix[0][2]);
812 vs_alu_consts[4 + const_offset] = xFixedToFloat(pPict->transform->matrix[1][0]);
813 vs_alu_consts[5 + const_offset] = xFixedToFloat(pPict->transform->matrix[1][1]);
814 vs_alu_consts[6 + const_offset] = xFixedToFloat(pPict->transform->matrix[1][2]);
832 static Bool EVERGREENTextureSetup(PicturePtr pPict, PixmapPtr pPix,
848 if (EVERGREENTexFormats[i].fmt == pPict->format)
853 if (pPict->pDrawable) {
854 tex_res.w = pPict->pDrawable->width;
855 tex_res.h = pPict->pDrawable->height;
856 repeatType = pPict->repeat ? pPict->repeatType : RepeatNone;
889 switch (pPict->format) {
938 RADEON_FALLBACK(("Bad format 0x%x\n", pPict->format));
943 if (PICT_FORMAT_RGB(pPict->format) == 0) {
949 if (PICT_FORMAT_A(pPict->format) == 0)
954 if (PICT_FORMAT_A(pPict->format) == 0) {
965 if (PICT_FORMAT_A(pPict->format) == 0)
969 if (PICT_FORMAT_RGB(pPict->format) == 0) {
975 if (PICT_FORMAT_A(pPict->format) == 0)
981 if (PICT_FORMAT_A(pPict->format) == 0)
984 if (PICT_FORMAT_A(pPict->format) == 0) {
1033 switch (pPict->filter) {
1044 RADEON_FALLBACK(("Bad filter 0x%x\n", pPict->filter));