Closed
Bug 899798
Opened 11 years ago
Closed 11 years ago
[B2G] With Skia/GL, canvases get re-composited with B and R channels swapped
Categories
(Firefox OS Graveyard :: Hardware, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bjacob, Assigned: pchang)
References
Details
Attachments
(3 files)
Attached testcase just draws a red quad.
On B2G with Skia/GL (as enabled by attachment 782802 [details] [diff] [review]) this is first painted correctly, then (after half a second) re-painted in blue i.e. with R and B channels swapped.
This is in particular at least one of the problems happening in bug 899341.
Reporter | ||
Comment 1•11 years ago
|
||
This shows that the RGBA values read back from the canvas are correct (255, 0, 0, 255) even after the canvas has been re-rendered as blue. This means that the problem is purely a compositing problem, not an issue with the canvas' backbuffer actually getting modified.
Reporter | ||
Updated•11 years ago
|
Summary: [B2G] With Skia/GL, canvases get re-painted with B and R channels swapped → [B2G] With Skia/GL, canvases get re-composited with B and R channels swapped
Assignee | ||
Comment 2•11 years ago
|
||
This issue was related to hwc composition which happened on leo and hamachi.
You can use below steps to disable HWC composition.
Right now we are waiting for bug 886415 to land.
1. adb shell mv /system/lib/hw/hwcomposer.msm7627a.so /system/lib/hw/hwcomposer.msm7627a.so_bak
2. adb shell stop b2g
3. adb shell start b2g
Updated•11 years ago
|
Blocks: HWComposer
Reporter | ||
Comment 3•11 years ago
|
||
Peter, now that bug 886415 is fixed, what are the next steps here?
Flags: needinfo?(pchang)
Reporter | ||
Comment 4•11 years ago
|
||
Milan, this might be the most 'open' of the remaining blockers for Skia/GL/B2G1.2. Need to figure whom this bug should be assigned to. I feel that I should finish work on the other blockers I'm already working on, before looking more into this one, so this might be better assigned to someone else than me.
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(milan)
Comment 5•11 years ago
|
||
Peter, any chance you can take a look at this? It seems very related to the work you've previously done.
Assignee: nobody → pchang
Flags: needinfo?(milan)
Assignee | ||
Comment 6•11 years ago
|
||
I will import QCT release patch to B2G soon.
Flags: needinfo?(pchang)
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #793824 -
Flags: review?(bjacob)
Assignee | ||
Updated•11 years ago
|
Attachment #793824 -
Flags: review?(mwu)
Updated•11 years ago
|
Attachment #793824 -
Flags: review?(mwu) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Verified the imported patch with my leo device and didn't have problem.
Paste the pull request link.
https://github.com/mozilla-b2g/gonk-patches/pull/2/commits
Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 793824 [details] [diff] [review]
import RBSwap patch from CAF's patch queue
Michael, could you help me to grant my git pullrequest?
Attachment #793824 -
Flags: review?(bjacob) → review+
Assignee | ||
Comment 10•11 years ago
|
||
Since I just imported the patch which got review+ on bug 881460 from QCT CAF, I think mwu's r+ is enough.
Assignee | ||
Comment 11•11 years ago
|
||
Michael, do you know who can help to grant the git pullrequest?
Flags: needinfo?(mwu)
Comment 12•11 years ago
|
||
I'll do it on Monday if you can't find someone in the Taipei office with access to the repo.
Flags: needinfo?(mwu)
Assignee | ||
Comment 13•11 years ago
|
||
(In reply to Michael Wu [:mwu] from comment #12)
> I'll do it on Monday if you can't find someone in the Taipei office with
> access to the repo.
I see, I will find mchen in TPE office first.
Assignee | ||
Comment 14•11 years ago
|
||
patch was merged, close case.
https://github.com/mozilla-b2g/gonk-patches
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Component: Graphics → Hardware
Product: Core → Boot2Gecko
Version: Trunk → unspecified
Comment 16•11 years ago
|
||
Hi Wayne :
Please help us to push to merge this case into V1.1 HD. It blocked the Helix Device .If you can not resolve it , please get the authorization from carrier.
Comment 17•11 years ago
|
||
In case this is confusing others as it has me - even though this bug was specific to 1.2, as SkiaGL wasn't on 1.1 or earlier, the fix is the same as for the duplicated bug 915869, and that is the one that is 1.1 specific.
Comment 18•11 years ago
|
||
(In reply to Milan Sreckovic [:milan] from comment #17)
> ...
> for the duplicated bug 915869, and that is the one that is 1.1 specific.
That would be bug 906534 instead.
Updated•11 years ago
|
Flags: needinfo?(wchang)
You need to log in
before you can comment on or make changes to this bug.
Description
•