// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CC_PAINT_PAINT_RECORD_H_ #define CC_PAINT_PAINT_RECORD_H_ #include "cc/paint/paint_export.h" #include "cc/paint/paint_op_buffer.h" #include "third_party/skia/include/core/SkPicture.h" class SkMatrix; struct SkRect; namespace cc { class ImageProvider; // Contains recorded paint result. It's basically a read-only (except for // assignment/movement) version of PaintOpBuffer returned from PaintOpBuffer:: // ReleaseAsRecord(). Copy/assignment and movement are cheap, and movement is // preferred to copy/assignment when possible. On copy/assignment, the new // PaintRecord shares the same underlying data with the source. class CC_PAINT_EXPORT PaintRecord { … }; } // namespace cc #endif // CC_PAINT_PAINT_RECORD_H_