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

Side by Side Diff: cc/ipc/traits_test_service.mojom

Issue 2088603002: Implement RenderPass StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 4 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
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/ipc/typemaps.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 cc.mojom; 5 module cc.mojom;
6 6
7 import "cc/ipc/begin_frame_args.mojom"; 7 import "cc/ipc/begin_frame_args.mojom";
8 import "cc/ipc/compositor_frame_metadata.mojom"; 8 import "cc/ipc/compositor_frame_metadata.mojom";
9 import "cc/ipc/filter_operation.mojom"; 9 import "cc/ipc/filter_operation.mojom";
10 import "cc/ipc/filter_operations.mojom"; 10 import "cc/ipc/filter_operations.mojom";
11 import "cc/ipc/quads.mojom"; 11 import "cc/ipc/quads.mojom";
12 import "cc/ipc/render_pass.mojom";
12 import "cc/ipc/render_pass_id.mojom"; 13 import "cc/ipc/render_pass_id.mojom";
13 import "cc/ipc/returned_resource.mojom"; 14 import "cc/ipc/returned_resource.mojom";
14 import "cc/ipc/selection.mojom"; 15 import "cc/ipc/selection.mojom";
15 import "cc/ipc/shared_quad_state.mojom"; 16 import "cc/ipc/shared_quad_state.mojom";
16 import "cc/ipc/surface_id.mojom"; 17 import "cc/ipc/surface_id.mojom";
17 import "cc/ipc/surface_sequence.mojom"; 18 import "cc/ipc/surface_sequence.mojom";
18 import "cc/ipc/transferable_resource.mojom"; 19 import "cc/ipc/transferable_resource.mojom";
19 20
20 // All functions on this interface echo their arguments to test StructTraits 21 // All functions on this interface echo their arguments to test StructTraits
21 // serialization and deserialization. 22 // serialization and deserialization.
22 interface TraitsTestService { 23 interface TraitsTestService {
23 [Sync] 24 [Sync]
24 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass); 25 EchoBeginFrameArgs(BeginFrameArgs b) => (BeginFrameArgs pass);
25 26
26 [Sync] 27 [Sync]
27 EchoCompositorFrameMetadata(CompositorFrameMetadata c) => 28 EchoCompositorFrameMetadata(CompositorFrameMetadata c) =>
28 (CompositorFrameMetadata pass); 29 (CompositorFrameMetadata pass);
29 30
30 [Sync] 31 [Sync]
31 EchoFilterOperation(FilterOperation f) => (FilterOperation pass); 32 EchoFilterOperation(FilterOperation f) => (FilterOperation pass);
32 33
33 [Sync] 34 [Sync]
34 EchoFilterOperations(FilterOperations f) => (FilterOperations pass); 35 EchoFilterOperations(FilterOperations f) => (FilterOperations pass);
35 36
36 [Sync] 37 [Sync]
37 EchoQuadList(QuadList q) => (QuadList pass); 38 EchoQuadList(QuadList q) => (QuadList pass);
38 39
39 [Sync] 40 [Sync]
41 EchoRenderPass(RenderPass r) => (RenderPass pass);
42
43 [Sync]
40 EchoRenderPassId(RenderPassId r) => (RenderPassId pass); 44 EchoRenderPassId(RenderPassId r) => (RenderPassId pass);
41 45
42 [Sync] 46 [Sync]
43 EchoReturnedResource(ReturnedResource r) => (ReturnedResource pass); 47 EchoReturnedResource(ReturnedResource r) => (ReturnedResource pass);
44 48
45 [Sync] 49 [Sync]
46 EchoSelection(Selection s) => (Selection pass); 50 EchoSelection(Selection s) => (Selection pass);
47 51
48 [Sync] 52 [Sync]
49 EchoSharedQuadState(SharedQuadState s) => (SharedQuadState pass); 53 EchoSharedQuadState(SharedQuadState s) => (SharedQuadState pass);
50 54
51 [Sync] 55 [Sync]
52 EchoSurfaceId(SurfaceId s) => (SurfaceId pass); 56 EchoSurfaceId(SurfaceId s) => (SurfaceId pass);
53 57
54 [Sync] 58 [Sync]
55 EchoSurfaceSequence(SurfaceSequence s) => (SurfaceSequence pass); 59 EchoSurfaceSequence(SurfaceSequence s) => (SurfaceSequence pass);
56 60
57 [Sync] 61 [Sync]
58 EchoTransferableResource(TransferableResource t) => 62 EchoTransferableResource(TransferableResource t) =>
59 (TransferableResource pass); 63 (TransferableResource pass);
60 }; 64 };
OLDNEW
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/ipc/typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698