Lines Matching refs:flatten
216 // Ref: frameworks/native/libs/ui/GraphicBuffer.cpp: GraphicBuffer::flatten
227 * `flatten()` and `unflatten()` functions.
229 * All `flatten()` and `unflatten()` overloads follow the same convention as
232 * status_t flatten(ObjectType const& object,
248 * `flatten()` and `unflatten()`:
249 * - For `flatten()`, `buffer` is the pointer to the non-fd buffer to be filled,
257 * - After a successful call to `flatten()` or `unflatten()`, `buffer` and `fds`
263 * The return value of a successful `flatten()` or `unflatten()` call will be
273 * `flatten()` and `unflatten()`, are similar to functions of the same name in
277 * flatten(x, buffer, size, fds, numFds)
281 * x.flatten(buffer, size, fds, numFds)
295 * \brief Return the size of the non-fd buffer required to flatten a fence.
374 * \brief Return the size of the non-fd buffer required to flatten
404 status_t flatten(HGraphicBufferProducer::FenceTimeSnapshot const& t,
429 * \brief Return the size of the non-fd buffer required to flatten
478 // FrameEventsDelta::flatten
479 status_t flatten(HGraphicBufferProducer::FrameEventsDelta const& t,
485 * \brief Return the size of the non-fd buffer required to flatten
536 status_t flatten(
574 * \brief Return the size of the buffer required to flatten `Region`.
599 status_t flatten(Region const& t, void*& buffer, size_t& size);
623 * \brief Return the size of the buffer required to flatten
652 status_t flatten(HGraphicBufferProducer::QueueBufferInput const& t,