Index: skia/ext/platform_device_win.cc |
=================================================================== |
--- skia/ext/platform_device_win.cc (revision 80358) |
+++ skia/ext/platform_device_win.cc (working copy) |
@@ -16,6 +16,15 @@ |
: SkDevice(NULL, bitmap, /*isForLayer=*/false) { |
} |
+HDC PlatformDevice::beginPlatformPaint() { |
+ return getBitmapDC(); |
+} |
+ |
+void PlatformDevice::endPlatformPaint() { |
+ // we don't clear the DC here since it will be likely to be used again |
vangelis
2011/04/05 06:23:10
This reads a little strange. If they are supposed
alokp
2011/04/05 15:37:56
Done.
|
+ // flushing will be done in onAccessBitmap |
+} |
+ |
// static |
void PlatformDevice::InitializeDC(HDC context) { |
// Enables world transformation. |