Lines Matching refs:frameBuffer
534 GrFrameBufferObj *frameBuffer = GR_FIND(frameBufferID,
538 GrDebugGL::getInstance()->setFrameBuffer(frameBuffer);
580 GrFrameBufferObj *frameBuffer = GrDebugGL::getInstance()->getFrameBuffer();
584 if (NULL != frameBuffer->getColor() &&
585 textures[i] == frameBuffer->getColor()->getID()) {
586 frameBuffer->setColor(NULL);
588 if (NULL != frameBuffer->getDepth() &&
589 textures[i] == frameBuffer->getDepth()->getID()) {
590 frameBuffer->setDepth(NULL);
592 if (NULL != frameBuffer->getStencil() &&
593 textures[i] == frameBuffer->getStencil()->getID()) {
594 frameBuffer->setStencil(NULL);
665 GrFrameBufferObj *frameBuffer =
670 if (NULL != frameBuffer->getColor() &&
671 renderBuffers[i] == frameBuffer->getColor()->getID()) {
672 frameBuffer->setColor(NULL);
674 if (NULL != frameBuffer->getDepth() &&
675 renderBuffers[i] == frameBuffer->getDepth()->getID()) {
676 frameBuffer->setDepth(NULL);
678 if (NULL != frameBuffer->getStencil() &&
679 renderBuffers[i] == frameBuffer->getStencil()->getID()) {
680 frameBuffer->setStencil(NULL);
715 GrFrameBufferObj *framebuffer = GrDebugGL::getInstance()->getFrameBuffer();
716 // A render buffer cannot be attached to the default framebuffer
717 GrAlwaysAssert(NULL != framebuffer);
727 framebuffer->setColor(renderbuffer);
730 framebuffer->setDepth(renderbuffer);
733 framebuffer->setStencil(renderbuffer);
755 GrFrameBufferObj *framebuffer = GrDebugGL::getInstance()->getFrameBuffer();
756 // A texture cannot be attached to the default framebuffer
757 GrAlwaysAssert(NULL != framebuffer);
772 framebuffer->setColor(texture);
775 framebuffer->setDepth(texture);
778 framebuffer->setStencil(texture);