From: Brian P. <bri...@ya...> - 2001-12-13 22:46:14
|
[This is mostly intended for Greg] What's the story behind the variables suffixed with "Pre" in the CRCurrentState struct? typedef struct { GLcolorf color; GLcolorf secondaryColor; GLfloat index; GLtexcoordf texCoord[CR_MAX_TEXTURE_UNITS]; GLvectorf normal; GLboolean edgeFlag; GLcolorf colorPre; GLcolorf secondaryColorPre; GLfloat indexPre; GLtexcoordf texCoordPre[CR_MAX_TEXTURE_UNITS]; GLvectorf normalPre; GLboolean edgeFlagPre; CRCurrentStatePointers *current; GLvectorf rasterPos; GLvectorf rasterPosPre; [...] How are the "Pre" variables different from the non-Pre variables? I'm trying to figure out why bitmap font rendering is broken with the tilesort SPU. The current raster position is getting really messed up. Part of the problem is display lists. When we're building a list with mode=GL_COMPILE it appears that the commands going into the display list are still executing. Greg, I know display lists are a PITA and we don't have a fully-correct implementation but can you quickly summarize how they're implemented now? -Brian _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |