diff options
| author | 2015-04-16 17:28:43 -0700 | |
|---|---|---|
| committer | 2015-04-23 15:28:12 -0700 | |
| commit | 9de7293b0a1b01ebe6fb1ab4a498f144adc8029f (patch) | |
| tree | f8ee5b60b00fb545ea324e94fdb4b246b0943f16 /libs/ui/FramebufferNativeWindow.cpp | |
| parent | 0de7ea752900b5da29ad19c2799040235477f3c5 (diff) | |
libgui: Allow an IGBProducer to disable allocation
Adds a new method IGBP::allowAllocation, which controls whether
dequeueBuffer is permitted to allocate a new buffer. If allocation is
disallowed, dequeueBuffer will block or return an error as it
normally would (as controlled by *ControlledByApp).
If there are free buffers, but they are not of the correct dimensions,
format, or usage, they may be freed if a more suitable buffer is not
found first.
Bug: 19801715
Change-Id: I0d604958b78b2fd775c2547690301423f9a52165
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions