diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-12-07 15:07:23 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-12-07 15:07:23 +0000 |
commit | 75d939b549a2cc4c587ce77c4ba7b17582db30ed (patch) | |
tree | 12156703ab2f3c8b01305c8f8bf59990a0ff0a96 /src | |
parent | da668988e92a63cc504d6bfc79d94df393cb350c (diff) |
add SK_OVERRIDEs, move impl of virtuals into .cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2819 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 5daf42cd91..df2ac2283a 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -375,6 +375,10 @@ void SkGpuDevice::gainFocus(SkCanvas* canvas, const SkMatrix& matrix, } } +SkGpuRenderTarget* SkGpuDevice::accessRenderTarget() { + return (SkGpuRenderTarget*)fRenderTarget; +} + bool SkGpuDevice::bindDeviceAsTexture(GrPaint* paint) { if (NULL != fTexture) { paint->setTexture(kBitmapTextureIdx, fTexture); @@ -1744,6 +1748,10 @@ bool SkGpuDevice::filterTextFlags(const SkPaint& paint, TextFlags* flags) { return false; } +void SkGpuDevice::flush() { + fContext->flush(false); +} + /////////////////////////////////////////////////////////////////////////////// SkGpuDevice::TexCache SkGpuDevice::lockCachedTexture(const SkBitmap& bitmap, |