Home
last modified time | relevance | path

Searched refs:RenderBuffer (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
DRenderBufferCache.cpp84 void RenderBufferCache::deleteBuffer(RenderBuffer* buffer) { in deleteBuffer()
87 RenderBuffer::formatName(buffer->getFormat()), buffer->getWidth(), in deleteBuffer()
102 RenderBuffer* RenderBufferCache::get(GLenum format, const uint32_t width, const uint32_t height) { in get()
103 RenderBuffer* buffer = nullptr; in get()
115 RENDER_BUFFER_LOGD("Found %s render buffer (%dx%d)", RenderBuffer::formatName(format), in get()
118 buffer = new RenderBuffer(format, width, height); in get()
120 RENDER_BUFFER_LOGD("Created new %s render buffer (%dx%d)", RenderBuffer::formatName(format), in get()
130 bool RenderBufferCache::put(RenderBuffer* buffer) { in put()
136 RenderBuffer* victim = mCache.begin()->mBuffer; in put()
147 RenderBuffer::formatName(buffer->getFormat()), buffer->getWidth(), in put()
[all …]
DRenderBufferCache.h49 RenderBuffer* get(GLenum format, const uint32_t width, const uint32_t height);
60 bool put(RenderBuffer* buffer);
82 explicit RenderBufferEntry(RenderBuffer* buffer) in RenderBufferEntry()
98 RenderBuffer* mBuffer;
104 void deleteBuffer(RenderBuffer* buffer);
DRenderBuffer.h30 struct RenderBuffer { struct
35 RenderBuffer(GLenum format, uint32_t width, uint32_t height) in RenderBuffer() function
40 ~RenderBuffer() { in ~RenderBuffer() argument
DBakedOpRenderer.h131 RenderBuffer* stencil = nullptr;