| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CC_RESOURCES_TEXTURE_MAILBOX_H_ | 5 #ifndef CC_RESOURCES_TEXTURE_MAILBOX_H_ |
| 6 #define CC_RESOURCES_TEXTURE_MAILBOX_H_ | 6 #define CC_RESOURCES_TEXTURE_MAILBOX_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
| 14 #include "cc/base/cc_export.h" | 14 #include "cc/cc_export.h" |
| 15 #include "gpu/command_buffer/common/mailbox_holder.h" | 15 #include "gpu/command_buffer/common/mailbox_holder.h" |
| 16 #include "mojo/public/cpp/bindings/struct_traits.h" | 16 #include "mojo/public/cpp/bindings/struct_traits.h" |
| 17 #include "ui/gfx/color_space.h" | 17 #include "ui/gfx/color_space.h" |
| 18 #include "ui/gfx/geometry/size.h" | 18 #include "ui/gfx/geometry/size.h" |
| 19 | 19 |
| 20 namespace cc { | 20 namespace cc { |
| 21 | 21 |
| 22 namespace mojom { | 22 namespace mojom { |
| 23 class TextureMailboxDataView; | 23 class TextureMailboxDataView; |
| 24 } | 24 } |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 bool wants_promotion_hint_; | 111 bool wants_promotion_hint_; |
| 112 #endif | 112 #endif |
| 113 bool secure_output_only_; | 113 bool secure_output_only_; |
| 114 bool nearest_neighbor_; | 114 bool nearest_neighbor_; |
| 115 gfx::ColorSpace color_space_; | 115 gfx::ColorSpace color_space_; |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 } // namespace cc | 118 } // namespace cc |
| 119 | 119 |
| 120 #endif // CC_RESOURCES_TEXTURE_MAILBOX_H_ | 120 #endif // CC_RESOURCES_TEXTURE_MAILBOX_H_ |
| OLD | NEW |