-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Keith Packard wrote: > Neither the i830 nor 965gm actually support GL_CLAMP natively (yay for > d3d-only hardware). The different appearance is caused by the 965 driver > mapping GL_CLAMP to GL_CLAMP_TO_BORDER while the i830 maps it to > GL_CLAMP_TO_EDGE. The 965 driver has a comment saying that glconform > prefers GL_CLAMP_TO_BORDER, while the i830 has a comment saying that the > Windows GL driver uses GL_CLAMP_TO_EDGE.
Initially D3D only had analogs for GL_REPEAT and GL_CLAMP_TO_EDGE. GL_CLAMP_TO_BORDER was a later addition. Some would argue that GL_CLAMP is largely useless and probably never what an app wants. Alas. Due to the D3D situation, lots of older hardware (like i810, Virge, and similar vintage) only implemented the two original D3D modes in hardware, and they used GL_CLAMP_TO_EDGE for GL_CLAMP in their OpenGL drivers. Thanks to these broken drivers, many app developers came to think that GL_CLAMP did what GL_CLAMP_TO_EDGE does. > Several other drivers (savage, sis, unichrome) map GL_CLAMP to > GL_CLAMP_TO_EDGE. > > What should I do now? > > 1) Fix the 965 driver to make GL_CLAMP work correctly (icky, and will > be slower). > 2) Use GL_CLAMP_TO_EDGE in the 965 driver. > 3) Use GL_CLAMP_TO_BORDER in the i830 driver. > 4) Nothing. I would probably do #2. As has been mentioned, we could do a driconf option, but I'm not convinced of the return on time investment. Of course, that shouldn't prevent anyone from scratching their own person itch, as it were. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGwKQwX1gOwKyEAw8RAkr4AJ9zebXk/Q1RozgXC9lZ7Kj/sDUrPQCglQ3w xQBbBzciBEV/tSLU8Ky1eKQ= =XtN/ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel