Flutter Engine
The Flutter Engine
|
#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 |
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.
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.
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.
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.
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.
G_BEGIN_DECLS int height |
Definition at line 37 of file fl_backing_store_provider.h.