#include "flutter/shell/platform/linux/public/flutter_linux/fl_pixel_buffer_texture.h"#include <epoxy/gl.h>#include <gmodule.h>#include "flutter/shell/platform/linux/fl_pixel_buffer_texture_private.h"Go to the source code of this file.
Classes | |
| struct | FlPixelBufferTexturePrivate |
Functions | |
| static void | fl_pixel_buffer_texture_iface_init (FlTextureInterface *iface) |
| G_DEFINE_TYPE_WITH_CODE (FlPixelBufferTexture, fl_pixel_buffer_texture, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE(fl_texture_get_type(), fl_pixel_buffer_texture_iface_init);G_ADD_PRIVATE(FlPixelBufferTexture)) static void fl_pixel_buffer_texture_set_id(FlTexture *texture | |
| static int64_t | fl_pixel_buffer_texture_get_id (FlTexture *texture) |
| static void | fl_pixel_buffer_texture_dispose (GObject *object) |
| static void | check_gl_error (int line) |
| gboolean | fl_pixel_buffer_texture_populate (FlPixelBufferTexture *texture, uint32_t width, uint32_t height, FlutterOpenGLTexture *opengl_texture, GError **error) |
| static void | fl_pixel_buffer_texture_class_init (FlPixelBufferTextureClass *klass) |
| static void | fl_pixel_buffer_texture_init (FlPixelBufferTexture *self) |
Variables | |
| int64_t | id |
| FlPixelBufferTexturePrivate * | priv |
|
static |
Definition at line 64 of file fl_pixel_buffer_texture.cc.
Referenced by fl_pixel_buffer_texture_populate().
|
static |
Definition at line 119 of file fl_pixel_buffer_texture.cc.
References fl_pixel_buffer_texture_dispose().
|
static |
Definition at line 50 of file fl_pixel_buffer_texture.cc.
References priv, self, and FlPixelBufferTexturePrivate::texture_id.
Referenced by fl_pixel_buffer_texture_class_init().
|
static |
Definition at line 37 of file fl_pixel_buffer_texture.cc.
References FlPixelBufferTexturePrivate::id, priv, self, and texture.
Referenced by fl_pixel_buffer_texture_iface_init().
|
static |
Definition at line 45 of file fl_pixel_buffer_texture.cc.
References fl_pixel_buffer_texture_get_id().
|
static |
Definition at line 124 of file fl_pixel_buffer_texture.cc.
| gboolean fl_pixel_buffer_texture_populate | ( | FlPixelBufferTexture * | texture, |
| uint32_t | width, | ||
| uint32_t | height, | ||
| FlutterOpenGLTexture * | opengl_texture, | ||
| GError ** | error | ||
| ) |
fl_pixel_buffer_texture_populate: @texture: an #FlPixelBufferTexture. @width: width of the texture. @height: height of the texture. @opengl_texture: (out): return an FlutterOpenGLTexture. @error: (allow-none): #GError location to store the error occurring, or NULL to ignore.
Attempts to populate the specified @opengl_texture with texture details such as the name, width, height and the pixel format.
Returns: TRUE on success.
Definition at line 71 of file fl_pixel_buffer_texture.cc.
References check_gl_error(), FlutterOpenGLTexture::destruction_callback, error, FlutterOpenGLTexture::format, height, FlutterOpenGLTexture::height, FlutterOpenGLTexture::name, priv, self, FlutterOpenGLTexture::target, texture, FlPixelBufferTexturePrivate::texture_id, TRUE, FlutterOpenGLTexture::user_data, width, and FlutterOpenGLTexture::width.
Referenced by fl_engine_gl_external_texture_frame_callback(), and TEST().
| G_DEFINE_TYPE_WITH_CODE | ( | FlPixelBufferTexture | , |
| fl_pixel_buffer_texture | , | ||
| G_TYPE_OBJECT | , | ||
| G_IMPLEMENT_INTERFACE(fl_texture_get_type(), fl_pixel_buffer_texture_iface_init);G_ADD_PRIVATE(FlPixelBufferTexture) | |||
| ) |
| priv id |
Definition at line 28 of file fl_pixel_buffer_texture.cc.
Definition at line 30 of file fl_pixel_buffer_texture.cc.
Referenced by create_regular(), destroy_window(), fl_accessible_node_dispose(), fl_accessible_node_do_action(), fl_accessible_node_get_extents(), fl_accessible_node_get_index_in_parent(), fl_accessible_node_get_n_actions(), fl_accessible_node_get_n_children(), fl_accessible_node_get_name(), fl_accessible_node_get_name(), fl_accessible_node_get_parent(), fl_accessible_node_get_role(), fl_accessible_node_init(), fl_accessible_node_perform_action_impl(), fl_accessible_node_ref_child(), fl_accessible_node_ref_state_set(), fl_accessible_node_set_actions_impl(), fl_accessible_node_set_children(), fl_accessible_node_set_extents_impl(), fl_accessible_node_set_flags_impl(), fl_accessible_node_set_name_impl(), fl_accessible_node_set_parent(), fl_accessible_node_set_property(), fl_application_activate(), fl_application_dispose(), fl_application_local_command_line(), fl_pixel_buffer_texture_dispose(), fl_pixel_buffer_texture_get_id(), fl_pixel_buffer_texture_populate(), fl_windowing_handler_dispose(), fl_windowing_handler_init(), fl_windowing_handler_new(), get_action(), and get_window_data().