SkDeferredDisplayList.cpp 751 B

1234567891011121314151617181920212223242526
  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. #include "include/core/SkRefCnt.h"
  8. #include "include/core/SkTypes.h"
  9. #include "include/private/SkDeferredDisplayList.h"
  10. #include <utility>
  11. class SkSurfaceCharacterization;
  12. #if SK_SUPPORT_GPU
  13. #include "src/gpu/GrOpList.h"
  14. #include "src/gpu/ccpr/GrCCPerOpListPaths.h"
  15. #endif
  16. SkDeferredDisplayList::SkDeferredDisplayList(const SkSurfaceCharacterization& characterization,
  17. sk_sp<LazyProxyData> lazyProxyData)
  18. : fCharacterization(characterization)
  19. , fLazyProxyData(std::move(lazyProxyData)) {
  20. }
  21. SkDeferredDisplayList::~SkDeferredDisplayList() {
  22. }