We get an error in X_PutShmImage because we try to do a Put of an image to fill the entire window, when the image is the wrong size (too small). Restricting the invalid region to the bounds of the image fixes the bug and the browser works OK apart from one or a few glitches during startup.
Created attachment 8609652 [details] [diff] [review] bug1167786 fix
Attachment #8609652 - Flags: review?(karlt)
Comment on attachment 8609652 [details] [diff] [review] bug1167786 I don't know why EndRemoteDrawingInRegion() is providing a region greater than the size found in StartRemoteDrawing(), so there may be some unnecessary painting happening somewhere, but this change provides a sensible interpretation of this function's parameters.
url: https://hg.mozilla.org/integration/mozilla-inbound/rev/fe452120866e9a66ea70ba1089ac6b3d2164d676 changeset: fe452120866e9a66ea70ba1089ac6b3d2164d676 user: Robert O'Callahan <firstname.lastname@example.org> date: Tue Jul 14 00:03:44 2015 +1200 description: Bug 1167786. Restrict bounds of drawn region to the nsShmImage bounds to avoid X errors. r=karlt
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox42: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.