62f57a02b3
Client changes: - cl/443664347 - cl/444232853 - http://ag/17915718 - http://ag/17913178 - https://crrev.com/c/3602239 Change-Id: I16bcdbbe2b13bbf52f007b0f131e9ee0c14ed237 Bug: skia:13052 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/532257 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Kevin Lubick <kjlubick@google.com>
23 lines
424 B
C++
23 lines
424 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 "include/core/SkTypes.h"
|
|
|
|
#include <memory>
|
|
|
|
class SkCanvas;
|
|
|
|
/**
|
|
* Creates a canvas that draws nothing. This is useful for performance testing.
|
|
*/
|
|
SK_API std::unique_ptr<SkCanvas> SkMakeNullCanvas();
|
|
|
|
#endif
|