Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
fl_egl_image.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter 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 FLUTTER_SHELL_PLATFORM_LINUX_FL_EGL_IMAGE_H_
6#define FLUTTER_SHELL_PLATFORM_LINUX_FL_EGL_IMAGE_H_
7
8#include <epoxy/egl.h>
9#include <glib-object.h>
10
11G_BEGIN_DECLS
12
13G_DECLARE_FINAL_TYPE(FlEGLImage, fl_egl_image, FL, EGL_IMAGE, GObject)
14
15/**
16 * fl_egl_image_new:
17 * @texture: the texture to create an EGL image for.
18 *
19 * Creates an object that manages an EGL image.
20 *
21 * Returns: a new #FlEGLImage.
22 */
23FlEGLImage* fl_egl_image_new(GLuint texture);
24
25/**
26 * fl_egl_image_get_image:
27 * @image: an #FlEGLImage.
28 *
29 * Gets the EGL image managed by this object.
30 *
31 * Returns: the EGL image.
32 */
33EGLImage fl_egl_image_get_image(FlEGLImage* image);
34
35G_END_DECLS
36
37#endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_EGL_IMAGE_H_
FlutterVulkanImage * image
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlAccessibilityChannel, fl_accessibility_channel, FL, ACCESSIBILITY_CHANNEL, GObject)
EGLImage fl_egl_image_get_image(FlEGLImage *image)
G_BEGIN_DECLS FlEGLImage * fl_egl_image_new(GLuint texture)
FlTexture * texture