mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
Remove the access mode from private pixmap structure.
Change the finish_access to pass in the access mode, and remove the access mode from the pixmap structure. This element should not be a pixmap's property. Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
parent
d135e879a6
commit
92fd83872f
13 changed files with 29 additions and 30 deletions
|
|
@ -422,9 +422,9 @@ _glamor_copy_n_to_n(DrawablePtr src,
|
|||
dx, dy, reverse, upsidedown, bitplane,
|
||||
closure);
|
||||
if (dst != src)
|
||||
glamor_finish_access(src);
|
||||
glamor_finish_access(src, GLAMOR_ACCESS_RO);
|
||||
}
|
||||
glamor_finish_access(dst);
|
||||
glamor_finish_access(dst, GLAMOR_ACCESS_RW);
|
||||
}
|
||||
|
||||
done:
|
||||
|
|
|
|||
Loading…
Reference in a new issue