GPU workaround to simulate Out of Memory errors with large textures
[chromium-blink-merge.git] / cc / debug / picture_debug_util.h
blob1719ea27632894b51a6ac0627fa4bd66e4487ff6
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CC_DEBUG_PICTURE_DEBUG_UTIL_H_
6 #define CC_DEBUG_PICTURE_DEBUG_UTIL_H_
8 #include <string>
10 class SkPicture;
12 namespace cc {
14 class PictureDebugUtil {
15 public:
16 static void SerializeAsBase64(const SkPicture* picture, std::string* output);
19 } // namespace cc
21 #endif // CC_DEBUG_PICTURE_DEBUG_UTIL_H_