Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
impeller::LazyRenderingConfig Class Reference

#include <canvas.h>

Public Member Functions

 LazyRenderingConfig (ContentContext &renderer, std::unique_ptr< EntityPassTarget > p_entity_pass_target)
 
 LazyRenderingConfig (LazyRenderingConfig &&)=default
 
bool IsApplyingClearColor () const
 Whether or not the clear color texture can still be updated.
 
EntityPassTargetGetEntityPassTarget () const
 
InlinePassContextGetInlinePassContext () const
 

Detailed Description

Definition at line 99 of file canvas.h.

Constructor & Destructor Documentation

◆ LazyRenderingConfig() [1/2]

impeller::LazyRenderingConfig::LazyRenderingConfig ( ContentContext renderer,
std::unique_ptr< EntityPassTarget p_entity_pass_target 
)

Definition at line 2151 of file canvas.cc.

2154 : entity_pass_target_(std::move(p_entity_pass_target)) {
2155 inline_pass_context_ =
2156 std::make_unique<InlinePassContext>(renderer, *entity_pass_target_);
2157}

◆ LazyRenderingConfig() [2/2]

impeller::LazyRenderingConfig::LazyRenderingConfig ( LazyRenderingConfig &&  )
default

Member Function Documentation

◆ GetEntityPassTarget()

EntityPassTarget * impeller::LazyRenderingConfig::GetEntityPassTarget ( ) const

Definition at line 2163 of file canvas.cc.

2163 {
2164 return entity_pass_target_.get();
2165}

◆ GetInlinePassContext()

InlinePassContext * impeller::LazyRenderingConfig::GetInlinePassContext ( ) const

Definition at line 2167 of file canvas.cc.

2167 {
2168 return inline_pass_context_.get();
2169}

Referenced by impeller::Canvas::GetLocalCoverageLimit().

◆ IsApplyingClearColor()

bool impeller::LazyRenderingConfig::IsApplyingClearColor ( ) const

Whether or not the clear color texture can still be updated.

Definition at line 2159 of file canvas.cc.

2159 {
2160 return !inline_pass_context_->IsActive();
2161}

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