| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/texture_mailbox.mojom"; | 7 import "cc/ipc/texture_mailbox.mojom"; |
| 8 import "cc/ipc/texture_mailbox_releaser.mojom"; |
| 8 import "skia/public/interfaces/bitmap.mojom"; | 9 import "skia/public/interfaces/bitmap.mojom"; |
| 9 import "ui/gfx/geometry/mojo/geometry.mojom"; | 10 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 10 | 11 |
| 11 // See cc/output/copy_output_result.h. | 12 // See cc/output/copy_output_result.h. |
| 12 struct CopyOutputResult { | 13 struct CopyOutputResult { |
| 13 gfx.mojom.Size size; | 14 gfx.mojom.Size size; |
| 14 skia.mojom.Bitmap? bitmap; | 15 skia.mojom.Bitmap? bitmap; |
| 15 cc.mojom.TextureMailbox texture_mailbox; | 16 TextureMailboxWithRelease? texture_mailbox; |
| 16 }; | 17 }; |
| 18 |
| 19 struct TextureMailboxWithRelease { |
| 20 TextureMailbox texture_mailbox; |
| 21 TextureMailboxReleaser releaser; |
| 22 }; |
| OLD | NEW |