зеркало из https://github.com/mozilla/moz-skia.git
Address google3 compiler warning
https://codereview.appspot.com/7308063/ git-svn-id: http://skia.googlecode.com/svn/trunk@7655 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
2d40ec4e9a
Коммит
5990397d08
|
@ -63,6 +63,8 @@ public:
|
|||
virtual void flushedDrawCommands() SK_OVERRIDE {fDummy = !fDummy;}
|
||||
private:
|
||||
bool fDummy;
|
||||
|
||||
typedef SkDeferredCanvas::NotificationClient INHERITED;
|
||||
};
|
||||
|
||||
// Test that records very simple draw operations.
|
||||
|
|
|
@ -192,6 +192,8 @@ public:
|
|||
public:
|
||||
class NotificationClient {
|
||||
public:
|
||||
virtual ~NotificationClient() {}
|
||||
|
||||
/**
|
||||
* Called before executing one or several draw commands, which means
|
||||
* once per flush when deferred rendering is enabled.
|
||||
|
@ -218,9 +220,6 @@ public:
|
|||
* or completely overwritten by the command currently being recorded.
|
||||
*/
|
||||
virtual void skippedPendingDrawCommands() {}
|
||||
|
||||
private:
|
||||
typedef SkRefCnt INHERITED;
|
||||
};
|
||||
|
||||
protected:
|
||||
|
|
|
@ -260,6 +260,9 @@ public:
|
|||
int fStorageAllocatedChangedCount;
|
||||
int fFlushedDrawCommandsCount;
|
||||
int fSkippedPendingDrawCommandsCount;
|
||||
|
||||
private:
|
||||
typedef SkDeferredCanvas::NotificationClient INHERITED;
|
||||
};
|
||||
|
||||
static void TestDeferredCanvasBitmapCaching(skiatest::Reporter* reporter) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче