glamor: Don't always fallback everything when change window attr.
Change the glamor_change_window_attributes's handling. We don't need to fallback every thing to cpu at the beginning. Only when there is a real need to change the pixmap's format, we need to do something. Otherwise, we need do nothing here. Signed-off-by: Zhigang Gong <firstname.lastname@example.org>
Showing with 118 additions and 51 deletions