mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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
17 lines
456 B
C++
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_
|