Lines Matching refs:intersection
238 RegionRec intersection;
248 REGION_NULL(vsaa->pScreen, &intersection);
249 REGION_COPY(vsaa->pScreen, &intersection, &spix->dirty_hw);
250 REGION_INTERSECT(vsaa->pScreen, &intersection, &intersection,
254 REGION_INTERSECT(vsaa->pScreen, &intersection, &intersection, region);
256 if (!REGION_NOTEMPTY(vsaa->pScreen, &intersection))
267 &intersection) != 0)
271 &spix->dirty_hw, &intersection);
273 REGION_UNINIT(vsaa->pScreen, &intersection);
277 REGION_UNINIT(vsaa->pScreen, &intersection);
351 RegionRec intersection;
362 REGION_NULL(vsaa->pScreen, &intersection);
363 REGION_INTERSECT(vsaa->pScreen, &intersection, readback,
365 readback = &intersection;
373 REGION_UNINIT(vsaa->pScreen, &intersection);
377 REGION_UNINIT(vsaa->pScreen, &intersection);
743 RegionRec intersection;
760 REGION_NULL(vsaa->pScreen, &intersection);
761 REGION_INTERSECT(vsaa->pScreen, &intersection, &vpix->base.dirty_hw,
763 *has_dirty_hw = REGION_NOTEMPTY(vsaa->pScreen, &intersection);
764 REGION_INTERSECT(vsaa->pScreen, &intersection, &vpix->base.dirty_shadow,
766 *has_valid_hw = !REGION_NOTEMPTY(vsaa->pScreen, &intersection);
767 REGION_UNINIT(vsaa->pScreen, &intersection);
863 RegionRec intersection;
868 REGION_NULL(vsaa->pScreen, &intersection);
869 REGION_COPY(vsaa->pScreen, &intersection, &spix->dirty_shadow);
872 REGION_UNION(vsaa->pScreen, &intersection, vpix->dirty_present,
875 if (spix->damage && REGION_NOTEMPTY(vsaa->pScreen, &intersection)) {
876 RegionPtr upload = &intersection;
883 REGION_INTERSECT(vsaa->pScreen, &intersection, region,
884 &intersection);
885 upload = &intersection;
897 REGION_UNINIT(vsaa->pScreen, &intersection);
902 REGION_UNINIT(vsaa->pScreen, &intersection);
1668 RegionRec intersection;
1708 * Determine the intersection between software contents and region to copy.
1712 REGION_NULL(pScreen, &intersection);
1714 REGION_COPY(pScreen, &intersection, region);
1716 REGION_INTERSECT(pScreen, &intersection, region, &spix->dirty_shadow);
1722 if (REGION_NOTEMPTY(pScreen, &intersection)) {
1723 if (vmwgfx_saa_dma(vsaa, src, &intersection, TRUE, dx, dy, dst)) {
1724 REGION_SUBTRACT(pScreen, &intersection, region, &intersection);
1725 copy_region = &intersection;
1760 REGION_UNINIT(pScreen, &intersection);