summaryrefslogtreecommitdiff
path: root/host-common/opengles-pipe.h
blob: 92783916dd6ecde4f80871f72eb450d51583000b (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
28
29
/*
 * Copyright (C) 2011 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#pragma once

#include "base/export.h"

// Initialize the 'opengles' pipe - the one used for GPU emulation protocol
// between guest and the emugl library.
// |dummyLooper| is now unused, this will be removed in a future patch.
AEMU_EXPORT void android_init_opengles_pipe(void);

// Set the way in which the pipe processes guest recv depending on the OS
// 0: Android
// 1: Fuchsia
AEMU_EXPORT void android_opengles_pipe_set_recv_mode(int);