Lines Matching refs:buffer
35 * Returns a buffer with the exact specified dimensions. If no suitable
36 * buffer can be found, a new one is created and returned. If creating a
37 * new buffer fails, NULL is returned.
39 * When a buffer is obtained from the cache, it is removed and the total
42 * The returned buffer is always allocated and bound
45 * @param format The desired render buffer format
46 * @param width The desired width of the buffer
47 * @param height The desired height of the buffer
52 * Adds the buffer to the cache. The buffer will not be added if there is
53 * not enough space available. Adding a buffer can cause other buffer to
56 * @param buffer The render buffer to add to the cache
58 * @return True if the buffer was added, false otherwise.
60 bool put(RenderBuffer* buffer);
85 RenderBufferEntry(RenderBuffer* buffer):
86 mBuffer(buffer), mFormat(buffer->getFormat()),
87 mWidth(buffer->getWidth()), mHeight(buffer->getHeight()) {
110 void deleteBuffer(RenderBuffer* buffer);