Lines Matching refs:flatten

216 // Ref: frameworks/native/libs/ui/GraphicBuffer.cpp: GraphicBuffer::flatten
266 * `flatten()` and `unflatten()` functions.
268 * All `flatten()` and `unflatten()` overloads follow the same convention as
271 * status_t flatten(ObjectType const& object,
287 * `flatten()` and `unflatten()`:
288 * - For `flatten()`, `buffer` is the pointer to the non-fd buffer to be filled,
296 * - After a successful call to `flatten()` or `unflatten()`, `buffer` and `fds`
302 * The return value of a successful `flatten()` or `unflatten()` call will be
312 * `flatten()` and `unflatten()`, are similar to functions of the same name in
316 * flatten(x, buffer, size, fds, numFds)
320 * x.flatten(buffer, size, fds, numFds)
334 * \brief Return the size of the non-fd buffer required to flatten a fence.
465 if (l.flatten(buffer, size, fds, numFds) != NO_ERROR) {
547 * \brief Return the size of the non-fd buffer required to flatten
595 status_t flatten(HGraphicBufferProducer::FenceTimeSnapshot const& t,
666 * flatten `FrameEventsDelta`.
686 * \brief Return the size of the non-fd buffer required to flatten
799 // FrameEventsDelta::flatten
800 status_t flatten(HGraphicBufferProducer::FrameEventsDelta const& t,
833 status_t status = flatten(
845 * \brief Return the size of the non-fd buffer required to flatten
933 status_t flatten(
947 status_t status = flatten(t.deltas[deltaIndex], buffer, size, fds, numFds);
991 if (l.flatten(buffer, size, fds, numFds) != NO_ERROR) {
1037 if (flatten(t, buffer, size, fds, numFds) != NO_ERROR) {
1055 * \brief Return the size of the buffer required to flatten `Region`.
1111 status_t flatten(Region const& t, void*& buffer, size_t& size) {
1123 status_t status = rect.flatten(buffer, size);
1149 if (l.flatten(buffer, size) != NO_ERROR) {
1179 if (flatten(t, buffer, size) != NO_ERROR) {
1196 * \brief Return a lower bound on the size of the buffer required to flatten
1215 * \brief Return the size of the buffer required to flatten
1252 status_t flatten(HGraphicBufferProducer::QueueBufferInput const& t,
1279 status = flatten(t.surfaceDamage, buffer, size);
1377 if (l.flatten(buffer, size, fds, numFds) != NO_ERROR) {
1424 if (flatten(t, &nh, buffer, size, fds, numFds) != NO_ERROR) {