Lines Matching refs:GL_FRAMEBUFFER
75 glBindFramebuffer(GL_FRAMEBUFFER, mSampleFBO); in prepareForDraw()
76 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, mSampleRB); in prepareForDraw()
78 glCheckFramebufferStatus(GL_FRAMEBUFFER)); in prepareForDraw()
79 glBindFramebuffer(GL_FRAMEBUFFER, 0); in prepareForDraw()
91 glBindFramebuffer(GL_FRAMEBUFFER, mResolveFBO); in prepareForDraw()
92 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mResolveTex, 0); in prepareForDraw()
94 glCheckFramebufferStatus(GL_FRAMEBUFFER)); in prepareForDraw()
100 glBindFramebuffer(GL_FRAMEBUFFER, mSampleFBO); in prepareForDraw()
121 glBindFramebuffer(GL_FRAMEBUFFER, 0); in cleanup()
306 glBindFramebuffer(GL_FRAMEBUFFER, mSampleFBO); in prepareForDraw()
307 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, mSampleRB); in prepareForDraw()
308 EXPECT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in prepareForDraw()
309 glBindFramebuffer(GL_FRAMEBUFFER, 0); in prepareForDraw()
320 glBindFramebuffer(GL_FRAMEBUFFER, mResolveFBO); in prepareForDraw()
321 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mResolveTex, 0); in prepareForDraw()
322 EXPECT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in prepareForDraw()
324 glBindFramebuffer(GL_FRAMEBUFFER, mSampleFBO); in prepareForDraw()
346 glBindFramebuffer(GL_FRAMEBUFFER, 0); in cleanup()