Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_COMPOSITOR_COMPOSITOR_UTIL_H_ | |
| 6 #define UI_COMPOSITOR_COMPOSITOR_UTIL_H_ | |
| 7 | |
| 8 #include "base/callback.h" | |
| 9 #include "ui/compositor/compositor_export.h" | |
| 10 #include "ui/gfx/buffer_types.h" | |
| 11 | |
| 12 namespace cc { | |
| 13 class RendererSettings; | |
| 14 } | |
| 15 | |
| 16 namespace ui { | |
| 17 | |
| 18 COMPOSITOR_EXPORT void InitializeRendererSettings( | |
|
danakj
2017/05/11 20:10:16
how about making this return RendererSettings inst
Alex Z.
2017/05/12 14:12:36
Done.
| |
| 19 const base::Callback<uint32_t(gfx::BufferFormat, gfx::BufferUsage)>& | |
| 20 texture_target_callback, | |
| 21 cc::RendererSettings* renderer_settings); | |
| 22 | |
| 23 } // namespace ui | |
| 24 | |
| 25 #endif // UI_COMPOSITOR_COMPOSITOR_UTIL_H_ | |
| OLD | NEW |