// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CC_SLIM_SCHEDULER_H_ #define CC_SLIM_SCHEDULER_H_ #include "components/viz/common/frame_sinks/begin_frame_args.h" namespace cc::slim { // Implemented by slim compositor for Scheduler implementations to call. class SchedulerClient { … }; // Scheduler class controls timing of slim compositor frame production. In // particular, it controls when compositor should respond a OnBeginFrame from // viz with SubmitCompositorFrame or DidNotProduceFrame. class Scheduler { … }; } // namespace cc::slim #endif // CC_SLIM_SCHEDULER_H_