/* * Copyright 2020 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrDDLTask_DEFINED #define GrDDLTask_DEFINED #include "include/core/SkRefCnt.h" #include "include/core/SkTypes.h" #include "include/private/gpu/ganesh/GrTypesPriv.h" #include "src/gpu/ganesh/GrRenderTask.h" class GrDeferredDisplayList; class GrDrawingManager; class GrOpFlushState; class GrRecordingContext; class GrRenderTargetProxy; class GrResourceAllocator; class GrSurfaceProxy; class SkString; struct SkIRect; /** * This render task isolates the DDL's tasks from the rest of the DAG. This means that * the DDL's tasks cannot be reordered by the topological sort and are always executed * as a single block. * It almost entirely just forwards calls down to the DDL's render tasks. */ class GrDDLTask final : public GrRenderTask { … }; #endif