Revert of Fix sandbox target in Windows GN build and enable it. (patchset #1 id:1...
[chromium-blink-merge.git] / mojo / services / public / interfaces / gpu / gpu.mojom
bloba765c1cb7ed47361ce4d109deccb057858f25696
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 module mojo;
7 import "mojo/services/public/interfaces/geometry/geometry.mojom";
8 import "mojo/services/public/interfaces/gpu/command_buffer.mojom";
9 import "mojo/services/public/interfaces/gpu/viewport_parameter_listener.mojom";
11 interface Gpu {
12   CreateOnscreenGLES2Context(uint64 native_viewport_id,
13                              Size? size,
14                              CommandBuffer&? gles2_client,
15                              ViewportParameterListener? listener);
16   CreateOffscreenGLES2Context(CommandBuffer&? gles2_client);