Closed Bug 1005414 Opened 11 years ago Closed 11 years ago

Use GPU when frame needs intermediate surface.

Categories

(Core :: Graphics: Layers, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 999699
blocking-b2g -

People

(Reporter: sushilchauhan, Assigned: sushilchauhan)

Details

(Whiteboard: [CR 658854])

In Camera App, when the Self-Timer is set to 3 seconds, the fading-out effect of ticks "2" and "1" is not visible on the preview frame. It is a regression caused by Bugzilla patch: https://bugzilla.mozilla.org/show_bug.cgi?id=993160. When self-timer ticks and "2" & "1" fade-out, there are multiple containers in those particular frames which need "Intermediate surface" and they do not have any leaves. But HWC works only on leaf layers so we never reach the check at [1]. So it is better to let GPU to handle a frame which needs intermediate surface. I checked by reverting this patch, the regression is fixed. I also verified that the original bug reported in Bugzilla # 993160 , does not exist even after reverting the patch, which means Camera preview is using HWC Composition on b2g v1.4 reference device, so we can now safely revert this patch. I will upload the revert of this patch.
Assignee: nobody → sushilchauhan
blocking-b2g: --- → 1.4?
Whiteboard: [CR 658854]
blocking-b2g: 1.4? → 1.4+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
blocking-b2g: 1.4+ → -
You need to log in before you can comment on or make changes to this bug.