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

Side by Side Diff: components/view_manager/public/interfaces/command_buffer.mojom

Issue 1189833005: Revert of Support impl-side painting in Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 2014 The Chromium Authors. All rights reserved. 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 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 module mojo; 5 module mojo;
6 6
7 import "components/view_manager/public/interfaces/gpu_capabilities.mojom"; 7 import "components/view_manager/public/interfaces/gpu_capabilities.mojom";
8 import "ui/mojo/geometry/geometry.mojom";
9 8
10 struct CommandBufferState { 9 struct CommandBufferState {
11 int32 num_entries; 10 int32 num_entries;
12 int32 get_offset; 11 int32 get_offset;
13 int32 put_offset; 12 int32 put_offset;
14 int32 token; 13 int32 token;
15 int32 error; // TODO(piman): enum 14 int32 error; // TODO(piman): enum
16 int32 context_lost_reason; // TODO(piman): enum 15 int32 context_lost_reason; // TODO(piman): enum
17 uint32 generation; 16 uint32 generation;
18 }; 17 };
(...skipping 27 matching lines...) Expand all
46 RegisterTransferBuffer( 45 RegisterTransferBuffer(
47 int32 id, handle<shared_buffer> transfer_buffer, uint32 size); 46 int32 id, handle<shared_buffer> transfer_buffer, uint32 size);
48 DestroyTransferBuffer(int32 id); 47 DestroyTransferBuffer(int32 id);
49 48
50 // InsertSyncPoint returns the sync point returned via DidInsertSyncPoint. 49 // InsertSyncPoint returns the sync point returned via DidInsertSyncPoint.
51 // If |retire| is true, the sync point is retired on insertion. Otherwise, 50 // If |retire| is true, the sync point is retired on insertion. Otherwise,
52 // explicitly call RetireSyncPoint to retire it. 51 // explicitly call RetireSyncPoint to retire it.
53 InsertSyncPoint(bool retire); 52 InsertSyncPoint(bool retire);
54 RetireSyncPoint(uint32 sync_point); 53 RetireSyncPoint(uint32 sync_point);
55 Echo() => (); 54 Echo() => ();
56
57 CreateImage(int32 id,
58 handle memory_handle,
59 int32 type,
60 Size size,
61 int32 format,
62 int32 internal_format);
63 DestroyImage(int32 id);
64 }; 55 };
OLDNEW
« no previous file with comments | « components/view_manager/gles2/raster_thread_helper.cc ('k') | components/view_manager/surfaces/surfaces_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698