scaled() physically resize the image on the CPU using either our code in Java or native code. The other approach calls drawImage(img, x, y, w, h) which goes directly to the GPU on some platforms.
I'm sure this is because of the GPU as you have pretty much proved it. 4096 is a magic power of 2 number. Textures must always be rounded to power of 2 for the GPU which is the only case where 4096 and 4097 will be so different. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/fc7f2fbb-12e2-4088-a440-3a586e502204%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
