fredsa / forplay

Automatically exported from code.google.com/p/forplay
Apache License 2.0
12 stars 4 forks source link

Drawing to canvas in Chrome during paint clears canvas #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Create a new canvas layer.
2. Draw text to the layer in init. Displays as expected.
3. Draw additional text in paint method. Works in firefox but displays nothing 
in Chrome 11.

Original issue reported on code.google.com by skoru...@gmail.com on 28 May 2011 at 9:27

GoogleCodeExporter commented 9 years ago
I wasn't able to reproduce this on Chrome 11. Do you mind posting your code or 
putting together a small test case?

Original comment by pdr@google.com on 29 May 2011 at 11:07

GoogleCodeExporter commented 9 years ago
I've put together some test code at:
https://github.com/skorulis/ForplayCanvasBug
There is a built version running at:
http://www.skorulis.com/content/gwt/CanvasBug/CanvasBug.html

I've done a little more testing on this. It is working fine in Chrome on my 
Macbook Pro running Windows 7 64bit but not on my desktop that is running Win7 
64bit. It is also working fine on another desktop running XP so maybe what I 
thought was a forplay bug is actually Chrome not liking my hardware.
If the page is blank for you then the bug exists on your system. Can anyone 
confirm that it's not just my system?

Original comment by skoru...@gmail.com on 31 May 2011 at 12:17

GoogleCodeExporter commented 9 years ago
Sorry about the delay... I wasn't able to repro on my Win7 machine, but I 
suspect you're right about the problem lying in the Chrome<->hardware layer. Do 
you mind posting (or sending to me via email) your video card specs, including 
the about:gpu info? (just type "about:gpu" in the url bar)

Original comment by pdr@google.com on 3 Jun 2011 at 5:08