compositor-drm: Only update hw cursor contents when it changes
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 18 Jul 2012 16:09:58 +0000 (12:09 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 18 Jul 2012 19:52:14 +0000 (15:52 -0400)
commit1f5de35482ea1b416a054273fd7319c0ed66f928
tree3e2d31ba202c14c086997e3f646f6850286c0b29
parent24e4275c300b3072a7c5c53715eca97c23f48c9a
compositor-drm: Only update hw cursor contents when it changes

We avoid the memcpy, gbm_bo_write and the drmModeSetCursor ioctl per frame.
src/compositor-drm.c