add SK_OVERRIDEs, move impl of virtuals into .cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2819 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index 5daf42c..df2ac22 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -375,6 +375,10 @@
}
}
+SkGpuRenderTarget* SkGpuDevice::accessRenderTarget() {
+ return (SkGpuRenderTarget*)fRenderTarget;
+}
+
bool SkGpuDevice::bindDeviceAsTexture(GrPaint* paint) {
if (NULL != fTexture) {
paint->setTexture(kBitmapTextureIdx, fTexture);
@@ -1744,6 +1748,10 @@
return false;
}
+void SkGpuDevice::flush() {
+ fContext->flush(false);
+}
+
///////////////////////////////////////////////////////////////////////////////
SkGpuDevice::TexCache SkGpuDevice::lockCachedTexture(const SkBitmap& bitmap,