summaryrefslogtreecommitdiffstats
path: root/mojo/examples/surfaces_app/surfaces_util.h
blob: 31092587c81d74795e72e328e5306ab996ff56f2 (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
25
26
27
// Copyright 2014 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 MOJO_EXAMPLES_SURFACES_APP_SURFACES_UTIL_H_
#define MOJO_EXAMPLES_SURFACES_APP_SURFACES_UTIL_H_

namespace cc {
class RenderPass;
}

namespace gfx {
class Transform;
class Size;
}

namespace mojo {
namespace examples {

void CreateAndAppendSimpleSharedQuadState(cc::RenderPass* render_pass,
                                          const gfx::Transform& transform,
                                          const gfx::Size& size);

}  // namespace mojo
}  // namespace examples

#endif  // MOJO_EXAMPLES_SURFACES_APP_SURFACES_UTIL_H_