02b7349af7
BUG=skia: Change-Id: If0aa01beb8be9bd7d9a3a5b23c795223b02f02d3 Reviewed-on: https://skia-review.googlesource.com/5690 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Reed <reed@google.com>
19 lines
376 B
C++
19 lines
376 B
C++
/*
|
|
* Copyright 2012 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef SkNullCanvas_DEFINED
|
|
#define SkNullCanvas_DEFINED
|
|
|
|
#include "SkCanvas.h"
|
|
|
|
/**
|
|
* Creates a canvas that draws nothing. This is useful for performance testing.
|
|
*/
|
|
SK_API std::unique_ptr<SkCanvas> SkMakeNullCanvas();
|
|
|
|
#endif
|