Nikolay Sivov : d2d1: Derive shared bitmap format from the source bitmap.