Refine preparing layer list and wrap HwcList from HwcComposer2D

RESOLVED INVALID

Status

()

Core
Widget: Gonk
RESOLVED INVALID
3 years ago
a year ago

People

(Reporter: boris, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 2 obsolete attachments)

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: 1138811
Depends on: 1144012
Blocks: 1159597
Comment hidden (obsolete)
Comment hidden (obsolete)
Attachment #8616600 - Flags: feedback?(hshih)
Created attachment 8617214 [details] [diff] [review]
[WIP] Part 1: Add HwcListData type (v3)

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
Last Resolved: a year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.