Page 1 of 1

Po2 Problem

Posted: Fri Sep 13, 2013 2:10 am
by davisdude
I know that older computers cannot handle non po2 pictures (2*2, 4*4, 32*32, etc.), but I have two questions:
Can the images be, say, 32*64?
And can they support drawing other things in non po2 ways (like love.graphics.rectangle)? What is the performance like with those?

Re: Po2 Problem

Posted: Fri Sep 13, 2013 3:26 am
by retrotails
davisdude wrote:I know that older computers cannot handle non po2 pictures (2*2, 4*4, 32*32, etc.), but I have two questions:
Can the images be, say, 32*64?
And can they support drawing other things in non po2 ways (like love.graphics.rectangle)? What is the performance like with those?
32x64 should always be doable, and everything that's not an image can always be any size and non Po2 sizes should not affect their speed (though they might be slightly slower if they cover more of the screen but that's a different thing)

Re: Po2 Problem

Posted: Fri Sep 13, 2013 3:58 am
by Davidobot
LÖVE automatically pads images that ar non Po2 on older cards.

Re: Po2 Problem

Posted: Fri Sep 13, 2013 5:47 am
by raidho36
Not to mention that Po2-affected cards are by now really old, odds of encountering such are minimum.

Re: Po2 Problem

Posted: Sat Sep 14, 2013 1:07 am
by davisdude
Okay. Glad that's solved. :P

Re: Po2 Problem

Posted: Sat Sep 14, 2013 7:33 pm
by Jasoco
raidho36 wrote:Not to mention that Po2-affected cards are by now really old, odds of encountering such are minimum.
Yeah, but you'd think that about canvases and we still get people complaining about them.

Re: Po2 Problem

Posted: Sat Sep 14, 2013 7:42 pm
by jjmafiae
Jasoco wrote:
raidho36 wrote:Not to mention that Po2-affected cards are by now really old, odds of encountering such are minimum.
Yeah, but you'd think that about canvases and we still get people complaining about them.
because of the crappy drivers!