| 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..9164dba93dcf60d8e868d03cbb857a455d76750a
|
| --- /dev/null
|
| +++ b/ui/compositor/compositor_util.h
|
| @@ -0,0 +1,24 @@
|
| +// 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 <stdint.h>
|
| +
|
| +#include "ui/compositor/compositor_export.h"
|
| +#include "ui/gfx/buffer_types.h"
|
| +
|
| +namespace cc {
|
| +class RendererSettings;
|
| +}
|
| +
|
| +namespace ui {
|
| +
|
| +COMPOSITOR_EXPORT cc::RendererSettings CreateRendererSettings(uint32_t (
|
| + *get_texture_target)(gfx::BufferFormat format, gfx::BufferUsage usage));
|
| +
|
| +} // namespace ui
|
| +
|
| +#endif // UI_COMPOSITOR_COMPOSITOR_UTIL_H_
|
|
|