aboutsummaryrefslogtreecommitdiffstats
path: root/www/worldwind.jpg
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-04-22 05:28:00 +0200
committerSven Gothel <[email protected]>2011-04-22 05:28:00 +0200
commit31d948b5f5432837c3a52e9891f60d9189011c91 (patch)
tree386d404ca30851aef7d6c1ffe99f1b698ec60df1 /www/worldwind.jpg
parent0ad2f3f0b54ef0088cfbfef30c35144491effe30 (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 'www/worldwind.jpg')
0 files changed, 0 insertions, 0 deletions