#include <compositor_context.h>
Definition at line 107 of file compositor_context.h.
◆ CompositorContext() [1/2]
flutter::CompositorContext::CompositorContext |
( |
| ) |
|
Definition at line 49 of file compositor_context.cc.
50 : texture_registry_(std::make_shared<TextureRegistry>()),
51 raster_time_(fixed_refresh_rate_updater_),
52 ui_time_(fixed_refresh_rate_updater_) {}
◆ CompositorContext() [2/2]
Definition at line 54 of file compositor_context.cc.
55 : texture_registry_(std::make_shared<TextureRegistry>()),
56 raster_time_(updater),
57 ui_time_(updater) {}
◆ ~CompositorContext()
flutter::CompositorContext::~CompositorContext |
( |
| ) |
|
|
virtualdefault |
◆ AcquireFrame()
Definition at line 75 of file compositor_context.cc.
84 {
85 return std::make_unique<ScopedFrame>(
86 *this, gr_context, canvas, view_embedder, root_surface_transformation,
87 instrumentation_enabled, surface_supports_readback, raster_thread_merger,
88 aiks_context);
89}
◆ OnGrContextCreated()
void flutter::CompositorContext::OnGrContextCreated |
( |
| ) |
|
Definition at line 225 of file compositor_context.cc.
225 {
226 texture_registry_->OnGrContextCreated();
227#if !SLIMPELLER
228 raster_cache_.Clear();
229#endif
230}
◆ OnGrContextDestroyed()
void flutter::CompositorContext::OnGrContextDestroyed |
( |
| ) |
|
Definition at line 232 of file compositor_context.cc.
232 {
233 texture_registry_->OnGrContextDestroyed();
234#if !SLIMPELLER
235 raster_cache_.Clear();
236#endif
237}
◆ raster_cache()
RasterCache & flutter::CompositorContext::raster_cache |
( |
| ) |
|
|
inline |
◆ raster_time()
const Stopwatch & flutter::CompositorContext::raster_time |
( |
| ) |
const |
|
inline |
◆ snapshot_store()
◆ 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: