Flutter Engine
The Flutter Engine
Classes | Public Member Functions | List of all members
flutter::DisplayListStorage Class Reference

#include <display_list.h>

Public Member Functions

 DisplayListStorage ()=default
 
 DisplayListStorage (DisplayListStorage &&)=default
 
uint8_t * get ()
 
const uint8_t * get () const
 
void realloc (size_t count)
 

Detailed Description

Definition at line 242 of file display_list.h.

Constructor & Destructor Documentation

◆ DisplayListStorage() [1/2]

flutter::DisplayListStorage::DisplayListStorage ( )
default

◆ DisplayListStorage() [2/2]

flutter::DisplayListStorage::DisplayListStorage ( DisplayListStorage &&  )
default

Member Function Documentation

◆ get() [1/2]

uint8_t * flutter::DisplayListStorage::get ( )
inline

Definition at line 247 of file display_list.h.

247{ return ptr_.get(); }

◆ get() [2/2]

const uint8_t * flutter::DisplayListStorage::get ( ) const
inline

Definition at line 249 of file display_list.h.

249{ return ptr_.get(); }

◆ realloc()

void flutter::DisplayListStorage::realloc ( size_t  count)
inline

Definition at line 251 of file display_list.h.

251 {
252 ptr_.reset(static_cast<uint8_t*>(std::realloc(ptr_.release(), count)));
253 FML_CHECK(ptr_);
254 }
int count
Definition: FontMgrTest.cpp:50
#define FML_CHECK(condition)
Definition: logging.h:85
void * realloc(void *ptr, size_t size)
Definition: allocation.cc:27

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