Closed Bug 914554 Opened 12 years ago Closed 12 years ago

Remove a redundant GraphicBufferAlloc.cpp from B2G

Categories

(Core Graveyard :: Widget: Gonk, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla27

People

(Reporter: vlin, Assigned: vlin)

Details

Attachments

(1 file)

Shall we still maintain a redundant GraphicBufferAlloc.cpp in B2G(widget\gonk\libdisplay\GraphicBufferAlloc.cpp) ? GonkDisplayJB should be able to create GraphicBufferAlloc object by just including AOSP's <gui/GraphicBufferAlloc.h>. I guess it's the legacy from ICS that GraphicBufferAlloc was included in libsurfaceflinger.so, so B2G had to clone GraphicBufferAlloc independently. From JB, GraphicBufferAlloc was already moved to libgui.so. That would be easy for B2G to include.
Flags: needinfo?(mwu)
Component: General → Widget: Gonk
Product: Boot2Gecko → Core
Doesn't that break the MR1 support you're working on?
Flags: needinfo?(mwu)
(In reply to Michael Wu [:mwu] from comment #1) > Doesn't that break the MR1 support you're working on? Well, then it needs ANDROID_VERSION for separating MR1 and MR2. I will attach a patch here later.
Assignee: nobody → vlin
Status: NEW → ASSIGNED
Attachment #806381 - Flags: review?(mwu)
Attachment #806381 - Flags: review?(mwu) → review+
Keywords: checkin-needed
https://hg.mozilla.org/integration/b2g-inbound/rev/354e832afdaf Please use your full name in your Hg committer information instead of just vlin. Thanks!
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
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: