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

Side by Side Diff: mojo/services/gpu/interfaces/context_provider.mojom

Issue 1398973004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 2). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_1
Patch Set: add missing copyright notices Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo; 6 module mojo;
7 7
8 import "gpu/public/interfaces/command_buffer.mojom"; 8 import "gpu/interfaces/command_buffer.mojom";
9 import "gpu/public/interfaces/viewport_parameter_listener.mojom"; 9 import "gpu/interfaces/viewport_parameter_listener.mojom";
10 10
11 // A ContextProvider can be used to provide new command buffers related to a 11 // A ContextProvider can be used to provide new command buffers related to a
12 // particular context, for instance configured to draw to a particular display. 12 // particular context, for instance configured to draw to a particular display.
13 interface ContextProvider { 13 interface ContextProvider {
14 // This initializes a new command buffer for this provider when available, 14 // This initializes a new command buffer for this provider when available,
15 // closing connections to the previously created command buffer (if any). 15 // closing connections to the previously created command buffer (if any).
16 // 16 //
17 // This call may not return for an extended period of time if a command 17 // This call may not return for an extended period of time if a command
18 // buffer cannot be produced immediately, for example if it is associated 18 // buffer cannot be produced immediately, for example if it is associated
19 // with a view that is offscreen. 19 // with a view that is offscreen.
20 // 20 //
21 // If a viewport_parameter_listener is provided it will notified be when 21 // If a viewport_parameter_listener is provided it will notified be when
22 // vsync parameters change for this context. 22 // vsync parameters change for this context.
23 // 23 //
24 // The returned handle will be null if no command buffer can be created for 24 // The returned handle will be null if no command buffer can be created for
25 // this request, for example if another request is made on the same provider 25 // this request, for example if another request is made on the same provider
26 // before a previous call returns. 26 // before a previous call returns.
27 Create(ViewportParameterListener? viewport_parameter_listener) 27 Create(ViewportParameterListener? viewport_parameter_listener)
28 => (CommandBuffer? gles2_client); 28 => (CommandBuffer? gles2_client);
29 }; 29 };
OLDNEW
« no previous file with comments | « mojo/services/gpu/interfaces/command_buffer.mojom ('k') | mojo/services/gpu/interfaces/gpu.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698