I meant this patch: https://github.com/cocos2d/cocos2d-x/pull/16901
@ricardo ah okay, thanks. I wasnât aware. I applied the patch to my cocos version and it seems to still compile/work. Though it does not speed up anything on my Nexus 7 (obviously). And Iâm also still a bit worried that cocos might just not work on some Android devices now, since @zhangxm noted that exceptions of Android devices might need to be added.
Ok. Letâs wait until @zhangxm returns from holiday. Currently they are on holiday since it is the Chinese New Year (spring festival).
@framusrock does your device uses VAO now? Yep, it may not work on some devices(though it should not be), but until now we havenât received any feedback.
@zhangxm No, my device still doesnât use VAO - but maybe the graphics driver is just too bad/old to support it. Okay, so itâs a good thing that we have this patch for sure - letâs hope no devices will have issues.
Do you have any idea how to speed things up on non-VAO devices? Will any of @Darinex ideas speed things up?
@framusrock i think @Darinexâs 3 method may speed up a little if buffer orphaning can not work on the device. But it will causes more memory and we donât know how many VBOs are needed.
I found opengl error 0x0505 when i use VAO to create progresstimer on some mobile phones.
Mobile phone :
Htc butterfly
ASUS PadFone S
MI 3W
Sony Xperia Z3
I am facing issues on 1st and 2nd generation amazon kindles. I am using sprite sheets in my game. Nothing except my background png, which is not part of sprite sheet, get rendered on screen. I can still touch the buttons location and they work fine. Disabling VAO fix this issue.
Maybe thatâs why cocos2d-x disable VAO by default.
But as far as I know itâs no longer disabled now after a long discussion and thread.
Why should disable VAO by default? VAO is performance improved on most android devices.
In ccConfig.h, there is a comment
âIf a device doesnât support VAO though it claims to support should add exceptions list here.â
My comment was basically to report these two devices.
Also got the error on Amazon KFTT