Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRenderBufferCache.cpp91 void RenderBufferCache::deleteBuffer(RenderBuffer* buffer) { in deleteBuffer()
94 RenderBuffer::formatName(buffer->getFormat()), in deleteBuffer()
110 RenderBuffer* RenderBufferCache::get(GLenum format, const uint32_t width, const uint32_t height) { in get()
111 RenderBuffer* buffer = nullptr; in get()
124 RenderBuffer::formatName(format), width, height); in get()
126 buffer = new RenderBuffer(format, width, height); in get()
129 RenderBuffer::formatName(format), width, height); in get()
138 bool RenderBufferCache::put(RenderBuffer* buffer) { in put()
146 RenderBuffer* victim = mCache.itemAt(position).mBuffer; in put()
157 RenderBuffer::formatName(buffer->getFormat()), in put()
[all …]
DRenderBufferCache.h48 RenderBuffer* get(GLenum format, const uint32_t width, const uint32_t height);
59 bool put(RenderBuffer* buffer);
88 RenderBufferEntry(RenderBuffer* buffer): in RenderBufferEntry()
113 RenderBuffer* mBuffer;
119 void deleteBuffer(RenderBuffer* buffer);
DRenderBuffer.h30 struct RenderBuffer { struct
35 RenderBuffer(GLenum format, uint32_t width, uint32_t height): in RenderBuffer() argument
41 ~RenderBuffer() { in ~RenderBuffer() argument
DLayer.h189 inline void setStencilRenderBuffer(RenderBuffer* renderBuffer) { in setStencilRenderBuffer()
190 if (RenderBuffer::isStencilBuffer(renderBuffer->getFormat())) { in setStencilRenderBuffer()
199 inline RenderBuffer* getStencilRenderBuffer() const { in getStencilRenderBuffer()
358 RenderBuffer* stencil = nullptr;
DOpenGLRenderer.cpp1275 RenderBuffer* buffer = mCaches.renderBufferCache.get( in attachStencilBufferToLayer()