Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-25-16, 10:40 AM   #1
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
frame:Show() and frame:Hide() is causing fps drops

I think the following is related to the texture memory issues, but I'm not sure.

On my compass castbar addon I experienced fps drops.

I changed the latency texture from Show/Hide to SetAlpha already. But Show/Hide on the castbar still causes fps drops.

If I comment out frame:Show() and frame:Hide() there is no fps drop at all.

I tried reparenting to a hidden frame and reparenting to UIParent when shown. Same fps drop.

Using SetAlpha on the frame works for me. No fps drops any more. Still super wierd.

https://github.com/zorker/rothui/com...840ed79c4e9cdf

How do you handle these fps drops?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » frame:Show() and frame:Hide() is causing fps drops


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