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 #ifndef UI_COMPOSITOR_COMPOSITOR_UTIL_H_ | 5 #ifndef UI_COMPOSITOR_COMPOSITOR_UTIL_H_ |
6 #define UI_COMPOSITOR_COMPOSITOR_UTIL_H_ | 6 #define UI_COMPOSITOR_COMPOSITOR_UTIL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
| 10 #include "cc/output/buffer_to_texture_target_map.h" |
10 #include "ui/compositor/compositor_export.h" | 11 #include "ui/compositor/compositor_export.h" |
11 #include "ui/gfx/buffer_types.h" | |
12 | 12 |
13 namespace cc { | 13 namespace cc { |
14 class RendererSettings; | 14 class RendererSettings; |
15 } | 15 } |
16 | 16 |
17 namespace ui { | 17 namespace ui { |
18 | 18 |
19 COMPOSITOR_EXPORT cc::RendererSettings CreateRendererSettings(uint32_t ( | 19 COMPOSITOR_EXPORT cc::RendererSettings CreateRendererSettings( |
20 *get_texture_target)(gfx::BufferFormat format, gfx::BufferUsage usage)); | 20 const cc::BufferToTextureTargetMap& image_targets); |
21 | 21 |
22 } // namespace ui | 22 } // namespace ui |
23 | 23 |
24 #endif // UI_COMPOSITOR_COMPOSITOR_UTIL_H_ | 24 #endif // UI_COMPOSITOR_COMPOSITOR_UTIL_H_ |
OLD | NEW |