diff options
author | Michel Dänzer <daenzer@vmware.com> | 2010-07-13 14:56:53 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-07-13 10:07:04 -0700 |
commit | 0540c46066f938ad5611c56081cfcd8457a9b718 (patch) | |
tree | 24f3b8c593ca490657e3a36792954d781eabe36c /exa/exa_priv.h | |
parent | d75e8146c414bfd512ba5dbd4a83acb334bbe19b (diff) |
EXA: Finish access to pixmap if it's prepared at destruction time.
Previously we assumed every pixmap destroyed during a software fallback was
also created during a software fallback and had access prepared, but that's
not always true.
Fixes a server abort
Reported-by: 邓逸昕 <bupt.dengyixin@gmail.com>
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Acked-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'exa/exa_priv.h')
-rw-r--r-- | exa/exa_priv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/exa/exa_priv.h b/exa/exa_priv.h index 58d04b0de..e5d90d468 100644 --- a/exa/exa_priv.h +++ b/exa/exa_priv.h @@ -551,6 +551,9 @@ void exaFinishAccess(DrawablePtr pDrawable, int index); void +exaDestroyPixmap(PixmapPtr pPixmap); + +void exaPixmapDirty(PixmapPtr pPix, int x1, int y1, int x2, int y2); void |