Chromium Code Reviews| Index: ui/compositor/compositor_util.h |
| diff --git a/ui/compositor/compositor_util.h b/ui/compositor/compositor_util.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..552d957cce7a877e589ace29fefb793e7d31827b |
| --- /dev/null |
| +++ b/ui/compositor/compositor_util.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef UI_COMPOSITOR_COMPOSITOR_UTIL_H_ |
| +#define UI_COMPOSITOR_COMPOSITOR_UTIL_H_ |
| + |
| +#include "base/callback.h" |
| +#include "ui/compositor/compositor_export.h" |
| +#include "ui/gfx/buffer_types.h" |
| + |
| +namespace cc { |
| +class RendererSettings; |
| +} |
| + |
| +namespace ui { |
| + |
| +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.
|
| + const base::Callback<uint32_t(gfx::BufferFormat, gfx::BufferUsage)>& |
| + texture_target_callback, |
| + cc::RendererSettings* renderer_settings); |
| + |
| +} // namespace ui |
| + |
| +#endif // UI_COMPOSITOR_COMPOSITOR_UTIL_H_ |