Very annoying Chrome bug with DrawImageRect

Monkey Targets Forums/HTML5/Very annoying Chrome bug with DrawImageRect

Fred(Posted 2011) [#1]
Hello,
I'm experimenting a very annoying bug in Chrome: DrawImage called after a DrawImageRect WITH rotation are not stable ! I mean not drawn the same way.

Here is an example of a scaled down display that draws 6 (128x128) sprites with DrawImage. When the mouse is over a sprite I zoom and rotate it with DrawImageRect. Then the following sprites (drawing order) are moving a little bit depending on the rotation value and global scale !

With IE9 there is no problem, neither with all other targets (glfw, ...)

By the way if you use a 128x128 sprite with a one pixel thin grid in it you'll find interesting to see how good are different targets/browsers to handle scaled down bitmaps (in this case IE9 is surprisingly efficient)



May be I'm doing something wrong ?