<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 22, 2015 at 3:17 AM, Emil Velikov <span dir="ltr"><<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 19 October 2015 at 23:36, Nanley Chery <<a href="mailto:nanleychery@gmail.com">nanleychery@gmail.com</a>> wrote:<br>
> From: Nanley Chery <<a href="mailto:nanley.g.chery@intel.com">nanley.g.chery@intel.com</a>><br>
><br>
> Enable limiting advertised extension support by context version with<br>
> finer granularity. GLuint is chosen over smaller datatypes because,<br>
> when this field is eventually used, usage of this datatype provides<br>
> the smallest .text size of the compiled library.<br>
><br>
> Signed-off-by: Nanley Chery <<a href="mailto:nanley.g.chery@intel.com">nanley.g.chery@intel.com</a>><br>
> ---<br>
> src/mesa/main/extensions.c | 15 +-<br>
> src/mesa/main/extensions_table.h | 626 +++++++++++++++++++--------------------<br>
> 2 files changed, 326 insertions(+), 315 deletions(-)<br>
><br>
> diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c<br>
> index 30f5b98..390e026 100644<br>
> --- a/src/mesa/main/extensions.c<br>
> +++ b/src/mesa/main/extensions.c<br>
> @@ -66,6 +66,11 @@ struct extension {<br>
> /** Set of API's in which the extension exists, as a bitset. */<br>
> uint8_t api_set;<br>
><br>
> + /** Minimum version the extension requires for the given API<br>
> + * (see gl_api defined in mtypes.h)<br>
> + */<br>
> + GLuint version[API_OPENGL_LAST + 1];<br>
> +<br>
</span>Please use uint*t type, like the surrounding code and add a note that<br>
the version is 10*major+minor.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>Will do. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
-Emil<br>
</font></span></blockquote></div><br></div></div>