summaryrefslogtreecommitdiff
path: root/chromium/ui/compositor/compositor_util.h
blob: 1939514833f590b381fe82984478d82f97946db7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 "components/viz/common/resources/buffer_to_texture_target_map.h"
#include "ui/compositor/compositor_export.h"

namespace viz {
class RendererSettings;
}

namespace ui {

COMPOSITOR_EXPORT viz::RendererSettings CreateRendererSettings(
    const viz::BufferToTextureTargetMap& image_targets);

}  // namespace ui

#endif  // UI_COMPOSITOR_COMPOSITOR_UTIL_H_