Search the Community
Showing results for tags 'gpu'.
I have several simple multiplayer online games, and last two of them are card games. Several users complaint about very slow and annoying card movement, while others (including me) claims that all work just fine. Games are rendering with pixi.js, but for card movements I'm using GSAP 3.6.1 TweenMax. Luckily, one of players gave me access to her computer, and when we started the game and cards start moving, I could see WebGL warning messages: - GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels. - GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to mapping buffer in use my the GPU. Is this issue related to GSAP, or Pixi.js, or something else? It looks other games which are not using GSAP for movements work fine.
CSS3 transitions have some significant limitations that make them unworkable for a serious animation platform. They don’t provide precise controls over the timing or easing. They’re great for simple effects but the GreenSock Animation Platform delivers extremely precise rendering, so you can do things like pause() and reverse() an animation anytime or skip to a specific time and play from there, etc. Try creating a CSS3 transition that uses an elastic.out or slow motion ease and then jump to 0.72494-seconds into a 2-second transition and pause() only to resume() later. It’s impossible from what I understand. So no, the platform doesn’t make use of CSS3 transitions. However, it is highly optimized for performance. See the detailed cage match where GSAP battles CSS3 transitions where there’s a detailed comparison in several categories.