Lines Matching refs:buffer
34 * Returns a buffer with the exact specified dimensions. If no suitable
35 * buffer can be found, a new one is created and returned. If creating a
36 * new buffer fails, NULL is returned.
38 * When a buffer is obtained from the cache, it is removed and the total
41 * The returned buffer is always allocated and bound
44 * @param format The desired render buffer format
45 * @param width The desired width of the buffer
46 * @param height The desired height of the buffer
51 * Adds the buffer to the cache. The buffer will not be added if there is
52 * not enough space available. Adding a buffer can cause other buffer to
55 * @param buffer The render buffer to add to the cache
57 * @return True if the buffer was added, false otherwise.
59 bool put(RenderBuffer* buffer);
88 RenderBufferEntry(RenderBuffer* buffer):
89 mBuffer(buffer), mFormat(buffer->getFormat()),
90 mWidth(buffer->getWidth()), mHeight(buffer->getHeight()) {
119 void deleteBuffer(RenderBuffer* buffer);