Closed Bug 1215374 Opened 10 years ago Closed 10 years ago

Camera should only create face views once faces detected

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-master fixed)

RESOLVED FIXED
FxOS-S10 (30Oct)
Tracking Status
b2g-master --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

References

Details

(Keywords: perf)

Attachments

(1 file)

After the camera has been configured, the application currently creates a number of face views (the rings on faces overlaying the viewfinder) based on the maximum number for the platform. There is no reason we need to do this in the critical path time however, and instead we should defer creating them until they are needed (e.g. when we get our first faces detected event with actual faces).
Blocks: 1210849
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Attachment #8674643 - Flags: review?(dmarcos)
Attachment #8674643 - Flags: review?(dmarcos) → review+
Keywords: checkin-needed, perf
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S10 (30Oct)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: