naiveproxy/services/ui/gpu/interfaces/gpu_main.mojom

24 lines
916 B
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
// Copyright 2016 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 ui.mojom;
import "gpu/ipc/common/gpu_preferences.mojom";
import "services/viz/privileged/interfaces/gl/gpu_host.mojom";
import "services/viz/privileged/interfaces/compositing/frame_sink_manager.mojom";
import "services/viz/privileged/interfaces/gl/gpu_service.mojom";
// This is the primordial interface used to (re)start the mus-gpu bundle
// of services.
interface GpuMain {
CreateFrameSinkManager(
viz.mojom.FrameSinkManager& frame_sink_manager,
viz.mojom.FrameSinkManagerClient frame_sink_manager_client);
CreateGpuService(viz.mojom.GpuService& gpu_service,
viz.mojom.GpuHost gpu_host,
gpu.mojom.GpuPreferences preferences,
handle<shared_buffer>? activity_flags);
};