• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 // 2021.2.10 Increase the process used in native_view mode.
6 //           Copyright (c) 2021 Huawei Device Co., Ltd. All rights reserved.
7 
8 #include "flutter/flow/ohos_layers/layer_tree.h"
9 
10 #include "third_party/skia/include/core/SkMatrix.h"
11 
12 namespace flutter::OHOS {
13 
Prepare()14 void LayerTree::Prepare()
15 {
16     SkMatrix skMatrix;
17     skMatrix.setIdentity();
18     rootLayer_->Prepare(skMatrix);
19 }
20 
21 } // namespace flutter::OHOS
22