Lines Matching refs:GL_RENDERBUFFER
130 glBindRenderbuffer(GL_RENDERBUFFER, renderbuffer); in TEST_P()
131 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT16, width, height); in TEST_P()
132 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, renderbuffer); in TEST_P()
136 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, 0); in TEST_P()
142 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_STENCIL, width, height); in TEST_P()
143 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
160 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, *colorBuffer); in testAttachment()
161 glFramebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, *buffer); in testAttachment()
185 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorBuffer); in testAttachments()
186 glFramebufferRenderbuffer(GL_FRAMEBUFFER, attachment0, GL_RENDERBUFFER, buffer0); in testAttachments()
188 glFramebufferRenderbuffer(GL_FRAMEBUFFER, attachment1, GL_RENDERBUFFER, buffer1); in testAttachments()
200 glBindRenderbuffer(GL_RENDERBUFFER, colorBuffer); in testColorRenderbuffer()
201 glRenderbufferStorage(GL_RENDERBUFFER, internalformat, width, height); in testColorRenderbuffer()
210 glGetRenderbufferParameteriv(GL_RENDERBUFFER, paramName, ¶mValue); in getRenderbufferParameter()
265 glBindRenderbuffer(GL_RENDERBUFFER, firstRb); in testDepthStencilDepthStencil()
266 glRenderbufferStorage(GL_RENDERBUFFER, test.firstFormat, width, height); in testDepthStencilDepthStencil()
267 glFramebufferRenderbuffer(GL_FRAMEBUFFER, test.firstAttach, GL_RENDERBUFFER, firstRb); in testDepthStencilDepthStencil()
286 glBindRenderbuffer(GL_RENDERBUFFER, secondRb); in testDepthStencilDepthStencil()
287 glRenderbufferStorage(GL_RENDERBUFFER, test.secondFormat, width, height); in testDepthStencilDepthStencil()
288 glFramebufferRenderbuffer(GL_FRAMEBUFFER, test.secondAttach, GL_RENDERBUFFER, secondRb); in testDepthStencilDepthStencil()
299 glFramebufferRenderbuffer(GL_FRAMEBUFFER, test.secondAttach, GL_RENDERBUFFER, 0); in testDepthStencilDepthStencil()
331 glBindRenderbuffer(GL_RENDERBUFFER, depthStencilBuffer); in testDepthStencilRenderbuffer()
332 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_STENCIL, width, height); in testDepthStencilRenderbuffer()
376 glBindRenderbuffer(GL_RENDERBUFFER, colorBuffer); in TEST_P()
377 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, width, height); in TEST_P()
381 glBindRenderbuffer(GL_RENDERBUFFER, depthBuffer); in TEST_P()
382 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT16, width, height); in TEST_P()
386 glBindRenderbuffer(GL_RENDERBUFFER, stencilBuffer); in TEST_P()
387 glRenderbufferStorage(GL_RENDERBUFFER, GL_STENCIL_INDEX8, width, height); in TEST_P()
391 glBindRenderbuffer(GL_RENDERBUFFER, depthStencilBuffer); in TEST_P()
392 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_STENCIL, width, height); in TEST_P()
498 glFramebufferRenderbuffer(GL_FRAMEBUFFER, *depthAttachment, GL_RENDERBUFFER, 0); in tryDepth()
502 glFramebufferRenderbuffer(GL_FRAMEBUFFER, *depthAttachment, GL_RENDERBUFFER, *depthBuffer); in tryDepth()
503 glRenderbufferStorage(GL_RENDERBUFFER, *depthFormat, 16, 16); in tryDepth()
513 glBindRenderbuffer(GL_RENDERBUFFER, colorBuffer); in checkValidColorDepthCombination()
514 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorBuffer); in checkValidColorDepthCombination()
515 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, 16, 16); in checkValidColorDepthCombination()
518 glBindRenderbuffer(GL_RENDERBUFFER, depthBuffer); in checkValidColorDepthCombination()
576 glBindRenderbuffer(GL_RENDERBUFFER, colorBuffer); in testUsingIncompleteFramebuffer()
577 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorBuffer); in testUsingIncompleteFramebuffer()
578 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, 16, 16); in testUsingIncompleteFramebuffer()
581 glBindRenderbuffer(GL_RENDERBUFFER, depthBuffer); in testUsingIncompleteFramebuffer()
582 glFramebufferRenderbuffer(GL_FRAMEBUFFER, depthAttachment, GL_RENDERBUFFER, depthBuffer); in testUsingIncompleteFramebuffer()
583 glRenderbufferStorage(GL_RENDERBUFFER, depthFormat, 16, 16); in testUsingIncompleteFramebuffer()
589 glRenderbufferStorage(GL_RENDERBUFFER, depthFormat, 32, 16); in testUsingIncompleteFramebuffer()
605 glBindRenderbuffer(GL_RENDERBUFFER, colorBuffer2); in testUsingIncompleteFramebuffer()
606 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorBuffer2); in testUsingIncompleteFramebuffer()
607 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, 0, 0); in testUsingIncompleteFramebuffer()
619 glBindRenderbuffer(GL_RENDERBUFFER, colorBuffer); in testFramebufferIncompleteAttachment()
620 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorBuffer); in testFramebufferIncompleteAttachment()
621 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, 16, 16); in testFramebufferIncompleteAttachment()
626 glRenderbufferStorage(GL_RENDERBUFFER, depthFormat, 16, 16); in testFramebufferIncompleteAttachment()
629 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, 16, 16); in testFramebufferIncompleteAttachment()
633 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, 0, 0); in testFramebufferIncompleteAttachment()
647 glBindRenderbuffer(GL_RENDERBUFFER, colorBuffer); in testFramebufferIncompleteMissingAttachment()
648 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorBuffer); in testFramebufferIncompleteMissingAttachment()
649 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, 16, 16); in testFramebufferIncompleteMissingAttachment()
652 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in testFramebufferIncompleteMissingAttachment()
664 glBindRenderbuffer(GL_RENDERBUFFER, colorBuffer); in testFramebufferIncompleteDimensions()
665 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorBuffer); in testFramebufferIncompleteDimensions()
666 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, 16, 16); in testFramebufferIncompleteDimensions()
669 glBindRenderbuffer(GL_RENDERBUFFER, depthBuffer); in testFramebufferIncompleteDimensions()
670 glFramebufferRenderbuffer(GL_FRAMEBUFFER, depthAttachment, GL_RENDERBUFFER, depthBuffer); in testFramebufferIncompleteDimensions()
671 glRenderbufferStorage(GL_RENDERBUFFER, depthFormat, 16, 16); in testFramebufferIncompleteDimensions()
675 glRenderbufferStorage(GL_RENDERBUFFER, depthFormat, 32, 16); in testFramebufferIncompleteDimensions()
677 glRenderbufferStorage(GL_RENDERBUFFER, depthFormat, 16, 16); in testFramebufferIncompleteDimensions()
679 glBindRenderbuffer(GL_RENDERBUFFER, colorBuffer); in testFramebufferIncompleteDimensions()
680 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, 16, 32); in testFramebufferIncompleteDimensions()
682 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA4, 16, 16); in testFramebufferIncompleteDimensions()
714 glBindRenderbuffer(GL_RENDERBUFFER, mDepthBuffer); in NoColorFB()
715 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in NoColorFB()
717 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT16, size, size); in NoColorFB()
726 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, 0); in NoColorFB()
728 glBindRenderbuffer(GL_RENDERBUFFER, mDepthStencilBuffer); in NoColorFB()
729 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in NoColorFB()
731 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_STENCIL, size, size); in NoColorFB()
857 glBindRenderbuffer(GL_RENDERBUFFER, depthStencil); in TEST_P()
863 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
874 glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA8, kFramebufferSize, kFramebufferSize); in TEST_P()
883 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT16, kFramebufferSize, in TEST_P()
894 glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH24_STENCIL8, kFramebufferSize, in TEST_P()