#include <embedder.h>
Public Attributes | |
| size_t | struct_size |
| The size of this struct. Must be sizeof(FlutterSoftwareBackingStore2). | |
| const void * | allocation |
| size_t | row_bytes |
| The number of bytes in a single row of the allocation. | |
| size_t | height |
| The number of rows in the allocation. | |
| void * | user_data |
| VoidCallback | destruction_callback |
| FlutterSoftwarePixelFormat | pixel_format |
Definition at line 1944 of file embedder.h.
| const void* FlutterSoftwareBackingStore2::allocation |
A pointer to the raw bytes of the allocation described by this software backing store.
Definition at line 1949 of file embedder.h.
Referenced by MakeSkSurfaceFromBackingStore(), operator<<(), and operator==().
| VoidCallback FlutterSoftwareBackingStore2::destruction_callback |
The callback invoked by the engine when it no longer needs this backing store.
Definition at line 1960 of file embedder.h.
Referenced by MakeSkSurfaceFromBackingStore(), operator<<(), and operator==().
| size_t FlutterSoftwareBackingStore2::height |
The number of rows in the allocation.
Definition at line 1953 of file embedder.h.
Referenced by operator<<(), and operator==().
| FlutterSoftwarePixelFormat FlutterSoftwareBackingStore2::pixel_format |
The pixel format that the engine should use to render into the allocation.
On Linux, kFlutterSoftwarePixelFormatBGRA8888 is most commonly used.
Definition at line 1964 of file embedder.h.
Referenced by MakeSkSurfaceFromBackingStore(), operator<<(), and operator==().
| size_t FlutterSoftwareBackingStore2::row_bytes |
The number of bytes in a single row of the allocation.
Definition at line 1951 of file embedder.h.
Referenced by MakeSkSurfaceFromBackingStore(), operator<<(), and operator==().
| size_t FlutterSoftwareBackingStore2::struct_size |
The size of this struct. Must be sizeof(FlutterSoftwareBackingStore2).
Definition at line 1946 of file embedder.h.
| 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 1957 of file embedder.h.
Referenced by MakeSkSurfaceFromBackingStore(), operator<<(), and operator==().