chromium/cc/layers/picture_layer.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "cc/layers/picture_layer.h"

#include <memory>
#include <utility>

#include "base/auto_reset.h"
#include "base/debug/crash_logging.h"
#include "base/debug/dump_without_crashing.h"
#include "base/strings/stringprintf.h"
#include "base/trace_event/trace_event.h"
#include "cc/base/features.h"
#include "cc/layers/content_layer_client.h"
#include "cc/layers/picture_layer_impl.h"
#include "cc/layers/recording_source.h"
#include "cc/paint/paint_record.h"
#include "cc/trees/layer_tree_host.h"
#include "cc/trees/layer_tree_impl.h"
#include "cc/trees/transform_node.h"
#include "third_party/skia/include/core/SkPictureRecorder.h"
#include "ui/gfx/geometry/rect_conversions.h"

namespace cc {

scoped_refptr<PictureLayer> PictureLayer::Create(ContentLayerClient* client) {}

PictureLayer::PictureLayer(ContentLayerClient* client)
    :{}

PictureLayer::~PictureLayer() = default;

std::unique_ptr<LayerImpl> PictureLayer::CreateLayerImpl(
    LayerTreeImpl* tree_impl) const {}

void PictureLayer::PushPropertiesTo(
    LayerImpl* base_layer,
    const CommitState& commit_state,
    const ThreadUnsafeCommitState& unsafe_state) {}

scoped_refptr<RasterSource> PictureLayer::CreateRasterSource() const {}

void PictureLayer::SetLayerTreeHost(LayerTreeHost* host) {}

void PictureLayer::SetNeedsDisplayRect(const gfx::Rect& layer_rect) {}

bool PictureLayer::RequiresSetNeedsDisplayOnHdrHeadroomChange() const {}

bool PictureLayer::Update() {}

sk_sp<const SkPicture> PictureLayer::GetPicture() const {}

void PictureLayer::ClearClient() {}

bool PictureLayer::HasDrawableContent() const {}

void PictureLayer::SetIsBackdropFilterMask(bool is_backdrop_filter_mask) {}

void PictureLayer::RunMicroBenchmark(MicroBenchmark* benchmark) {}

void PictureLayer::CaptureContent(const gfx::Rect& rect,
                                  std::vector<NodeInfo>* content) const {}

void PictureLayer::DropRecordingSourceContentIfInvalid(
    int source_frame_number) {}

const DisplayItemList* PictureLayer::GetDisplayItemList() const {}

}  // namespace cc