Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17080

Clipping perfomance && bug

$
0
0

@nbesshaposhnikov wrote:

I'm using some clipping nodes on scene, including ScrollView.(WebGL browser)
On this scene performance is very bad. I've profiled it in Google Chrome browser.
And I saw that almost all time of CPU (~80%) spent not ~600 sprites but function "gl.getParameter" in UILayotWebGLRenderCmd._onBeforeVisitStencil.
According to some advices(for example from here) result of calling such functions is good to be cached.
Is there any possibility to cache result of calling(or reduce calling) gl.getParameter ?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17080

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>