| 655 | |
| 656 | |
| 657 | void VirtualWin::makePassive(Frame *f, int drawBuf, GLenum glFormat, |
| 658 | int stereoMode) |
| 659 | { |
| 660 | stereoFrame.init(f->hdr, f->pf->id, f->flags, true); |
| 661 | readPixels(0, 0, stereoFrame.hdr.framew, stereoFrame.pitch, |
| 662 | stereoFrame.hdr.frameh, glFormat, stereoFrame.pf, stereoFrame.bits, |
| 663 | LEYE(drawBuf), true); |
| 664 | readPixels(0, 0, stereoFrame.hdr.framew, stereoFrame.pitch, |
| 665 | stereoFrame.hdr.frameh, glFormat, stereoFrame.pf, stereoFrame.rbits, |
| 666 | REYE(drawBuf), true); |
| 667 | profPassive.startFrame(); |
| 668 | f->makePassive(stereoFrame, stereoMode); |
| 669 | profPassive.endFrame(f->hdr.framew * f->hdr.frameh, 0, 1); |
| 670 | } |
| 671 | |
| 672 | |
| 673 | void VirtualWin::readPixels(GLint x, GLint y, GLint width, GLint pitch, |
nothing calls this directly
no test coverage detected