1 // Copyright 2019 The Fuchsia Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef FUCHSIA_EGL_BACKEND_H_
6 #define FUCHSIA_EGL_BACKEND_H_
7 
8 #include <zircon/types.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 #if !defined(FUCHSIA_EGL_EXPORT)
15 #    define FUCHSIA_EGL_EXPORT __attribute__((__visibility__("default")))
16 #endif
17 
18 FUCHSIA_EGL_EXPORT
19 zx_handle_t fuchsia_egl_window_release_image_pipe(fuchsia_egl_window *egl_window);
20 
21 #ifdef __cplusplus
22 }
23 #endif
24 
25 #endif  // FUCHSIA_EGL_BACKEND_H_
26