Flutter Engine
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 112 of file layer.h.

Constructor & Destructor Documentation

◆ ~AutoPrerollSaveLayerState()

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

Definition at line 52 of file layer.cc.

References flutter::Layer::PaintContext::internal_nodes_canvas, and flutter::Layer::PaintContext::leaf_nodes_canvas.

52  {
53  if (save_layer_is_active_) {
54  preroll_context_->surface_needs_readback =
55  (prev_surface_needs_readback_ || layer_itself_performs_readback_);
56  }
57 }
bool surface_needs_readback
Definition: layer.h:49

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

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