Only return TRUE if the GPU copy is being accessed, and preserve the return value on repeated / nested calls for the same pixmap. exaPrepareAccessReg_mixed could get inconsistent return values e.g. when the same pixmap is both the destination and source of an operation, potentially resulting in a crash. Signed-off-by: Michel Dänzer <daenzer@vmware.com> Acked-by: Maarten Maathuis <madman2003@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com> |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| exa.c | ||
| exa.h | ||
| exa_accel.c | ||
| exa_classic.c | ||
| exa_driver.c | ||
| exa_glyphs.c | ||
| exa_migration_classic.c | ||
| exa_migration_mixed.c | ||
| exa_mixed.c | ||
| exa_offscreen.c | ||
| exa_priv.h | ||
| exa_render.c | ||
| exa_unaccel.c | ||