Removing some dead code in SkDeferredCanvas
REVIEW=http://codereview.appspot.com/5620062/ git-svn-id: http://skia.googlecode.com/svn/trunk@3140 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
db12fee829
commit
2c23708e44
@ -143,7 +143,6 @@ public:
|
||||
class DeviceContext : public SkRefCnt {
|
||||
public:
|
||||
virtual void prepareForDraw() {}
|
||||
virtual void flush() {}
|
||||
};
|
||||
|
||||
public:
|
||||
@ -183,7 +182,6 @@ public:
|
||||
SkDevice* immediateDevice() const {return fImmediateDevice;}
|
||||
|
||||
void flushPending();
|
||||
void flushContext();
|
||||
void purgePending();
|
||||
void flushIfNeeded(const SkBitmap& bitmap);
|
||||
|
||||
|
@ -538,13 +538,6 @@ void SkDeferredCanvas::DeferredDevice::flush()
|
||||
fImmediateCanvas->flush();
|
||||
}
|
||||
|
||||
void SkDeferredCanvas::DeferredDevice::flushContext()
|
||||
{
|
||||
if (fDeviceContext) {
|
||||
fDeviceContext->flush();
|
||||
}
|
||||
}
|
||||
|
||||
void SkDeferredCanvas::DeferredDevice::flushIfNeeded(const SkBitmap& bitmap)
|
||||
{
|
||||
if (bitmap.isImmutable()) {
|
||||
|
Loading…
Reference in New Issue
Block a user