Flutter Engine
The Flutter Engine
Public Attributes | List of all members
FlutterSoftwareBackingStore2 Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 
const void * allocation
 
size_t row_bytes
 The number of bytes in a single row of the allocation. More...
 
size_t height
 The number of rows in the allocation. More...
 
void * user_data
 
VoidCallback destruction_callback
 
FlutterSoftwarePixelFormat pixel_format
 

Detailed Description

Definition at line 1637 of file embedder.h.

Member Data Documentation

◆ allocation

const void* FlutterSoftwareBackingStore2::allocation

A pointer to the raw bytes of the allocation described by this software backing store.

Definition at line 1641 of file embedder.h.

◆ destruction_callback

VoidCallback FlutterSoftwareBackingStore2::destruction_callback

The callback invoked by the engine when it no longer needs this backing store.

Definition at line 1652 of file embedder.h.

◆ height

size_t FlutterSoftwareBackingStore2::height

The number of rows in the allocation.

Definition at line 1645 of file embedder.h.

◆ pixel_format

FlutterSoftwarePixelFormat FlutterSoftwareBackingStore2::pixel_format

The pixel format that the engine should use to render into the allocation. In most cases, kR

Definition at line 1655 of file embedder.h.

◆ row_bytes

size_t FlutterSoftwareBackingStore2::row_bytes

The number of bytes in a single row of the allocation.

Definition at line 1643 of file embedder.h.

◆ struct_size

size_t FlutterSoftwareBackingStore2::struct_size

Definition at line 1638 of file embedder.h.

◆ user_data

void* FlutterSoftwareBackingStore2::user_data

A baton that is not interpreted by the engine in any way. It will be given back to the embedder in the destruction callback below. Embedder resources may be associated with this baton.

Definition at line 1649 of file embedder.h.


The documentation for this struct was generated from the following file: