diff options
author | marha <marha@users.sourceforge.net> | 2011-10-27 08:32:52 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-10-27 08:32:52 +0200 |
commit | d662d461634660f5c0f3998b5eb7d7ed3bd5a25f (patch) | |
tree | acb25086e94250ff8edf746705bdffb5551c00d8 /mesalib/src/mesa/main/mtypes.h | |
parent | 4f005bade376d15ee60e90ca45a831aff9725087 (diff) | |
download | vcxsrv-d662d461634660f5c0f3998b5eb7d7ed3bd5a25f.tar.gz vcxsrv-d662d461634660f5c0f3998b5eb7d7ed3bd5a25f.tar.bz2 vcxsrv-d662d461634660f5c0f3998b5eb7d7ed3bd5a25f.zip |
mesa git update 27 okt 2011
Diffstat (limited to 'mesalib/src/mesa/main/mtypes.h')
-rw-r--r-- | mesalib/src/mesa/main/mtypes.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/mtypes.h b/mesalib/src/mesa/main/mtypes.h index 719dff3af..411768641 100644 --- a/mesalib/src/mesa/main/mtypes.h +++ b/mesalib/src/mesa/main/mtypes.h @@ -2732,6 +2732,20 @@ struct gl_constants /* GL_ARB_robustness */ GLenum ResetStrategy; + + /** + * Whether the implementation strips out and ignores texture borders. + * + * Many GPU hardware implementations don't support rendering with texture + * borders and mipmapped textures. (Note: not static border color, but the + * old 1-pixel border around each edge). Implementations then have to do + * slow fallbacks to be correct, or just ignore the border and be fast but + * wrong. Setting the flag stripts the border off of TexImage calls, + * providing "fast but wrong" at significantly reduced driver complexity. + * + * Texture borders are deprecated in GL 3.0. + **/ + GLboolean StripTextureBorder; }; |