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

#include <display_list.h>

Public Member Functions

 SaveLayerOptions ()
 
 SaveLayerOptions (const SaveLayerOptions &options)
 
 SaveLayerOptions (const SaveLayerOptions *options)
 
SaveLayerOptions without_optimizations () const
 
bool renders_with_attributes () const
 
SaveLayerOptions with_renders_with_attributes () const
 
bool can_distribute_opacity () const
 
SaveLayerOptions with_can_distribute_opacity () const
 
bool bounds_from_caller () const
 
SaveLayerOptions with_bounds_from_caller () const
 
SaveLayerOptions without_bounds_from_caller () const
 
bool bounds_were_calculated () const
 
bool content_is_clipped () const
 
SaveLayerOptions with_content_is_clipped () const
 
bool contains_backdrop_filter () const
 
SaveLayerOptions with_contains_backdrop_filter () const
 
SaveLayerOptionsoperator= (const SaveLayerOptions &other)
 
bool operator== (const SaveLayerOptions &other) const
 
bool operator!= (const SaveLayerOptions &other) const
 

Static Public Attributes

static const SaveLayerOptions kWithAttributes
 
static const SaveLayerOptions kNoAttributes = SaveLayerOptions()
 

Detailed Description

Definition at line 152 of file display_list.h.

Constructor & Destructor Documentation

◆ SaveLayerOptions() [1/3]

flutter::SaveLayerOptions::SaveLayerOptions ( )
inline

Definition at line 157 of file display_list.h.

157: flags_(0) {}

◆ SaveLayerOptions() [2/3]

flutter::SaveLayerOptions::SaveLayerOptions ( const SaveLayerOptions options)
inline

Definition at line 158 of file display_list.h.

158: flags_(options.flags_) {}
const char * options

◆ SaveLayerOptions() [3/3]

flutter::SaveLayerOptions::SaveLayerOptions ( const SaveLayerOptions options)
inlineexplicit

Definition at line 159 of file display_list.h.

160 : flags_(options->flags_) {}

Member Function Documentation

◆ bounds_from_caller()

bool flutter::SaveLayerOptions::bounds_from_caller ( ) const
inline

Definition at line 186 of file display_list.h.

186{ return fBoundsFromCaller; }

◆ bounds_were_calculated()

bool flutter::SaveLayerOptions::bounds_were_calculated ( ) const
inline

Definition at line 197 of file display_list.h.

197{ return !fBoundsFromCaller; }

◆ can_distribute_opacity()

bool flutter::SaveLayerOptions::can_distribute_opacity ( ) const
inline

Definition at line 176 of file display_list.h.

176{ return fCanDistributeOpacity; }

◆ contains_backdrop_filter()

bool flutter::SaveLayerOptions::contains_backdrop_filter ( ) const
inline

Definition at line 210 of file display_list.h.

210{ return fHasBackdropFilter; }

◆ content_is_clipped()

bool flutter::SaveLayerOptions::content_is_clipped ( ) const
inline

Definition at line 203 of file display_list.h.

203{ return fContentIsClipped; }

◆ operator!=()

bool flutter::SaveLayerOptions::operator!= ( const SaveLayerOptions other) const
inline

Definition at line 224 of file display_list.h.

224 {
225 return flags_ != other.flags_;
226 }

◆ operator=()

SaveLayerOptions & flutter::SaveLayerOptions::operator= ( const SaveLayerOptions other)
inline

Definition at line 217 of file display_list.h.

217 {
218 flags_ = other.flags_;
219 return *this;
220 }

◆ operator==()

bool flutter::SaveLayerOptions::operator== ( const SaveLayerOptions other) const
inline

Definition at line 221 of file display_list.h.

221 {
222 return flags_ == other.flags_;
223 }

◆ renders_with_attributes()

bool flutter::SaveLayerOptions::renders_with_attributes ( ) const
inline

Definition at line 169 of file display_list.h.

169{ return fRendersWithAttributes; }

◆ with_bounds_from_caller()

SaveLayerOptions flutter::SaveLayerOptions::with_bounds_from_caller ( ) const
inline

Definition at line 187 of file display_list.h.

187 {
189 options.fBoundsFromCaller = true;
190 return options;
191 }

◆ with_can_distribute_opacity()

SaveLayerOptions flutter::SaveLayerOptions::with_can_distribute_opacity ( ) const
inline

Definition at line 177 of file display_list.h.

177 {
179 options.fCanDistributeOpacity = true;
180 return options;
181 }

◆ with_contains_backdrop_filter()

SaveLayerOptions flutter::SaveLayerOptions::with_contains_backdrop_filter ( ) const
inline

Definition at line 211 of file display_list.h.

211 {
213 options.fHasBackdropFilter = true;
214 return options;
215 }

◆ with_content_is_clipped()

SaveLayerOptions flutter::SaveLayerOptions::with_content_is_clipped ( ) const
inline

Definition at line 204 of file display_list.h.

204 {
206 options.fContentIsClipped = true;
207 return options;
208 }

◆ with_renders_with_attributes()

SaveLayerOptions flutter::SaveLayerOptions::with_renders_with_attributes ( ) const
inline

Definition at line 170 of file display_list.h.

170 {
172 options.fRendersWithAttributes = true;
173 return options;
174 }

◆ without_bounds_from_caller()

SaveLayerOptions flutter::SaveLayerOptions::without_bounds_from_caller ( ) const
inline

Definition at line 192 of file display_list.h.

192 {
194 options.fBoundsFromCaller = false;
195 return options;
196 }

◆ without_optimizations()

SaveLayerOptions flutter::SaveLayerOptions::without_optimizations ( ) const
inline

Definition at line 162 of file display_list.h.

162 {
164 options.fRendersWithAttributes = fRendersWithAttributes;
165 options.fBoundsFromCaller = fBoundsFromCaller;
166 return options;
167 }

Member Data Documentation

◆ fBoundsFromCaller

unsigned flutter::SaveLayerOptions::fBoundsFromCaller

Definition at line 233 of file display_list.h.

◆ fCanDistributeOpacity

unsigned flutter::SaveLayerOptions::fCanDistributeOpacity

Definition at line 232 of file display_list.h.

◆ fContentIsClipped

unsigned flutter::SaveLayerOptions::fContentIsClipped

Definition at line 234 of file display_list.h.

◆ fHasBackdropFilter

unsigned flutter::SaveLayerOptions::fHasBackdropFilter

Definition at line 235 of file display_list.h.

◆ flags_

uint32_t flutter::SaveLayerOptions::flags_

Definition at line 237 of file display_list.h.

◆ fRendersWithAttributes

unsigned flutter::SaveLayerOptions::fRendersWithAttributes

Definition at line 231 of file display_list.h.

◆ kNoAttributes

const SaveLayerOptions flutter::SaveLayerOptions::kNoAttributes = SaveLayerOptions()
static

Definition at line 155 of file display_list.h.

◆ kWithAttributes

const SaveLayerOptions flutter::SaveLayerOptions::kWithAttributes
static
Initial value:
=
static const SaveLayerOptions kNoAttributes
Definition: display_list.h:155
SaveLayerOptions with_renders_with_attributes() const
Definition: display_list.h:170

Definition at line 154 of file display_list.h.


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