Last Comment Bug 779401 - [Azure] Azure/cairo canvas renders Asteroids canvas demo incorrectly on Android
: [Azure] Azure/cairo canvas renders Asteroids canvas demo incorrectly on Android
Product: Core
Classification: Components
Component: Graphics (show other bugs)
: 15 Branch
: ARM Android
: -- normal (vote)
: mozilla17
Assigned To: Nick Cameron [:nrc]
: Milan Sreckovic [:milan]
Depends on:
  Show dependency treegraph
Reported: 2012-07-31 21:07 PDT by Nick Cameron [:nrc]
Modified: 2012-08-09 04:53 PDT (History)
3 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

screenshot of the Android bug (668.75 KB, image/png)
2012-07-31 21:10 PDT, Nick Cameron [:nrc]
no flags Details
minimal test case (446 bytes, text/html)
2012-08-01 17:21 PDT, Nick Cameron [:nrc]
no flags Details
patch (1.66 KB, patch)
2012-08-05 23:05 PDT, Nick Cameron [:nrc]
bas: review+
Details | Diff | Splinter Review
patch (2.07 KB, patch)
2012-08-06 17:41 PDT, Nick Cameron [:nrc]
ncameron: review+
Details | Diff | Splinter Review

Description Nick Cameron [:nrc] 2012-07-31 21:07:43 PDT
For the following, you need a recent nightly with Azure canvas pref'ed on and = "cairo".

On Windows, renders as a blank (white) rectangle.

On Android (tested Nexus 7 (4.1) and HTC One X (4.0)), renders very badly (see screenshot, coming soon).

I've filed these as one bug for now, I suspect there might be a single cause, but we might want to split the bug later.
Comment 1 Nick Cameron [:nrc] 2012-07-31 21:10:55 PDT
Created attachment 647838 [details]
screenshot of the Android bug
Comment 2 Nick Cameron [:nrc] 2012-07-31 21:14:33 PDT
note on the attachment, I think the double awesome bar is a separate bug, due to my build (it doesn't seem to be present on the nightly build I downloaded).
Comment 3 Nick Cameron [:nrc] 2012-08-01 14:47:47 PDT
The Windows bug only happens with Direct2D on, so it must be different from the Android bug, so going to split this off into a separate bug...
Comment 4 Nick Cameron [:nrc] 2012-08-01 14:51:04 PDT
Split off bug 779650 for the Windows/smashcat bug
Comment 5 Nick Cameron [:nrc] 2012-08-01 17:21:59 PDT
Created attachment 648157 [details]
minimal test case
Comment 6 Nick Cameron [:nrc] 2012-08-01 17:22:41 PDT
Seems to be a problem with the 9arg flavour of drawImage. I have no idea why it would only affect Android, and not affect the Thebes canvas
Comment 7 Nick Cameron [:nrc] 2012-08-05 23:05:16 PDT
Created attachment 649189 [details] [diff] [review]
Comment 8 Nick Cameron [:nrc] 2012-08-05 23:14:18 PDT
test coming soon...
Comment 9 Nick Cameron [:nrc] 2012-08-06 17:38:18 PDT
test not coming soon after all. This bug is caught by the drawImage.9arg tests in test_canvas when run locally, I don't know why it doesn't fail on Try, but I can't imagine a test which would fail there is the test_canvas ones don't.
Comment 10 Nick Cameron [:nrc] 2012-08-06 17:41:14 PDT
Created attachment 649490 [details] [diff] [review]

was missing an include, carrying r=bas
Comment 12 Ed Morley [:emorley] 2012-08-09 04:53:08 PDT

Note You need to log in before you can comment on or make changes to this bug.