2006-12-07 Chris Toshok <toshok@ximian.com>
* XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
all the behavior we need for double buffering.
* XplatUIDriver.cs: implement the 3 double buffer methods using a
client side Bitmap, just like the old Control-based double buffer
code did. The methods are virtual, so each XplatUI driver
subclass can replace the implementation to use a faster, platform
specific approach.
* Control.cs: make use of the 3 Offscreen XplatUI calls in the
double buffer code, and clean things up a bit in the process.
git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@69155 e3ebcda4-bce8-0310-ba0a-eca2169e7518