Lines Matching refs:GR_GL_FRAMEBUFFER
1501 this->bindFramebuffer(GR_GL_FRAMEBUFFER, idDesc->fRTFBOID); in createRenderTargetObjects()
1502 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, in createRenderTargetObjects()
1507 GL_CALL_RET(status, CheckFramebufferStatus(GR_GL_FRAMEBUFFER)); in createRenderTargetObjects()
1514 this->bindFramebuffer(GR_GL_FRAMEBUFFER, idDesc->fTexFBOID); in createRenderTargetObjects()
1517 GL_CALL(FramebufferTexture2DMultisample(GR_GL_FRAMEBUFFER, in createRenderTargetObjects()
1522 GL_CALL(FramebufferTexture2D(GR_GL_FRAMEBUFFER, in createRenderTargetObjects()
1528 GL_CALL_RET(status, CheckFramebufferStatus(GR_GL_FRAMEBUFFER)); in createRenderTargetObjects()
1641 this->bindSurfaceFBOForPixelOps(tex.get(), GR_GL_FRAMEBUFFER, &viewport, in onCreateTexture()
1648 this->unbindTextureFBOForPixelOps(GR_GL_FRAMEBUFFER, tex.get()); in onCreateTexture()
1734 this->bindFramebuffer(GR_GL_FRAMEBUFFER, fb); in getCompatibleStencilIndex()
1736 GL_CALL(FramebufferTexture2D(GR_GL_FRAMEBUFFER, in getCompatibleStencilIndex()
1755 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, in getCompatibleStencilIndex()
1759 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, in getCompatibleStencilIndex()
1763 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, in getCompatibleStencilIndex()
1768 GL_CALL_RET(status, CheckFramebufferStatus(GR_GL_FRAMEBUFFER)); in getCompatibleStencilIndex()
1773 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, in getCompatibleStencilIndex()
1777 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, in getCompatibleStencilIndex()
1786 this->bindFramebuffer(GR_GL_FRAMEBUFFER, 0); in getCompatibleStencilIndex()
2320 this->bindSurfaceFBOForPixelOps(temp.get(), GR_GL_FRAMEBUFFER, &vp, kDst_TempFBOTarget); in readPixelsSupported()
2327 this->unbindTextureFBOForPixelOps(GR_GL_FRAMEBUFFER, temp.get()); in readPixelsSupported()
2388 this->bindSurfaceFBOForPixelOps(surface, GR_GL_FRAMEBUFFER, &glvp, kSrc_TempFBOTarget); in onReadPixels()
2423 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, GR_GL_STENCIL_ATTACHMENT, in onReadPixels()
2434 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, GR_GL_STENCIL_ATTACHMENT, in onReadPixels()
2451 this->unbindTextureFBOForPixelOps(GR_GL_FRAMEBUFFER, surface); in onReadPixels()
2492 this->bindFramebuffer(GR_GL_FRAMEBUFFER, target->renderFBOID()); in flushRenderTargetNoColorWrites()
2500 GL_CALL_RET(status, CheckFramebufferStatus(GR_GL_FRAMEBUFFER)); in flushRenderTargetNoColorWrites()
3267 if (target == GR_GL_FRAMEBUFFER || target == GR_GL_DRAW_FRAMEBUFFER) { in bindFramebuffer()
3288 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, GR_GL_COLOR_ATTACHMENT0, in deleteFramebuffer()
3290 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, GR_GL_STENCIL_ATTACHMENT, in deleteFramebuffer()
3292 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, GR_GL_DEPTH_ATTACHMENT, in deleteFramebuffer()
3645 this->bindSurfaceFBOForPixelOps(dst, GR_GL_FRAMEBUFFER, &dstVP, kDst_TempFBOTarget); in copySurfaceAsDraw()
3708 this->unbindTextureFBOForPixelOps(GR_GL_FRAMEBUFFER, dst); in copySurfaceAsDraw()
3720 this->bindSurfaceFBOForPixelOps(src, GR_GL_FRAMEBUFFER, &srcVP, kSrc_TempFBOTarget); in copySurfaceAsCopyTexSubImage()
3739 this->unbindTextureFBOForPixelOps(GR_GL_FRAMEBUFFER, src); in copySurfaceAsCopyTexSubImage()
3828 this->bindFramebuffer(GR_GL_FRAMEBUFFER, fTempDstFBOID); in onRegenerateMipMapLevels()
3898 GL_CALL(FramebufferTexture2D(GR_GL_FRAMEBUFFER, GR_GL_COLOR_ATTACHMENT0, GR_GL_TEXTURE_2D, in onRegenerateMipMapLevels()
3911 GL_CALL(FramebufferTexture2D(GR_GL_FRAMEBUFFER, GR_GL_COLOR_ATTACHMENT0, in onRegenerateMipMapLevels()
4166 this->bindFramebuffer(GR_GL_FRAMEBUFFER, info.fFBOID); in createTestingOnlyBackendRenderTarget()
4171 GL_CALL(FramebufferTexture2D(GR_GL_FRAMEBUFFER, GR_GL_COLOR_ATTACHMENT0, GR_GL_TEXTURE_2D, in createTestingOnlyBackendRenderTarget()
4177 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, GR_GL_COLOR_ATTACHMENT0, in createTestingOnlyBackendRenderTarget()
4184 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, GR_GL_STENCIL_ATTACHMENT, GR_GL_RENDERBUFFER, in createTestingOnlyBackendRenderTarget()
4187 GL_CALL(FramebufferRenderbuffer(GR_GL_FRAMEBUFFER, GR_GL_DEPTH_ATTACHMENT, in createTestingOnlyBackendRenderTarget()
4195 this->bindFramebuffer(GR_GL_FRAMEBUFFER, 0); in createTestingOnlyBackendRenderTarget()
4198 this->bindFramebuffer(GR_GL_FRAMEBUFFER, info.fFBOID); in createTestingOnlyBackendRenderTarget()
4200 GL_CALL_RET(status, CheckFramebufferStatus(GR_GL_FRAMEBUFFER)); in createTestingOnlyBackendRenderTarget()