Closed
Bug 1019018
Opened 10 years ago
Closed 10 years ago
Get rid of the Thebes backed gfxContext in AndroidBridge
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
Attachments
(1 file)
(deleted),
patch
|
kats
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8432565 -
Flags: review?(bugmail.mozilla)
Comment 2•10 years ago
|
||
Comment on attachment 8432565 [details] [diff] [review]
patch
Review of attachment 8432565 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with comment addressed and verification to make sure tab thumbnailing in Fennec still works.
::: widget/android/AndroidBridge.cpp
@@ +1854,5 @@
> context->Translate(pt);
> context->Scale(scale * bufW / srcW, scale * bufH / srcH);
> rv = presShell->RenderDocument(r, renderDocFlags, bgColor, context);
> if (is24bit) {
> + gfxUtils::ConvertBGRAtoRGBA(buffer);
I think this needs to operate on "data" rather than "buffer". Also, looking at the signature of ConvertBGRAtoRGBA, it should passing a length parameter too? (bufW * bufH probably)
Attachment #8432565 -
Flags: review?(bugmail.mozilla) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in
before you can comment on or make changes to this bug.
Description
•