Lines Matching refs:buffer

127     /* The minimum number of buffers that must remain un-dequeued after a buffer
129 * override the number of buffers and if a buffer has since been queued.
136 * Note that this value does NOT apply until a single buffer has been
140 * 2. Set the buffer count to N + M
147 /* Check whether queueBuffer operations on the ANativeWindow send the buffer
153 * This can be used to determine whether protected buffer content should be
192 * 1. Before dequeuing a buffer, the GL driver (or any other ANW client)
201 * 3. The GL driver dequeues a buffer of the new pre-rotated size.
203 * 4. The GL driver renders to the buffer such that the image is
208 * inverse transformation to the buffer it just rendered.
220 * 6. The GL driver queues the pre-transformed buffer.
222 * 7. The composer combines the buffer transform with the display
223 * transform. If the buffer transform happens to cancel out the
231 * one buffer behind the producer.
303 /* the window content is not updated (frozen) until a buffer of
307 /* the buffer is scaled in both dimensions to match the window size */
309 /* the buffer is scaled uniformly such that the smaller dimension
310 * of the buffer matches the window size (cropping in the process)
313 /* the window is clipped to the size of the buffer's crop rectangle; pixels
383 * Hook called by EGL to acquire a buffer. After this call, the buffer
387 * The window holds a reference to the buffer between dequeueBuffer and
389 * reference if they might use the buffer after queueing or canceling it.
390 * Holding a reference to a buffer after queueing or canceling it is only
391 * allowed if a specific buffer count has been set.
400 struct ANativeWindowBuffer** buffer);
403 * hook called by EGL to lock a buffer. This MUST be called before modifying
404 * the content of a buffer. The buffer must have been acquired with
414 struct ANativeWindowBuffer* buffer);
417 * Hook called by EGL when modifications to the render buffer are done.
418 * This unlocks and post the buffer.
420 * The window holds a reference to the buffer between dequeueBuffer and
422 * reference if they might use the buffer after queueing or canceling it.
423 * Holding a reference to a buffer after queueing or canceling it is only
424 * allowed if a specific buffer count has been set.
436 struct ANativeWindowBuffer* buffer);
482 * Hook used to cancel a buffer that has been dequeued.
487 * The window holds a reference to the buffer between dequeueBuffer and
489 * reference if they might use the buffer after queueing or canceling it.
490 * Holding a reference to a buffer after queueing or canceling it is only
491 * allowed if a specific buffer count has been set.
499 struct ANativeWindowBuffer* buffer);
502 * Hook called by EGL to acquire a buffer. This call may block if no
505 * The window holds a reference to the buffer between dequeueBuffer and
507 * reference if they might use the buffer after queueing or canceling it.
508 * Holding a reference to a buffer after queueing or canceling it is only
509 * allowed if a specific buffer count has been set.
513 * dequeued buffer may be written to. A value of -1 indicates that the
514 * caller may access the buffer immediately without waiting on a fence. If
521 struct ANativeWindowBuffer** buffer, int* fenceFd);
524 * Hook called by EGL when modifications to the render buffer are done.
525 * This unlocks and post the buffer.
527 * The window holds a reference to the buffer between dequeueBuffer and
529 * reference if they might use the buffer after queueing or canceling it.
530 * Holding a reference to a buffer after queueing or canceling it is only
531 * allowed if a specific buffer count has been set.
534 * fence that must signal before the buffer can be accessed. If the buffer
543 struct ANativeWindowBuffer* buffer, int fenceFd);
546 * Hook used to cancel a buffer that has been dequeued.
551 * The window holds a reference to the buffer between dequeueBuffer and
553 * reference if they might use the buffer after queueing or canceling it.
554 * Holding a reference to a buffer after queueing or canceling it is only
555 * allowed if a specific buffer count has been set.
558 * fence that must signal before the buffer can be accessed. If the buffer
563 * ensure that future uses of the buffer are preceded by a wait on that
571 struct ANativeWindowBuffer* buffer, int fenceFd);
612 * Depending on the scaling mode, a buffer's crop region is scaled and/or
614 * pre-transformed buffer pixel coordinates.
621 * buffer's bound or if the window is invalid.
633 * Depending on the scaling mode, a buffer's crop region is scaled and/or
642 * buffer's bound or if the window is invalid.
717 * Sets the user buffer size for the window, which overrides the
726 * default buffer size will match the windows's size.
743 * If the specified format is 0, the default buffer format will be used.
822 * Dequeue a buffer and wait on the fence associated with that buffer. The
823 * buffer may safely be accessed immediately upon this function returning. An