1 /* 2 * Copyright 2018 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #include "include/core/SkRefCnt.h" 9 #include "include/core/SkTypes.h" 10 #include "include/private/SkDeferredDisplayList.h" 11 #include <utility> 12 class SkSurfaceCharacterization; 13 14 #if SK_SUPPORT_GPU 15 #include "src/gpu/GrRenderTask.h" 16 #include "src/gpu/ccpr/GrCCPerOpListPaths.h" 17 #endif 18 SkDeferredDisplayList(const SkSurfaceCharacterization & characterization,sk_sp<LazyProxyData> lazyProxyData)19SkDeferredDisplayList::SkDeferredDisplayList(const SkSurfaceCharacterization& characterization, 20 sk_sp<LazyProxyData> lazyProxyData) 21 : fCharacterization(characterization) 22 , fLazyProxyData(std::move(lazyProxyData)) { 23 } 24 ~SkDeferredDisplayList()25SkDeferredDisplayList::~SkDeferredDisplayList() { 26 } 27