diff options
author | 2025-02-21 21:07:04 +0000 | |
---|---|---|
committer | 2025-02-24 15:53:28 +0000 | |
commit | f6a8037cfa313a8df444791bb11835473653379e (patch) | |
tree | fb96b932c021e5b6a61c2d2967bd78a3f50bc10e /cmds/flatland/GLHelper.cpp | |
parent | f4fb32873ebb31905bc7369ee09baaf304dad97d (diff) |
BufferItemConsumer: Make creation calls flag-agnostic
It's really annoying to work with these right now since clients have to
juggle two flag-guarded constructors. Instead, add a static create
function that returns a BIC and a Surface.
Also removes flag guards around ConsumerBase::setConsumerIsProtected,
which was never necessary and makes it possible to migrate clients away
from this flag in their code.
BYPASS_IGBP_IGBC_API_REASON=warren buffers
Bug: 398822412
Flag: EXEMPT refactor
Test: compiles, presubmit
Change-Id: I045a8ba804928623fcf7c430be245fd6f2e70bb1
Diffstat (limited to 'cmds/flatland/GLHelper.cpp')
0 files changed, 0 insertions, 0 deletions