Lines Matching refs:pict

220 create_solid_fill_image(PicturePtr pict)  in create_solid_fill_image()  argument
222 PictSolidFill *solid = &pict->pSourcePict->solidFill; in create_solid_fill_image()
282 create_bits_picture(PicturePtr pict, Bool has_clip, int *xoff, int *yoff) in create_bits_picture() argument
290 fbGetDrawablePixmap(pict->pDrawable, pixmap, *xoff, *yoff); in create_bits_picture()
293 image = pixman_image_create_bits((pixman_format_code_t) pict->format, in create_bits_picture()
311 if (pict->clientClip) in create_bits_picture()
315 pixman_region_translate(pict->pCompositeClip, *xoff, *yoff); in create_bits_picture()
317 pixman_image_set_clip_region(image, pict->pCompositeClip); in create_bits_picture()
320 pixman_region_translate(pict->pCompositeClip, -*xoff, -*yoff); in create_bits_picture()
324 if (pict->pFormat->index.devPrivate) in create_bits_picture()
325 pixman_image_set_indexed(image, pict->pFormat->index.devPrivate); in create_bits_picture()
328 *xoff += pict->pDrawable->x; in create_bits_picture()
329 *yoff += pict->pDrawable->y; in create_bits_picture()
334 static pixman_image_t *image_from_pict_internal(PicturePtr pict, Bool has_clip,
344 set_image_properties(pixman_image_t * image, PicturePtr pict, Bool has_clip, in set_image_properties() argument
350 if (pict->transform) { in set_image_properties()
359 adjusted = *pict->transform; in set_image_properties()
369 pixman_image_set_transform(image, pict->transform); in set_image_properties()
372 switch (pict->repeatType) { in set_image_properties()
396 if (pict->alphaMap && !is_alpha_map) { in set_image_properties()
399 image_from_pict_internal(pict->alphaMap, FALSE, &alpha_xoff, in set_image_properties()
402 pixman_image_set_alpha_map(image, alpha_map, pict->alphaOrigin.x, in set_image_properties()
403 pict->alphaOrigin.y); in set_image_properties()
405 free_pixman_pict(pict->alphaMap, alpha_map); in set_image_properties()
408 pixman_image_set_component_alpha(image, pict->componentAlpha); in set_image_properties()
410 switch (pict->filter) { in set_image_properties()
427 if (pict->pDrawable) in set_image_properties()
429 pict->pDrawable); in set_image_properties()
432 (pixman_fixed_t *) pict->filter_params, in set_image_properties()
433 pict->filter_nparams); in set_image_properties()
438 image_from_pict_internal(PicturePtr pict, Bool has_clip, int *xoff, int *yoff, in image_from_pict_internal() argument
443 if (!pict) in image_from_pict_internal()
446 if (pict->pDrawable) { in image_from_pict_internal()
447 image = create_bits_picture(pict, has_clip, xoff, yoff); in image_from_pict_internal()
449 else if (pict->pSourcePict) { in image_from_pict_internal()
450 SourcePict *sp = pict->pSourcePict; in image_from_pict_internal()
453 image = create_solid_fill_image(pict); in image_from_pict_internal()
456 PictGradient *gradient = &pict->pSourcePict->gradient; in image_from_pict_internal()
469 set_image_properties(image, pict, has_clip, xoff, yoff, is_alpha_map); in image_from_pict_internal()
475 image_from_pict(PicturePtr pict, Bool has_clip, int *xoff, int *yoff) in image_from_pict() argument
477 return image_from_pict_internal(pict, has_clip, xoff, yoff, FALSE); in image_from_pict()
481 free_pixman_pict(PicturePtr pict, pixman_image_t * image) in free_pixman_pict() argument