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

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

Issue 2019833002: Implement StructTraits for various cc and gpu types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mailbox_name by ref to make windows happy 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/compositor_frame.mojom
diff --git a/components/mus/public/interfaces/compositor_frame.mojom b/components/mus/public/interfaces/compositor_frame.mojom
index 0779b3a6826298c0afe47d26ca4573a1e7aff75d..29f3e5e791d49a9c968193073d7de8cf8bf28457 100644
--- a/components/mus/public/interfaces/compositor_frame.mojom
+++ b/components/mus/public/interfaces/compositor_frame.mojom
@@ -4,6 +4,7 @@
module mus.mojom;
+import "cc/ipc/returned_resource.mojom";
import "components/mus/public/interfaces/quads.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
import "gpu/ipc/common/mailbox_holder.mojom";
@@ -19,14 +20,6 @@ enum ResourceFormat {
ETC1,
};
-// See src/cc/resources/returned_resource.h.
-struct ReturnedResource {
- uint32 id;
- gpu.mojom.SyncToken sync_token;
- int32 count;
- bool lost;
-};
-
// A TransferableResource is a graphics resource such as a texture or a bitmap
// in shared memory (software mode) that is shared between the window server and
// a client. This data structure is used to manage reuse of
@@ -67,5 +60,5 @@ interface Surface {
};
interface SurfaceClient {
- ReturnResources(array<ReturnedResource> resources);
+ ReturnResources(array<cc.mojom.ReturnedResource> resources);
};
« no previous file with comments | « components/mus/public/cpp/window_surface_client.h ('k') | components/mus/public/interfaces/gpu/display_compositor.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698