Lines Matching refs:SurfaceBuffer
244 virtual SurfaceBuffer* RequestBuffer(uint8_t wait = 0) = 0;
251 * @param SurfaceBuffer Indicates the pointer to the buffer flushed by producers.
256 virtual int32_t FlushBuffer(SurfaceBuffer* buffer) = 0;
264 * @return Returns the pointer to the {@link SurfaceBuffer} object.
268 virtual SurfaceBuffer* AcquireBuffer() = 0;
273 * After a consumer has used a {@link SurfaceBuffer} object, the consumer can release it through
277 * @param SurfaceBuffer Indicates the pointer to the buffer released.
282 virtual bool ReleaseBuffer(SurfaceBuffer* buffer) = 0;
288 * @param SurfaceBuffer Indicates the pointer to the buffer to be released by producers.
292 virtual void CancelBuffer(SurfaceBuffer* buffer) = 0;