Closed Bug 1159592 Opened 9 years ago Closed 8 years ago

Refine preparing layer list and wrap HwcList from HwcComposer2D

Categories

(Core Graveyard :: Widget: Gonk, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: boris, Unassigned)

References

Details

Attachments

(1 file, 2 obsolete files)

Make PrepareLayerList more readable and handle different HwcLayer easier.
We want to wrap HwcList from HwcComposer2D into the new HAL class (ex. HwcHAL in Bug 1144012), so we don't need to care about memory allocation in HwcComposer. By the way, there are some #ifs in PrepareLayerList, we also want to wrap them. Therefore, we can easily add new HwcLayer type (ex. OverlayImage layer) without adding #if-#else for different Android versions in PrepareLayerList.
Blocks: RefactorHwc
Depends on: 1144012
Blocks: 1159597
Attachment #8616600 - Flags: feedback?(hshih)
Use HwcListData to manage HwcList's memory.
Attachment #8616600 - Attachment is obsolete: true
Attachment #8616600 - Flags: feedback?(hshih)
Attachment #8617214 - Flags: feedback?(hshih)
Attachment #8617214 - Flags: feedback?(hshih)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: