Policy to determine when to drop a frame from a client.
More...
#include <frame_dropping_policy.h>
Policy to determine when to drop a frame from a client.
The FrameDroppingPolicy objects are constructed from a FrameDroppingPolicyFactory
The frame dropping mechanism is provided as the drop_frames argument of FrameDroppingPolicyFactory::create_policy
The policy may decide to drop a frame any time that there is an outstanding swap - namely, when there have been more calls to swap_now_blocking than to swap_unblocked
virtual mir::compositor::FrameDroppingPolicy::~FrameDroppingPolicy |
( |
| ) |
|
|
virtualdefault |
mir::compositor::FrameDroppingPolicy::FrameDroppingPolicy |
( |
| ) |
|
|
protecteddefault |
virtual void mir::compositor::FrameDroppingPolicy::swap_now_blocking |
( |
| ) |
|
|
pure virtual |
Notify that a swap is now blocking.
virtual void mir::compositor::FrameDroppingPolicy::swap_unblocked |
( |
| ) |
|
|
pure virtual |
Notify that previous swap is no longer blocking.
The documentation for this class was generated from the following file:
Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015