Flutter Engine
FlutterSoftwareBackingStore Struct Reference

#include <embedder.h>

Public Attributes

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
 

Detailed Description

Definition at line 773 of file embedder.h.

Member Data Documentation

◆ allocation

const void* FlutterSoftwareBackingStore::allocation

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

Definition at line 776 of file embedder.h.

Referenced by flutter::testing::EmbedderTestBackingStoreProducer::Create(), MakeSkSurfaceFromBackingStore(), operator<<(), and operator==().

◆ destruction_callback

VoidCallback FlutterSoftwareBackingStore::destruction_callback

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

Definition at line 787 of file embedder.h.

Referenced by flutter::testing::EmbedderTestBackingStoreProducer::Create(), MakeSkSurfaceFromBackingStore(), operator<<(), and operator==().

◆ height

size_t FlutterSoftwareBackingStore::height

The number of rows in the allocation.

Definition at line 780 of file embedder.h.

Referenced by flutter::testing::EmbedderTestBackingStoreProducer::Create(), operator<<(), operator==(), and flutter::testing::TEST_F().

◆ row_bytes

size_t FlutterSoftwareBackingStore::row_bytes

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

Definition at line 778 of file embedder.h.

Referenced by flutter::testing::EmbedderTestBackingStoreProducer::Create(), MakeSkSurfaceFromBackingStore(), operator<<(), operator==(), and flutter::testing::TEST_F().

◆ user_data

void* FlutterSoftwareBackingStore::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 784 of file embedder.h.

Referenced by flutter::testing::EmbedderTestBackingStoreProducer::Create(), MakeSkSurfaceFromBackingStore(), operator<<(), and operator==().


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