naiveproxy/services/viz/public/interfaces/compositing/compositing_mode_watcher.mojom
2018-08-14 22:19:20 +00:00

17 lines
559 B
Plaintext

// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module viz.mojom;
interface CompositingModeWatcher {
CompositingModeFallbackToSoftware();
};
interface CompositingModeReporter {
// Adds a watcher to hear when the compositing mode will use software instead of
// gpu. If the compositing mode is software already when the watcher is added, it
// will still be notified.
AddCompositingModeWatcher(CompositingModeWatcher watcher);
};