flutter_flutter/compositor/picture_serializer.h
Adam Barth 7228761ef7 Serialize SkPictures to the file system
This CL teaches the Sky compositor how to serialize SkPictures to the file
system so that we can study them in the Skia picture debugger.

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/853863003
2015-01-21 16:27:28 -08:00

17 lines
456 B
C++

// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SKY_COMPOSITOR_PICTURE_SERIALIZER_H_
#define SKY_COMPOSITOR_PICTURE_SERIALIZER_H_
#include "third_party/skia/include/core/SkPicture.h"
namespace sky {
void SerializePicture(const char* file_name, SkPicture*);
} // namespace sky
#endif // SKY_COMPOSITOR_PICTURE_SERIALIZER_H_