Index: mojo/services/public/interfaces/gpu/gpu.mojom |
diff --git a/mojo/services/public/interfaces/gpu/gpu.mojom b/mojo/services/public/interfaces/gpu/gpu.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d6629cd39ac1e05761d2fadaf070159a13c09c45 |
--- /dev/null |
+++ b/mojo/services/public/interfaces/gpu/gpu.mojom |
@@ -0,0 +1,15 @@ |
+// Copyright 2014 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. |
+ |
+import "mojo/services/gles2/command_buffer.mojom" |
+import "mojo/services/public/interfaces/geometry/geometry.mojom" |
+ |
+module mojo { |
+ |
+interface Gpu { |
+ CreateOnscreenGLES2Context(uint64 native_viewport_id, Size size, CommandBuffer& gles2_client); |
+ CreateOffscreenGLES2Context(CommandBuffer& gles2_client); |
+}; |
+ |
+} |