Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-24-16, 11:21 PM   #1
Tercioo
An Aku'mai Servant
 
Tercioo's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 38
Getting performance issues with SetTexture()

Hey folks.
I'm getting fps drops from 90fps to 7fps when i do use SetTexture() with a .tga file equal or larger than 256x256.
Since it seems a odd issue, I'm wondering if this is happening only for me, may you guys test this too?

To try reproduce on your guys end, create a 1024x1024 .tga texture or use this https://www.dropbox.com/s/ulyeqa2z0ummlu7/1024.tga?dl=0, place it on world of warcraft/interface/

And run the macro:
/run for o=1,10 do local f=CreateFrame("frame");f:SetPoint("center");f:SetSize(300,300); local t=f:CreateTexture(nil,"overlay");t:SetAllPoints();f:SetScript("OnUpdate",function() t:SetTexture("Interface\\1024")end);end;

Thank you.
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » Getting performance issues with SetTexture()


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off