5495560ec05ff91871b0fff709781b7df81351f4
[iec.git] / src / type3_AndroidCloud / anbox-master / src / anbox / graphics / emugl / RenderControl.h
1 /*
2 * Copyright (C) 2011 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 #ifndef _RENDER_CONTROL_H
18 #define _RENDER_CONTROL_H
19
20 // Generated with emugl at build time
21 #include "renderControl_dec.h"
22
23 #include <memory>
24
25 class Renderer;
26
27 namespace anbox {
28 namespace graphics {
29 class LayerComposer;
30 }  // namespace graphics
31 }  // namespace anbox
32
33 void initRenderControlContext(renderControl_decoder_context_t *dec);
34 void registerLayerComposer(
35     const std::shared_ptr<anbox::graphics::LayerComposer> &c);
36 void registerRenderer(const std::shared_ptr<Renderer> &r);
37
38 #endif