Lines Matching refs:spix

44     struct saa_pixmap *spix = saa_get_saa_pixmap(pixmap);
45 struct vmwgfx_saa_pixmap *vpix = to_vmwgfx_saa_pixmap(spix);
49 if (spix->damage)
61 REGION_RESET(draw->pScreen, &spix->dirty_hw, &box);
62 REGION_EMPTY(draw->pScreen, &spix->dirty_shadow);
64 REGION_RESET(draw->pScreen, &spix->dirty_shadow, &box);
65 REGION_EMPTY(draw->pScreen, &spix->dirty_hw);
74 struct saa_pixmap *spix = saa_get_saa_pixmap(pixmap);
75 struct vmwgfx_saa_pixmap *vpix = to_vmwgfx_saa_pixmap(spix);
77 if (!spix->damage || vpix->hw || vpix->gmr || vpix->malloc)
81 DamageUnregister(spix->damage);
83 DamageUnregister(&pixmap->drawable, spix->damage);
86 DamageDestroy(spix->damage);
87 spix->damage = NULL;
236 struct saa_pixmap *spix = saa_get_saa_pixmap(pixmap);
237 struct vmwgfx_saa_pixmap *vpix = to_vmwgfx_saa_pixmap(spix);
240 if (!spix->damage || !REGION_NOTEMPTY(vsaa->pScreen, &spix->dirty_hw) ||
249 REGION_COPY(vsaa->pScreen, &intersection, &spix->dirty_hw);
270 REGION_SUBTRACT(vsaa->pScreen, &spix->dirty_hw,
271 &spix->dirty_hw, &intersection);
348 struct saa_pixmap *spix = saa_get_saa_pixmap(pixmap);
349 struct vmwgfx_saa_pixmap *vpix = to_vmwgfx_saa_pixmap(spix);
356 if (!REGION_NOTEMPTY(vsaa->pScreen, &spix->dirty_hw))
364 &spix->dirty_hw);
372 REGION_SUBTRACT(vsaa->pScreen, &spix->dirty_hw, &spix->dirty_hw, readback);
437 vmwgfx_create_pixmap(struct saa_driver *driver, struct saa_pixmap *spix,
441 struct vmwgfx_saa_pixmap *vpix = to_vmwgfx_saa_pixmap(spix);
454 struct saa_pixmap *spix)
456 struct vmwgfx_saa_pixmap *vpix = to_vmwgfx_saa_pixmap(spix);
465 if (!vmwgfx_download_from_hw(&vsaa->driver, spix->pixmap,
466 &spix->dirty_hw))
477 vmwgfx_pixmap_remove_damage(spix->pixmap);
496 struct saa_pixmap *spix = &vpix->base;
497 PixmapPtr pixmap = spix->pixmap;
499 if (vmwgfx_upload_to_hw(&vsaa->driver, pixmap, &spix->dirty_shadow)) {
500 REGION_EMPTY(vsaa->pScreen, &spix->dirty_shadow);
558 struct saa_pixmap *spix = saa_get_saa_pixmap(pixmap);
559 struct vmwgfx_saa_pixmap *vpix = to_vmwgfx_saa_pixmap(spix);
623 REGION_INTERSECT(pScreen, &spix->dirty_shadow, &spix->dirty_shadow,
625 REGION_INTERSECT(pScreen, &spix->dirty_hw, &spix->dirty_hw, &b_reg);
861 struct saa_pixmap *spix = saa_get_saa_pixmap(pixmap);
862 struct vmwgfx_saa_pixmap *vpix = to_vmwgfx_saa_pixmap(spix);
869 REGION_COPY(vsaa->pScreen, &intersection, &spix->dirty_shadow);
873 &spix->dirty_shadow);
875 if (spix->damage && REGION_NOTEMPTY(vsaa->pScreen, &intersection)) {
891 REGION_SUBTRACT(vsaa->pScreen, &spix->dirty_shadow,
892 &spix->dirty_shadow, upload);
1272 struct saa_pixmap *spix = saa_get_saa_pixmap(pixmap);
1273 struct vmwgfx_saa_pixmap *vpix = to_vmwgfx_saa_pixmap(spix);
1289 vmwgfx_upload_to_hw(driver, pixmap, &spix->dirty_shadow)) {
1291 REGION_EMPTY(vsaa->pScreen, &spix->dirty_shadow);
1310 struct saa_pixmap *spix = saa_get_saa_pixmap(pixmap);
1311 struct vmwgfx_saa_pixmap *vpix = to_vmwgfx_saa_pixmap(spix);
1330 REGION_SUBTRACT(&vsaa->pScreen, &spix->dirty_shadow,
1331 &spix->dirty_shadow, damage);
1616 struct saa_pixmap *spix;
1620 spix = &vpix->base;
1625 (void) vmwgfx_download_from_hw(&vsaa->driver, spix->pixmap,
1626 &spix->dirty_hw);
1627 REGION_EMPTY(draw->pScreen, &spix->dirty_hw);
1660 struct saa_pixmap *spix;
1698 spix = saa_get_saa_pixmap(src);
1699 vpix = to_vmwgfx_saa_pixmap(spix);
1715 else if (spix->damage && REGION_NOTEMPTY(pScreen, &spix->dirty_shadow))
1716 REGION_INTERSECT(pScreen, &intersection, region, &spix->dirty_shadow);