Lines Matching refs:GL_RENDERBUFFER
242 gl.bindRenderbuffer(GL_RENDERBUFFER, m_colorBuffer); in createFramebuffer()
245 … gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, colorFormat, width, height); in createFramebuffer()
247 gl.renderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height); in createFramebuffer()
249 gl.bindRenderbuffer(GL_RENDERBUFFER, 0); in createFramebuffer()
258 gl.bindRenderbuffer(GL_RENDERBUFFER, m_depthStencilBuffer); in createFramebuffer()
261 …gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, depthStencilFormat, width, h… in createFramebuffer()
263 gl.renderbufferStorage(GL_RENDERBUFFER, depthStencilFormat, width, height); in createFramebuffer()
265 gl.bindRenderbuffer(GL_RENDERBUFFER, 0); in createFramebuffer()
273 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_colorBuffer); in createFramebuffer()
278 …gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, m_depthStencilBuf… in createFramebuffer()
281 …gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, m_depthStencilB… in createFramebuffer()