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

Unified Diff: services/ui/public/interfaces/gpu_service.mojom

Issue 2248973005: mojo: Struct traits for gpu buffer types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « services/ui/public/interfaces/gpu_memory_buffer.mojom ('k') | ui/gfx/mojo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/gpu_service.mojom
diff --git a/services/ui/public/interfaces/gpu_service.mojom b/services/ui/public/interfaces/gpu_service.mojom
index 54bbd9f66bbdef0cc613faca23afc6b97193eb79..aebd04a9d83ff15530696ee074694673883cea49 100644
--- a/services/ui/public/interfaces/gpu_service.mojom
+++ b/services/ui/public/interfaces/gpu_service.mojom
@@ -9,6 +9,7 @@ import "gpu/ipc/common/sync_token.mojom";
import "services/ui/public/interfaces/channel_handle.mojom";
import "services/ui/public/interfaces/gpu_memory_buffer.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
+import "ui/gfx/mojo/buffer_types.mojom";
interface GpuService {
// Tells the GPU service to create a new channel for communication with a
@@ -22,8 +23,8 @@ interface GpuService {
// Tells the GPU service to create a new GPU memory buffer.
CreateGpuMemoryBuffer(GpuMemoryBufferId id,
gfx.mojom.Size size,
- BufferFormat format,
- BufferUsage usage,
+ gfx.mojom.BufferFormat format,
+ gfx.mojom.BufferUsage usage,
uint64 surface_id)
=> (GpuMemoryBufferHandle buffer_handle);
« no previous file with comments | « services/ui/public/interfaces/gpu_memory_buffer.mojom ('k') | ui/gfx/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698