#include <gtk/gtk.h>
#include <cstdint>
Go to the source code of this file.
Functions | |
G_BEGIN_DECLS | G_DECLARE_FINAL_TYPE (FlBackingStoreProvider, fl_backing_store_provider, FL, BACKING_STORE_PROVIDER, GObject) FlBackingStoreProvider *fl_backing_store_provider_new(int width |
uint32_t | fl_backing_store_provider_get_gl_framebuffer_id (FlBackingStoreProvider *provider) |
uint32_t | fl_backing_store_provider_get_gl_texture_id (FlBackingStoreProvider *provider) |
uint32_t | fl_backing_store_provider_get_gl_target (FlBackingStoreProvider *provider) |
uint32_t | fl_backing_store_provider_get_gl_format (FlBackingStoreProvider *provider) |
GdkRectangle | fl_backing_store_provider_get_geometry (FlBackingStoreProvider *provider) |
Variables | |
G_BEGIN_DECLS int | height = kRealBufferHeight |
GdkRectangle fl_backing_store_provider_get_geometry | ( | FlBackingStoreProvider * | provider | ) |
fl_backing_store_provider_get_geometry: @provider: an #FlBackingStoreProvider.
Gets geometry of framebuffer.
Returns: geometry of backing store.
Definition at line 105 of file fl_backing_store_provider.cc.
Referenced by fl_renderer_render().
uint32_t fl_backing_store_provider_get_gl_format | ( | FlBackingStoreProvider * | provider | ) |
fl_backing_store_provider_get_gl_format: @provider: an #FlBackingStoreProvider.
Gets texture format (example GL_RGBA8).
Returns: texture format.
Definition at line 80 of file fl_backing_store_provider.cc.
Referenced by fl_renderer_create_backing_store().
uint32_t fl_backing_store_provider_get_gl_framebuffer_id | ( | FlBackingStoreProvider * | provider | ) |
fl_backing_store_provider_get_gl_framebuffer_id: @provider: an #FlBackingStoreProvider.
Gets created framebuffer id.
Returns: gl framebuffer id, 0 if creation failed.
Definition at line 66 of file fl_backing_store_provider.cc.
Referenced by fl_renderer_create_backing_store().
uint32_t fl_backing_store_provider_get_gl_target | ( | FlBackingStoreProvider * | provider | ) |
fl_backing_store_provider_get_gl_target: @provider: an #FlBackingStoreProvider.
Gets target texture (example GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE).
Returns: target texture.
Definition at line 76 of file fl_backing_store_provider.cc.
uint32_t fl_backing_store_provider_get_gl_texture_id | ( | FlBackingStoreProvider * | provider | ) |
fl_backing_store_provider_get_gl_texture_id: @provider: an #FlBackingStoreProvider.
Gets created texture id.
Returns: gl texture id, 0 if creation failed.
Definition at line 71 of file fl_backing_store_provider.cc.
Referenced by fl_renderer_render().
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE | ( | FlBackingStoreProvider | , |
fl_backing_store_provider | , | ||
FL | , | ||
BACKING_STORE_PROVIDER | , | ||
GObject | |||
) |
FlBackingStoreProvider:
#FlBackingStoreProvider creates framebuffers and their backing textures for embedder compositor. fl_backing_store_provider_new: @width: width of texture. @height: height of texture.
Creates a new frame buffer. fl_renderer_make_current() must be called first.
Returns: a new #FlBackingStoreProvider.
* height = kRealBufferHeight |
Definition at line 37 of file fl_backing_store_provider.h.
Referenced by flutter::PixelBufferTexture::CopyPixelBuffer(), fl_accessible_node_get_extents(), fl_accessible_node_set_extents(), fl_accessible_node_set_extents_impl(), fl_backing_store_provider_new(), fl_engine_gl_external_texture_frame_callback(), fl_engine_send_window_metrics_event(), fl_pixel_buffer_texture_populate(), fl_renderer_render(), fl_test_texture_populate(), fl_texture_gl_populate(), G_DECLARE_DERIVABLE_TYPE(), flutter::GpuSurfaceTexture::ObtainDescriptor(), flutter::TextureRegistrarImpl::RegisterTexture(), render_cb(), TEST(), and flutter::TEST().