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

#include <embedder.h>

Public Attributes

size_t struct_size
 The size of this struct. Must be sizeof(FlutterVulkanBackingStore). More...
const FlutterVulkanImageimage
void * user_data
VoidCallback destruction_callback

Detailed Description

Definition at line 1669 of file embedder.h.

Member Data Documentation

◆ destruction_callback

VoidCallback FlutterVulkanBackingStore::destruction_callback

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

Definition at line 1685 of file embedder.h.

◆ image

const FlutterVulkanImage* FlutterVulkanBackingStore::image

The image that the layer will be rendered to. This image must already be available for the engine to bind for writing when it's given to the engine via the backing store creation callback. The engine will perform a host sync for all layers prior to calling the compositor present callback, and so the written layer images can be freely bound by the embedder without any additional synchronization.

Definition at line 1678 of file embedder.h.

◆ struct_size

size_t FlutterVulkanBackingStore::struct_size

The size of this struct. Must be sizeof(FlutterVulkanBackingStore).

Definition at line 1671 of file embedder.h.

◆ user_data

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

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