texture: if a non-npot texture with mipmap has been requested, force the allocation before doing a glTexSubImage2d, and delay the mipmap generation to prevent double generation. Closes #781, #782, #656
texture: if a non-npot texture with mipmap has been requested, force the allocation before doing a glTexSubImage2d, and delay the mipmap generation to prevent double generation. Closes #781, #782, #656

niavlys/kivy,bob-the-hamster/kivy,bliz937/kivy,niavlys/kivy,xiaoyanit/kivy,vipulroxx/kivy,LogicalDash/kivy,gonzafirewall/kivy,bob-the-hamster/kivy,Ramalus/kivy,bhargav2408/kivy,JohnHowland/kivy,viralpandey/kivy,manthansharma/kivy,MiyamotoAkira/kivy,manashmndl/kivy,mSenyor/kivy,jffernandez/kivy,MiyamotoAkira/kivy,iamutkarshtiwari/kivy,Farkal/kivy,yoelk/kivy,jegger/kivy,jegger/kivy,bionoid/kivy,viralpandey/kivy,ehealthafrica-ci/kivy,thezawad/kivy,manashmndl/kivy,denys-duchier/kivy,youprofit/kivy,dirkjot/kivy,Shyam10/kivy,rnixx/kivy,inclement/kivy,kived/kivy,adamkh/kivy,CuriousLearner/kivy,autosportlabs/kivy,Farkal/kivy,LogicalDash/kivy,JohnHowland/kivy,CuriousLearner/kivy,iamutkarshtiwari/kivy,MiyamotoAkira/kivy,VinGarcia/kivy,jegger/kivy,darkopevec/kivy,jehutting/kivy,zennobjects/kivy,el-ethan/kivy,aron-bordin/kivy,gonzafirewall/kivy,Shyam10/kivy,andnovar/kivy,inclement/kivy,gonzafirewall/kivy,KeyWeeUsr/kivy,bliz937/kivy,zennobjects/kivy,Shyam10/kivy,KeyWeeUsr/kivy,aron-bordin/kivy,Cheaterman/kivy,inclement/kivy,cbenhagen/kivy,dirkjot/kivy,andnovar/kivy,jegger/kivy,arcticshores/kivy,janssen/kivy,xiaoyanit/kivy,edubrunaldi/kivy,CuriousLearner/kivy,Ramalus/kivy,wangjun/kivy,el-ethan/kivy,kivatu/kivy-bak,hansent/kivy,angryrancor/kivy,KeyWeeUsr/kivy,wangjun/kivy,wangjun/kivy,manthansharma/kivy,matham/kivy,dirkjot/kivy,iamutkarshtiwari/kivy,xpndlabs/kivy,vitorio/kivy,thezawad/kivy,manthansharma/kivy,arcticshores/kivy,bionoid/kivy,Shyam10/kivy,rnixx/kivy,autosportlabs/kivy,Farkal/kivy,darkopevec/kivy,ernstp/kivy,Davideddu/kivy-forkedtouch,bhargav2408/kivy,Cheaterman/kivy,manthansharma/kivy,tony/kivy,matham/kivy,arlowhite/kivy,eHealthAfrica/kivy,aron-bordin/kivy,akshayaurora/kivy,Cheaterman/kivy,tony/kivy,jffernandez/kivy,Ramalus/kivy,Davideddu/kivy-forkedtouch,ernstp/kivy,kivy/kivy,ernstp/kivy,vitorio/kivy,xpndlabs/kivy,vipulroxx/kivy,hansent/kivy,kivatu/kivy-bak,rnixx/kivy,cbenhagen/kivy,janssen/kivy,xpndlabs/kivy,kivatu/kivy-bak,hansent/kivy,JohnHowland/kivy,VinGarcia/kivy,arlowhite/kivy,JohnHowland/kivy,akshayaurora/kivy,jkankiewicz/kivy,vipulroxx/kivy,LogicalDash/kivy,jehutting/kivy,eHealthAfrica/kivy,rafalo1333/kivy,angryrancor/kivy,youprofit/kivy,kivy/kivy,angryrancor/kivy,xiaoyanit/kivy,akshayaurora/kivy,VinGarcia/kivy,Davideddu/kivy-forkedtouch,edubrunaldi/kivy,kived/kivy,yoelk/kivy,rafalo1333/kivy,eHealthAfrica/kivy,yoelk/kivy,viralpandey/kivy,darkopevec/kivy,bionoid/kivy,jkankiewicz/kivy,Cheaterman/kivy,yoelk/kivy,cbenhagen/kivy,autosportlabs/kivy,kivy/kivy,youprofit/kivy,arcticshores/kivy,edubrunaldi/kivy,bionoid/kivy,jehutting/kivy,andnovar/kivy,thezawad/kivy,mSenyor/kivy,denys-duchier/kivy,angryrancor/kivy,ehealthafrica-ci/kivy,arcticshores/kivy,rafalo1333/kivy,jffernandez/kivy,Farkal/kivy,manashmndl/kivy,janssen/kivy,habibmasuro/kivy,vipulroxx/kivy,habibmasuro/kivy,LogicalDash/kivy,matham/kivy,vitorio/kivy,jkankiewicz/kivy,denys-duchier/kivy,gonzafirewall/kivy,bob-the-hamster/kivy,mSenyor/kivy,eHealthAfrica/kivy,wangjun/kivy,KeyWeeUsr/kivy,denys-duchier/kivy,ehealthafrica-ci/kivy,dirkjot/kivy,niavlys/kivy,adamkh/kivy,janssen/kivy,arlowhite/kivy,bhargav2408/kivy,darkopevec/kivy,el-ethan/kivy,ernstp/kivy,matham/kivy,MiyamotoAkira/kivy,aron-bordin/kivy,hansent/kivy,habibmasuro/kivy,zennobjects/kivy,zennobjects/kivy,adamkh/kivy,Davideddu/kivy-forkedtouch,adamkh/kivy,bliz937/kivy,niavlys/kivy,jffernandez/kivy,bob-the-hamster/kivy,tony/kivy,kivatu/kivy-bak,jkankiewicz/kivy,kived/kivy,ehealthafrica-ci/kivy