android - How to render bigger image with high resolution ? Using GLsurfaceview -


i'm using code make effect images http://grishma102.blogspot.com/2013/10/apply-effects-on-image-using-effects.html

but problem if choose image these sizes example ( width 4128) , ( hight 2322) it's giving me error message

fatal exception: glthread 21709 java.lang.runtimeexception: gluseprogram: glerror 1281     @ com.mekdev.imageaffects.gltoolbox.checkglerror(gltoolbox.java:62)     @ com.mekdev.imageaffects.texturerender.rendertexture(texturerender.java:95)     @ com.mekdev.imageaffects.effectsfilteractivity.renderresult(effectsfilteractivity.java:566)     @ com.mekdev.imageaffects.effectsfilteractivity.ondrawframe(effectsfilteractivity.java:584)     @ android.opengl.glsurfaceview$glthread.guardedrun(glsurfaceview.java:1531)     @ android.opengl.glsurfaceview$glthread.run(glsurfaceview.java:1248) 

please can ?

you should chech glerror after texture loading. on large amount of mobile gpu maximun texture size 2048x2048. have use textures sides power of 2(1024,2048,...). check glerror after texture loading , logcat(on devices easy see whats goes wrong gl in logcat). , draw large image use several small textures.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -