View Single Post
03-03-14, 04:45 PM   #16
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 404
You don't need this bit anymore either:
Code:
tooltip[index] = _G[addonName .. "TempEnchantScannerTexture" .. index]
Duugu I noticed the nonBlocking bit earlier but I originally thought it was similar to __mode='kv' for garbage collection of texture memory. I disregarded that thought though since it didn't impact the buff and debuff icons in the same way. I guess I should've dumped the texture metatable to see if there was a way to manually set it just to see what it did.

Edit: I just checked and wowprogramming.com has SetNonBlocking documented where wowpedia.org does not. That could've saved some time had I known.

Side thought: The only performance hit will be on the first texture load and not each OnUpdate since it is already in memory correct? I would like to think there is a smart check on the C side of things to skip loading a texture if that is the one in use currently.

Last edited by Vrul : 03-03-14 at 05:05 PM.
  Reply With Quote