Lines Matching refs:be
31 * The width specifies how many columns of pixels must be in the
33 * columns between the same column in adjacent rows. The rows may be
39 * The height specifies how many rows of pixels must be in the
45 * The number of image layers that must be in the allocated buffer.
55 * Buffer usage mask; valid flags can be found in the definition of
75 * Creates a buffer descriptor. The descriptor can be used with IAllocator
79 * dependent or device independent checks must be performed here whenever
86 * @return error Error status of the call, which may be
90 * - `NO_RESOURCES` if the creation cannot be fullfilled due to
107 * buffer handle must not be used to access the underlying graphic
108 * buffer. It must be imported to create an imported handle first.
113 * must be considered valid everywhere in the process, including in
120 * freeBuffer() must be called on it when it is no longer needed.
123 * @return error Error status of the call, which may be
126 * - `NO_RESOURCES` if the raw handle cannot be imported due to
134 * Frees a buffer handle. Buffer handles returned by importBuffer() must be
143 * @return error Error status of the call, which may be
150 * Validates that the buffer can be safely accessed by a caller who assumes
158 * @return error Error status of the call, which may be
161 * - `BAD_VALUE` if the buffer cannot be safely accessed.
179 * @return error Error status of the call, which may be
201 * "lock in place". The buffers must be directly accessible via mapping.
214 * get() can be used to get information about the planes, offsets, stride,
222 * On success, @p data must be filled with a pointer to the locked buffer
235 * sync fence object, which will be signaled when it is safe for the
236 * mapper to lock the buffer. @p acquireFence may be an empty fence if
238 * @return error Error status of the call, which may be
245 * - `NO_RESOURCES` if the buffer cannot be locked at this time. Note
261 * @return error Error status of the call, which may be
265 * sync fence object. The sync fence object will be signaled when the
266 * mapper has completed any pending work. @p releaseFence may be an
282 * copy should still be flushed but what happens is undefined except that
286 * @return error Error status of the call, which may be
290 * sync fence object. The sync fence object will be signaled when the
291 * mapper has completed any pending work. @p releaseFence may be an
307 * @return error Error status of the call, which may be
310 * - `NO_RESOURCES` if the buffer cannot be reread at this time. Note
319 * description can be allocated on this implementation, unless resource
345 * in a process, the updated metadata should be available to all other processes.
355 * Buffer metadata must be global. Any changes to the metadata must be propagated
361 * be stored in the extra page of shared memory. Set operations are automatically
374 * There is one exception to this rule. Fences CANNOT be used to protect a buffer's
382 * metadata need to be updated. The app's process queues up its work on the GPU
404 * graphics/common/StandardMetadataType.aidl), vendors will be able to optionally
414 * Converting buffer metadata into a byte stream can be non-trivial. For the standard
424 * MetadataType represents the different types of buffer metadata that could be
432 * This struct should be "extended" by devices that use a proprietary or non-standard
450 * Buffer metadata can be changed after allocation so clients should avoid "caching"
453 * Clients should not expect the values to be constant. They should requery them every
461 * @return error Error status of the call, which may be
464 * - `NO_RESOURCES` if the get cannot be fullfilled due to unavailability of
479 * Metadata fields are not required to be settable. This function can
486 * possible. If a device's Composer implementation supports a field, it should be
487 * supported here. Over time these metadata fields will be moved out of
490 * eventually the device may not longer be able to support these fields.
495 * @return error Error status of the call, which may be
498 * - `BAD_VALUE` when the field is constant and can never be set (such as
501 * - `NO_RESOURCES` if the set cannot be fullfilled due to unavailability of
504 * it is unsupported. Unsupported should also be returned if the metadata
512 * MetadataType. This can be used to query basic information about a buffer
517 * @return error Error status of the call, which may be
521 * - `NO_RESOURCES` if the get cannot be fullfilled due to unavailability of
524 * if the metadataType is unknown/unsupported. This should also be
549 * isGettable represents if the MetadataType can be get.
553 * isSettable represents if the MetadataType can be set.
561 * string can be left empty.
563 * @return error Error status of the call, which may be
565 * - `NO_RESOURCES` if the get cannot be fullfilled due to unavailability of
580 * gettable, the vector must be empty.
596 * @return error Error status of the call, which may be
599 * - `NO_RESOURCES` if the get cannot be fullfilled due to unavailability of
609 * @return error Error status of the call, which may be
611 * - `NO_RESOURCES` if the get cannot be fullfilled due to unavailability of
622 * The shared memory may be allocated from any shared memory allocator.
623 * The shared memory must be CPU-accessible and virtually contiguous. The
624 * starting address must be word-aligned.
626 * This function may only be called after importBuffer() has been called by the
631 * This reserved memory may be used in future versions of Android to
636 * @return error Error status of the call, which may be