#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, 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, and priv.
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 buffer, check_gl_error(), error, height, priv, FlPixelBufferTexturePrivate::texture_id, TRUE, and 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.
Referenced by flutter::testing::CreateSemanticsNode(), G_DECLARE_INTERFACE(), and TEST().
Definition at line 30 of file fl_pixel_buffer_texture.cc.
Referenced by clear_client(), 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_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_pixel_buffer_texture_dispose(), fl_pixel_buffer_texture_get_id(), fl_pixel_buffer_texture_populate(), fl_renderer_cleanup(), fl_renderer_dispose(), fl_renderer_init(), fl_renderer_present_layers(), fl_renderer_render(), fl_renderer_setup(), fl_renderer_start(), fl_renderer_unblock_main_thread(), fl_renderer_wait_for_frame(), fl_text_input_plugin_dispose(), fl_text_input_plugin_filter_keypress_default(), fl_text_input_plugin_init(), fl_text_input_plugin_new(), get_action(), hide(), im_commit_cb(), im_delete_surrounding_cb(), im_preedit_changed_cb(), im_preedit_end_cb(), im_preedit_start_cb(), im_retrieve_surrounding_cb(), init_im_context(), perform_action(), set_client(), set_editable_size_and_transform(), set_editing_state(), set_marked_text_rect(), show(), update_editing_state(), update_editing_state_with_delta(), and update_im_cursor_position().