aminogfx
aminogfx copied to clipboard
Image Flickering when updating text
when i update a text on the screen the image get blank for milliseconds and then come back
Hmm. That shouldn't happen. Is this reproducible? Could you post a small code snippet that demonstrates the problem?
Will try to isolate in a snippet tonight to demonstrate it
Were you ever able to reproduce this issue?
I'm having the same issue in aminogfx-gl. I copied the rssFeed demo from aminogfx-core and made the changes to have it work with aminogfx-gl. I always see the 'blank' when the second text line is changed! I can wrap up the project if you like. ( I'm on a Rpi2 with node 0.10.36 )
Hey Josh, here is a link to a simple example showing the issue using aminogfx-gl (so maybe i should at this issue to the other repo) https://gist.github.com/gepatto/2cb357b025d43ee9cd72
AminoNodes underneath the Text will disappear for a brief moment, but the stage and Nodes drawn on top of the text stay intact.
This flickering does not occur when you only set 1 of the 2 texts.
( by the way, I made a small change to inputevents.fromAminoKeyboardEvent to return the keycode even if the function doesn't recognize the key, without it the keyevents on root in the code in gist probably won't work )