Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRenderBuffer.h30 struct RenderBuffer { struct
35 RenderBuffer(GLenum format, uint32_t width, uint32_t height) in RenderBuffer() function
40 ~RenderBuffer() { in ~RenderBuffer() argument
49 GLuint getName() const { return mName; } in getName()
54 GLenum getFormat() const { return mFormat; } in getFormat()
59 void bind() const { glBindRenderbuffer(GL_RENDERBUFFER, mName); } in bind()
65 bool isAllocated() const { return mAllocated; } in isAllocated()
71 void allocate() { in allocate()
83 void resize(uint32_t width, uint32_t height) { in resize()
95 uint32_t getWidth() const { return mWidth; } in getWidth()
[all …]