• Zhigang Gong's avatar
    glamor: Reduce source pixmap's size. · 1dca5d7b
    Zhigang Gong authored
    If the dest pixmap is in texture memory, but source pixmap is not.
    Then we need to upload the source pixmap to texture memory. Previous
    version will upload the whole source pixmap. This commit preprocess
    the source pixmap, and reduce it to a smaller tempory pixmap only
    contains the required region.
    Signed-off-by: default avatarZhigang Gong <zhigang.gong@linux.intel.com>