Flutter Engine
The Flutter Engine
Static Public Member Functions | Public Attributes | List of all members
flutter_runner::testing::BufferCollectionTokenPair Struct Reference

#include <fake_flatland_types.h>

Static Public Member Functions

static BufferCollectionTokenPair New ()
 

Public Attributes

fuchsia::ui::composition::BufferCollectionExportToken export_token
 
fuchsia::ui::composition::BufferCollectionImportToken import_token
 

Detailed Description

Definition at line 168 of file fake_flatland_types.h.

Member Function Documentation

◆ New()

BufferCollectionTokenPair flutter_runner::testing::BufferCollectionTokenPair::New ( )
static

Definition at line 103 of file fake_flatland_types.cc.

103 {
104 BufferCollectionTokenPair token_pair;
105 auto status = zx::eventpair::create(0u, &token_pair.export_token.value,
106 &token_pair.import_token.value);
107 FML_CHECK(status == ZX_OK);
108
109 return token_pair;
110}
#define FML_CHECK(condition)
Definition: logging.h:85
int_closure create

Member Data Documentation

◆ export_token

fuchsia::ui::composition::BufferCollectionExportToken flutter_runner::testing::BufferCollectionTokenPair::export_token

Definition at line 171 of file fake_flatland_types.h.

◆ import_token

fuchsia::ui::composition::BufferCollectionImportToken flutter_runner::testing::BufferCollectionTokenPair::import_token

Definition at line 172 of file fake_flatland_types.h.


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