Lines Matching refs:buffer
69 /* The minimum number of buffers that must remain un-dequeued after a buffer
71 * override the number of buffers and if a buffer has since been queued.
78 * Note that this value does NOT apply until a single buffer has been
82 * 2. Set the buffer count to N + M
110 * 1. Before dequeuing a buffer, the GL driver (or any other ANW client)
119 * 3. The GL driver dequeues a buffer of the new pre-rotated size.
121 * 4. The GL driver renders to the buffer such that the image is
126 * inverse transformation to the buffer it just rendered.
138 * 6. The GL driver queues the pre-transformed buffer.
140 * 7. The composer combines the buffer transform with the display
141 * transform. If the buffer transform happens to cancel out the
148 * Returns the age of the contents of the most recently dequeued buffer as
150 * example, if the window is double-buffered, the age of any given buffer in
151 * steady state will be 2. If the dequeued buffer has never been queued, its
181 * Hook called by EGL to acquire a buffer. This call may block if no
184 * The window holds a reference to the buffer between dequeueBuffer and
186 * reference if they might use the buffer after queueing or canceling it.
187 * Holding a reference to a buffer after queueing or canceling it is only
188 * allowed if a specific buffer count has been set.
192 * dequeued buffer may be written to. A value of -1 indicates that the
193 * caller may access the buffer immediately without waiting on a fence. If
199 int ANativeWindow_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
203 * Hook called by EGL when modifications to the render buffer are done.
204 * This unlocks and post the buffer.
206 * The window holds a reference to the buffer between dequeueBuffer and
208 * reference if they might use the buffer after queueing or canceling it.
209 * Holding a reference to a buffer after queueing or canceling it is only
210 * allowed if a specific buffer count has been set.
213 * fence that must signal before the buffer can be accessed. If the buffer
221 int ANativeWindow_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
225 * Hook used to cancel a buffer that has been dequeued.
230 * The window holds a reference to the buffer between dequeueBuffer and
232 * reference if they might use the buffer after queueing or canceling it.
233 * Holding a reference to a buffer after queueing or canceling it is only
234 * allowed if a specific buffer count has been set.
237 * fence that must signal before the buffer can be accessed. If the buffer
242 * ensure that future uses of the buffer are preceded by a wait on that
249 int ANativeWindow_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
291 * If the specified format is 0, the default buffer format will be used.
309 * Enable/disable shared buffer mode
315 * Enable/disable auto refresh when in shared buffer mode
320 * Enable/disable the auto prerotation at buffer allocation when the buffer size
323 * When buffer size is driven by the consumer and the transform hint specifies