mesa/src
Robert Ellison 918e5221ef i965: fix polygon face orientation when rendering to FBO
In the i965, the FBO coordinate system is inverted from the standard
OpenGL/Mesa coordinate system; that means that the viewport and the
polygon face orientation have to be inverted if rendering to a FBO.

The viewport was already being handled correctly; but polygon face
was not.  This caused a conform failure when rendering to texture with
two-sided lighting enabled.

This fixes the problem in the i965 driver, and adds to the comment about
the gl_framebuffer "Name" field so that this isn't a surprise to other
driver writers.
(cherry picked from commit 6dceeb2eb8)
2009-03-18 10:47:24 -07:00
..
egl mesa: standardize on C99's uint*_t instead of u_int*_t 2008-09-21 09:45:00 -07:00
glu glu: Add mangled symbols to export list 2009-01-05 08:00:16 -07:00
glut glut: added GLUT_PPM_FILE env var to dump first frame to a PPM file 2008-12-15 18:19:05 -07:00
glw Add more package metadata to the pkg-config files 2008-12-14 08:47:03 -08:00
glx dri2: Initialize variables for the getbuffers round-trip reduction. 2009-03-13 17:38:38 -07:00
mesa i965: fix polygon face orientation when rendering to FBO 2009-03-18 10:47:24 -07:00
descrip.mms Committing in . 2003-06-17 07:20:22 +00:00
Makefile Create $(TOP)/$(LIB_DIR) for install, too 2008-06-22 20:19:35 -07:00