diff options
author | Sven Gothel <[email protected]> | 2011-04-22 05:28:00 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-04-22 05:28:00 +0200 |
commit | 31d948b5f5432837c3a52e9891f60d9189011c91 (patch) | |
tree | 386d404ca30851aef7d6c1ffe99f1b698ec60df1 /make/README-zip-bundles.txt | |
parent | 0ad2f3f0b54ef0088cfbfef30c35144491effe30 (diff) |
Texture: Change method signatures: Pass GL context object if required (remove GLContext.getCurrentGL() usage.
Using function signatures explicitly require the GL [current] instance clarifies
that the context must be current.
Removing GLContext.getCurrentGL() reduces TLS access of current thread
and hence possible performance hits.
The Texture class has been chosen for this conversion [not TextureIO yet],
since the enable/bind methods maybe used within a rendering loop.
User already 'complained' about lack of current GLContext clarity as well.
Diffstat (limited to 'make/README-zip-bundles.txt')
0 files changed, 0 insertions, 0 deletions