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

Unified Diff: components/mus/public/interfaces/gpu_service.mojom

Issue 1976703003: Impl mus::mojom::GpuService to enable using Chrome IPC version gpu CmdBuf in mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: components/mus/public/interfaces/gpu_service.mojom
diff --git a/components/mus/public/interfaces/gpu_service.mojom b/components/mus/public/interfaces/gpu_service.mojom
index f7f4cf4af657060ec870816cdb3fe2bd63db7eaa..caeb528e5feb360f76b62162b4b2aeebb433eb23 100644
--- a/components/mus/public/interfaces/gpu_service.mojom
+++ b/components/mus/public/interfaces/gpu_service.mojom
@@ -14,10 +14,8 @@ interface GpuService {
// Tells the GPU service to create a new channel for communication with a
// client. The GPU service responds asynchronously with IPC handle and
// GPUInfo.
- EstablishGpuChannel(bool prempts,
- bool allow_view_command_buffers,
- bool allow_real_time_streams)
- => (ChannelHandle channel_handle, GpuInfo gpu_info);
+ EstablishGpuChannel()
+ => (int32 client_id, ChannelHandle channel_handle, GpuInfo? gpu_info);
Tom Sepez 2016/06/03 17:11:11 How does it know that its less trustworthy client
dcheng 2016/06/03 17:34:48 Is GpuInfo nullable only because it's not yet impl
Peng 2016/06/03 18:34:07 Yes. I changed it to nullbale because we don't hav
Peng 2016/06/03 18:34:07 With chrome IPC command buffer, the client_id is u
piman 2016/06/03 19:20:46 The sync token is meant to indicate a particular p
// Tells the GPU service to create a new GPU memory buffer.
CreateGpuMemoryBuffer(GpuMemoryBufferId id,

Powered by Google App Engine
This is Rietveld 408576698