画布在 Chromium 中刷新得不太好
我正在开发一个使用 HTML5 画布的项目。刷新加载时生成画布绘图的站点时,有时页面保持空白,有时按预期绘制。在 Firefox 上一直有效。
关于这个问题以及如何避免它有什么建议吗?
谢谢!
I'm working on a project with HTML5's canvas. When refreshing a site that on load generates a canvas drawing, sometimes the page keeps in blank, sometimes it draws as intended. On Firefox works all the time.
Any suggestion about this issue and how to avoid it?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Chrome 硬件加速的已知错误,也许您应该获得更新的版本,或者禁用加速。在过去几个月测试 HWA 时,我已经遇到过无数次(读作:无穷无尽)的情况。
我手头上没有具体的信息,部分原因是您没有提供任何进一步的信息,部分原因是 Google Codes Bugtracker 很糟糕:
http://code.google.com/p/chromium/issues/list? can=2&q=canvas+accelerated&sort=-modified&colspec=ID+Stars+Pri+Area+Feature+Type+Status+Summary+Modified+Owner+Mstone+OS&x=mstone&y=area&cells =tiles
祝你好运,在那里找到一些东西。
提示:搜索功能没用。
Known Bug with Chromes Hardware Acceleration, maybe you should get a newer build, or disable the acceleration. I've encountered this numerous (read: endless) times over the last few month when testing out HWA.
I don't have a specific but on hand for this, partly because you didn't provide any further information and partly because Google Codes Bugtracker is crap:
http://code.google.com/p/chromium/issues/list?can=2&q=canvas+accelerated&sort=-modified&colspec=ID+Stars+Pri+Area+Feature+Type+Status+Summary+Modified+Owner+Mstone+OS&x=mstone&y=area&cells=tiles
Good luck finding something there.
Hint: The search function is useless.