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

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

Issue 1943513002: [Reland 1] Pepper takes ownership of a mailbox before passing it to the texture layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from sunnyps and piman. Created 4 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 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 mus.mojom; 5 module mus.mojom;
6 6
7 import "gpu/ipc/common/capabilities.mojom"; 7 import "gpu/ipc/common/capabilities.mojom";
8 import "gpu/ipc/common/command_buffer.mojom"; 8 import "gpu/ipc/common/command_buffer.mojom";
9 import "gpu/ipc/common/mailbox.mojom"; 9 import "gpu/ipc/common/mailbox.mojom";
10 import "gpu/ipc/common/sync_token.mojom"; 10 import "gpu/ipc/common/sync_token.mojom";
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 DestroyTransferBuffer(int32 id); 44 DestroyTransferBuffer(int32 id);
45 CreateImage(int32 id, 45 CreateImage(int32 id,
46 handle memory_handle, 46 handle memory_handle,
47 int32 type, 47 int32 type,
48 mojo.Size size, 48 mojo.Size size,
49 int32 format, 49 int32 format,
50 int32 internal_format); 50 int32 internal_format);
51 DestroyImage(int32 id); 51 DestroyImage(int32 id);
52 CreateStreamTexture(uint32 client_texture_id) 52 CreateStreamTexture(uint32 client_texture_id)
53 => (int32 stream_id, bool succeeded); 53 => (int32 stream_id, bool succeeded);
54 ProduceFrontBuffer(gpu.mojom.Mailbox mailbox); 54 TakeFrontBuffer(gpu.mojom.Mailbox mailbox);
55 ReturnFrontBuffer(gpu.mojom.Mailbox mailbox, bool is_lost);
55 SignalQuery(uint32 query, uint32 signal_id); 56 SignalQuery(uint32 query, uint32 signal_id);
56 SignalSyncToken(gpu.mojom.SyncToken sync_token, uint32 signal_id); 57 SignalSyncToken(gpu.mojom.SyncToken sync_token, uint32 signal_id);
57 WaitForGetOffsetInRange(int32 start, int32 end) 58 WaitForGetOffsetInRange(int32 start, int32 end)
58 => (gpu.mojom.CommandBufferState state); 59 => (gpu.mojom.CommandBufferState state);
59 WaitForTokenInRange(int32 start, int32 end) 60 WaitForTokenInRange(int32 start, int32 end)
60 => (gpu.mojom.CommandBufferState state); 61 => (gpu.mojom.CommandBufferState state);
61 }; 62 };
OLDNEW
« no previous file with comments | « components/mus/gles2/command_buffer_impl.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698