Lines Matching refs:pDrawable

596     if (picture->pDrawable == NULL) {  in glamor_get_picture_location()
608 return glamor_get_drawable_location(picture->pDrawable); in glamor_get_picture_location()
778 if (!picture->pDrawable) in glamor_render_format_is_supported()
781 glamor_priv = glamor_get_screen_private(picture->pDrawable->pScreen); in glamor_render_format_is_supported()
783 glamor_priv->formats[picture->pDrawable->depth].render_format; in glamor_render_format_is_supported()
815 ScreenPtr screen = dest->pDrawable->pScreen; in glamor_composite_choose_shader()
843 else if (!source->pDrawable) { in glamor_composite_choose_shader()
861 if (!mask->pDrawable) { in glamor_composite_choose_shader()
1123 ScreenPtr screen = dest->pDrawable->pScreen; in glamor_composite_with_shader()
1170 dest_pixmap = glamor_get_drawable_pixmap(dest->pDrawable); in glamor_composite_with_shader()
1172 glamor_get_drawable_deltas(dest->pDrawable, dest_pixmap, in glamor_composite_with_shader()
1177 glamor_get_drawable_deltas(source->pDrawable, in glamor_composite_with_shader()
1187 glamor_get_drawable_deltas(mask->pDrawable, mask_pixmap, in glamor_composite_with_shader()
1338 if (source->pDrawable) { in glamor_convert_gradient_picture()
1346 if (!source->pDrawable) { in glamor_convert_gradient_picture()
1404 ScreenPtr screen = dest->pDrawable->pScreen; in glamor_composite_clipped_region()
1440 && source->pDrawable && !source->transform in glamor_composite_clipped_region()
1442 && dest->pDrawable->depth == source->pDrawable->depth in glamor_composite_clipped_region()
1457 && (x_source + width) <= source->pDrawable->width in glamor_composite_clipped_region()
1458 && (y_source + height) <= source->pDrawable->height) { in glamor_composite_clipped_region()
1459 x_source += source->pDrawable->x; in glamor_composite_clipped_region()
1460 y_source += source->pDrawable->y; in glamor_composite_clipped_region()
1461 x_dest += dest->pDrawable->x; in glamor_composite_clipped_region()
1462 y_dest += dest->pDrawable->y; in glamor_composite_clipped_region()
1463 glamor_copy(source->pDrawable, dest->pDrawable, NULL, in glamor_composite_clipped_region()
1472 && ((!source->pDrawable in glamor_composite_clipped_region()
1474 || (source->pDrawable in glamor_composite_clipped_region()
1480 extent->x1 + x_source - x_dest - dest->pDrawable->x, in glamor_composite_clipped_region()
1481 extent->y1 + y_source - y_dest - dest->pDrawable->y, in glamor_composite_clipped_region()
1487 temp_src_pixmap = (PixmapPtr) (temp_src->pDrawable); in glamor_composite_clipped_region()
1489 x_temp_src = -extent->x1 + x_dest + dest->pDrawable->x; in glamor_composite_clipped_region()
1490 y_temp_src = -extent->y1 + y_dest + dest->pDrawable->y; in glamor_composite_clipped_region()
1495 ((!mask->pDrawable in glamor_composite_clipped_region()
1497 || (mask->pDrawable && !GLAMOR_PIXMAP_PRIV_HAS_FBO(mask_pixmap_priv) in glamor_composite_clipped_region()
1504 extent->x1 + x_mask - x_dest - dest->pDrawable->x, in glamor_composite_clipped_region()
1505 extent->y1 + y_mask - y_dest - dest->pDrawable->y, in glamor_composite_clipped_region()
1511 temp_mask_pixmap = (PixmapPtr) (temp_mask->pDrawable); in glamor_composite_clipped_region()
1513 x_temp_mask = -extent->x1 + x_dest + dest->pDrawable->x; in glamor_composite_clipped_region()
1514 y_temp_mask = -extent->y1 + y_dest + dest->pDrawable->y; in glamor_composite_clipped_region()
1541 x_dest += dest->pDrawable->x; in glamor_composite_clipped_region()
1542 y_dest += dest->pDrawable->y; in glamor_composite_clipped_region()
1543 if (temp_src && temp_src->pDrawable) { in glamor_composite_clipped_region()
1544 x_temp_src += temp_src->pDrawable->x; in glamor_composite_clipped_region()
1545 y_temp_src += temp_src->pDrawable->y; in glamor_composite_clipped_region()
1547 if (temp_mask && temp_mask->pDrawable) { in glamor_composite_clipped_region()
1548 x_temp_mask += temp_mask->pDrawable->x; in glamor_composite_clipped_region()
1549 y_temp_mask += temp_mask->pDrawable->y; in glamor_composite_clipped_region()
1609 ScreenPtr screen = dest->pDrawable->pScreen; in glamor_composite()
1610 PixmapPtr dest_pixmap = glamor_get_drawable_pixmap(dest->pDrawable); in glamor_composite()
1621 if (source->pDrawable) { in glamor_composite()
1622 source_pixmap = glamor_get_drawable_pixmap(source->pDrawable); in glamor_composite()
1627 if (mask && mask->pDrawable) { in glamor_composite()
1628 mask_pixmap = glamor_get_drawable_pixmap(mask->pDrawable); in glamor_composite()
1664 (source_pixmap ? source->pDrawable->x : 0), in glamor_composite()
1666 (source_pixmap ? source->pDrawable->y : 0), in glamor_composite()
1668 (mask_pixmap ? mask->pDrawable->x : 0), in glamor_composite()
1670 (mask_pixmap ? mask->pDrawable->y : 0), in glamor_composite()
1671 x_dest + dest->pDrawable->x, in glamor_composite()
1672 y_dest + dest->pDrawable->y, width, height)) { in glamor_composite()
1727 REGION_UNINIT(dest->pDrawable->pScreen, &region); in glamor_composite()
1736 source, source->pDrawable, in glamor_composite()
1737 source->pDrawable ? source->pDrawable->width : 0, in glamor_composite()
1738 source->pDrawable ? source->pDrawable->height : 0, mask, in glamor_composite()
1739 (!mask) ? NULL : mask->pDrawable, in glamor_composite()
1740 (!mask || !mask->pDrawable) ? 0 : mask->pDrawable->width, in glamor_composite()
1741 (!mask || !mask->pDrawable) ? 0 : mask->pDrawable->height, in glamor_composite()
1744 dest, dest->pDrawable, in glamor_composite()
1745 dest->pDrawable->width, dest->pDrawable->height, in glamor_composite()