diff options
author | Emil Velikov <[email protected]> | 2017-11-06 16:14:51 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-11-16 14:17:07 +0000 |
commit | 310e4485cba33716899d56ac910054d906701a9c (patch) | |
tree | 835df80b1547bc62390de5a52b2f279c98f08f1e /src/mesa/main/fbobject.c | |
parent | 693682bd015e871f7beca15aeb441c2e1ba76cec (diff) |
mesa: rework the way we manage extra_extensions
Store pointers to the tokenized strings in the gl_extensions struct.
This way we can reuse them in glGetStringi() while we construct the
really long string only in _mesa_make_extension_string.
Only 16 pointers/strings are stored for now.
v2: Warn only once when we provide more than 16 unk. extensions, rebase
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Brian Paul <[email protected]> (v1)
Diffstat (limited to 'src/mesa/main/fbobject.c')
0 files changed, 0 insertions, 0 deletions