Why aren't browsers smart enough to hardware accelerate without tricks?

前端 未结 2 846
迷失自我
迷失自我 2020-12-28 08:44

There are tons of webpages these days recommending you add these rules to your content to make it hardware accelerated:

transform: translate3d(0,0,0);
-webki         


        
2条回答
  •  清歌不尽
    2020-12-28 09:04

    For more on the webkit approach, Ariya Hidayat (webkit reviewer) wrote a pretty good introductory blog post on hardware acceleration and webkit for our blog. Enjoy.

    [The punchline is that HW acceleration can chew up lots of memory, so be judicious.]

提交回复
热议问题