diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2016-01-28 12:39:57 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-03-01 14:46:01 +0000 |
commit | 95a8a745e043f02f432a370feb3348389b784f38 (patch) | |
tree | 8584278f44c25a7961c6f45af6fafcc4d7b415ad /src/gui/opengl/qopengltexture_p.h | |
parent | f9c16f396274e60e74739cd270052c42008abd6e (diff) |
Significantly reduce the size of generated code for the opengl wrappers
Use some macro magic to declare the opengl symbols and use that
to call getProcAddress in a loop instead of doing it individually
for each method.
Cuts the amount of generated object code down from 300 to around 50k.
Change-Id: I386d278fde41a1a30827c6232e79f9156090f8b0
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/gui/opengl/qopengltexture_p.h')
0 files changed, 0 insertions, 0 deletions