performance - Multiple GLES contexts, one framebuffer (iOS) -
i'm doing ios app have black box rendering library has own eaglcontext , framebuffer , it's own rendering. need additional rendering outside black box lib.
up until i've been doing reading, setting , restoring pertinent states each frame. works, fiddly , hard maintain. occurred me, "why not have separate eaglcontext instead?"
i've implemented second context, i'm switching contexts instead of setting/restoring states each frame. problem i'm getting lots of visual artifacts , performance went rock solid 30 fps 5 fps...
so apparently i'm not meant render same framebuffer several contexts. can confirm this?
Comments
Post a Comment