Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | List of all members
flutter::Layer::AutoPrerollSaveLayerState Class Reference

#include <layer.h>

Public Member Functions

 ~AutoPrerollSaveLayerState ()
 

Static Public Member Functions

static AutoPrerollSaveLayerState Create (PrerollContext *preroll_context, bool save_layer_is_active=true, bool layer_itself_performs_readback=false)
 

Detailed Description

Definition at line 176 of file layer.h.

Constructor & Destructor Documentation

◆ ~AutoPrerollSaveLayerState()

flutter::Layer::AutoPrerollSaveLayerState::~AutoPrerollSaveLayerState ( )

Definition at line 48 of file layer.cc.

48 {
49 if (save_layer_is_active_) {
50 preroll_context_->surface_needs_readback =
51 (prev_surface_needs_readback_ || layer_itself_performs_readback_);
52 }
53}
bool surface_needs_readback
Definition: layer.h:61

Member Function Documentation

◆ Create()

Layer::AutoPrerollSaveLayerState flutter::Layer::AutoPrerollSaveLayerState::Create ( PrerollContext preroll_context,
bool  save_layer_is_active = true,
bool  layer_itself_performs_readback = false 
)
static

Definition at line 40 of file layer.cc.

43 {
44 return Layer::AutoPrerollSaveLayerState(preroll_context, save_layer_is_active,
45 layer_itself_performs_readback);
46}

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