2006-12-07 Chris Toshok <toshok@ximian.com>
commit541defe0a1264c57b8dba7fea15c86cafff7e240
authortoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Thu, 7 Dec 2006 05:30:37 +0000 (7 05:30 +0000)
committertoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Thu, 7 Dec 2006 05:30:37 +0000 (7 05:30 +0000)
tree108836e9fc0760b4f4eb1febb2029e85dfc024e0
parent1a1ab3b10dbe01ed01290ba3e479274ba16c5af3
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
class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs
class/Managed.Windows.Forms/System.Windows.Forms/XplatUIDriver.cs