Lines Matching refs:GL_RENDERBUFFER
237 gl.bindRenderbuffer(GL_RENDERBUFFER, m_colorBuffer); in createFramebuffer()
240 … gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, colorFormat, width, height); in createFramebuffer()
242 gl.renderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height); in createFramebuffer()
244 gl.bindRenderbuffer(GL_RENDERBUFFER, 0); in createFramebuffer()
253 gl.bindRenderbuffer(GL_RENDERBUFFER, m_depthStencilBuffer); in createFramebuffer()
256 …gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, depthStencilFormat, width, h… in createFramebuffer()
258 gl.renderbufferStorage(GL_RENDERBUFFER, depthStencilFormat, width, height); in createFramebuffer()
260 gl.bindRenderbuffer(GL_RENDERBUFFER, 0); in createFramebuffer()
268 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_colorBuffer); in createFramebuffer()
273 …gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, m_depthStencilBuf… in createFramebuffer()
276 …gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, m_depthStencilB… in createFramebuffer()