#include <compositor_context.h>
Definition at line 105 of file compositor_context.h.
◆ CompositorContext() [1/2]
| flutter::CompositorContext::CompositorContext |
( |
| ) |
|
Definition at line 46 of file compositor_context.cc.
47 : texture_registry_(std::make_shared<TextureRegistry>()),
48 raster_time_(fixed_refresh_rate_updater_),
49 ui_time_(fixed_refresh_rate_updater_) {}
◆ CompositorContext() [2/2]
Definition at line 51 of file compositor_context.cc.
52 : texture_registry_(std::make_shared<TextureRegistry>()),
53 raster_time_(updater),
54 ui_time_(updater) {}
◆ ~CompositorContext()
| flutter::CompositorContext::~CompositorContext |
( |
| ) |
|
|
virtualdefault |
◆ AcquireFrame()
◆ OnGrContextCreated()
| void flutter::CompositorContext::OnGrContextCreated |
( |
| ) |
|
Definition at line 227 of file compositor_context.cc.
227 {
228 texture_registry_->OnGrContextCreated();
229#if !SLIMPELLER
230 raster_cache_.Clear();
231#endif
232}
◆ OnGrContextDestroyed()
| void flutter::CompositorContext::OnGrContextDestroyed |
( |
| ) |
|
Definition at line 234 of file compositor_context.cc.
234 {
235 texture_registry_->OnGrContextDestroyed();
236#if !SLIMPELLER
237 raster_cache_.Clear();
238#endif
239}
◆ raster_cache()
| RasterCache & flutter::CompositorContext::raster_cache |
( |
| ) |
|
|
inline |
◆ raster_time()
| const Stopwatch & flutter::CompositorContext::raster_time |
( |
| ) |
const |
|
inline |
◆ texture_registry()
| std::shared_ptr< TextureRegistry > flutter::CompositorContext::texture_registry |
( |
| ) |
|
|
inline |
◆ ui_time()
| Stopwatch & flutter::CompositorContext::ui_time |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: