michael@0: /* michael@0: * Copyright 2012 Google Inc. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: #ifndef SkNullCanvas_DEFINED michael@0: #define SkNullCanvas_DEFINED michael@0: michael@0: #include "SkBitmap.h" michael@0: michael@0: class SkCanvas; michael@0: michael@0: /** michael@0: * Creates a canvas that draws nothing. This is useful for performance testing. michael@0: */ michael@0: SK_API SkCanvas* SkCreateNullCanvas(); michael@0: michael@0: #endif