We have been facing drawing render texture on Nexus 6 which issues Adreno 420 adter updating it to Android Lollipop 5.1 OS. It used to work fine on 5.0 Using cocos2d-x 2.2 engine for render textures.
I have attached the code for those files. It would be great if we can get some help on that . thanks.
Hi... Sorry to hear you're having troubles using render textures on Nexus 6. Could you explain a bit more about the problem and specific api that you think is broken? If you have an apk which demonstrates the problem, that would be good. Also could you provide the build information that shows up on the Nexus 6, as well as an Android log file which will help identifiy the driver?
Hi We found the issue and solution.These are the steps we were following
1) Create new framebuffer (FB1) for RenderTexture
2) Bind temp buffer and cache the existing framebuffer(FB2)
3) Bind texture(T1) to new framebuffer(FB1) and then later use that texture(T1)
4) Bind the oldFramebuffer(FB2) back
5) Delete the temporay buffer(FB1) (This step was causing issue. It deleted the bounded texture(T1) when the buffer(FB1) was deleted, which we were using later as mentioned in step 3. So the solution was before we bind buffer (FB2) back we unbound texture from buffer(FB1) so it doesn't delete the texture.)
Problem with step 5 only occured on Nexus 6 with Android 5.1 . It worked fine on Nexus 6 with Android 5.0 and also works fine on other devices with Android 5.1.
Thanks for the help and looking into it. Hope the solution helps someone.