summaryrefslogtreecommitdiffstats
path: root/progs/trivial/clear-fbo-scissor.c
Commit message (Collapse)AuthorAgeFilesLines
* progs/trivial: use -c option to use glCopyPixels()Brian Paul2010-03-101-2/+4
| | | | | | | | Otherwise we use glRead/DrawPixels to copy the off-screen FBO image into the window. Looks like NVIDIA's broken when using -c (the image is upside down), but OK with -c -t.
* progs/trivial: make clear-fbo-scissor.c work with other GL driversBrian Paul2010-03-101-1/+19
| | | | | | | NVIDIA's driver requires that the texture that we're going to render into be complete. Need to set min/mag filters to non-mipmap modes. Plus added other error/debug checks.
* progs/trivial: add -t (RTT) option for clear-fbo-scissor.cBrian Paul2010-03-101-5/+33
|
* progs/trivial: added clear-fbo-scissor.c to test scissored clear of FBOBrian Paul2010-03-101-0/+186