Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(634)

Unified Diff: components/gpu/public/interfaces/context_provider.mojom

Issue 1150093003: Move GLES2, GPU & Surfaces into the ViewManager directory. This does not merge the applications, th… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/gpu/public/interfaces/command_buffer.mojom ('k') | components/gpu/public/interfaces/gpu.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gpu/public/interfaces/context_provider.mojom
diff --git a/components/gpu/public/interfaces/context_provider.mojom b/components/gpu/public/interfaces/context_provider.mojom
deleted file mode 100644
index e51c92a75b9e744731fac1d5571a1dae06b69436..0000000000000000000000000000000000000000
--- a/components/gpu/public/interfaces/context_provider.mojom
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2015 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 mojo;
-
-import "components/gpu/public/interfaces/command_buffer.mojom";
-import "components/gpu/public/interfaces/viewport_parameter_listener.mojom";
-
-// A ContextProvider can be used to provide new command buffers related to a
-// particular context, for instance configured to draw to a particular display.
-interface ContextProvider {
- // This initializes a new command buffer for this provider when available,
- // closing connections to the previously created command buffer (if any).
- //
- // This call may not return for an extended period of time if a command
- // buffer cannot be produced immediately, for example if it is associated
- // with a view that is offscreen.
- //
- // If a viewport_parameter_listener is provided it will notified be when
- // vsync parameters change for this context.
- //
- // The returned handle will be null if no command buffer can be created for
- // this request, for example if another request is made on the same provider
- // before a previous call returns.
- Create(ViewportParameterListener? viewport_parameter_listener)
- => (CommandBuffer? gles2_client);
-};
« no previous file with comments | « components/gpu/public/interfaces/command_buffer.mojom ('k') | components/gpu/public/interfaces/gpu.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698