Closed
Bug 958420
Opened 11 years ago
Closed 11 years ago
[Display][gonk-kk] remove obsolete code trying to use PIXEL_FORMAT_A_8 with gralloc
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.3 C2/1.4 S2(17jan)
People
(Reporter: schiu, Assigned: schiu)
References
Details
Attachments
(2 files, 1 obsolete file)
7.42 KB,
patch
|
gal
:
review+
pchang
:
review+
|
Details | Diff | Splinter Review |
939 bytes,
patch
|
mwu
:
review+
|
Details | Diff | Splinter Review |
Google obsoleted PIXEL_FORMAT_A_8 in Kitkat, it need to be seperated from older version from compiling error
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8358276 -
Flags: review?(pchang)
Attachment #8358276 -
Flags: review?(mwu)
Comment 2•11 years ago
|
||
Comment on attachment 8358276 [details] [diff] [review]
pix-format-a8.diff
Deferring to Sotaro - I don't know how much we care about these formats. If we don't care, we could remove it completely.
Attachment #8358276 -
Flags: review?(mwu) → review?(sotaro.ikeda.g)
Comment 3•11 years ago
|
||
Comment on attachment 8358276 [details] [diff] [review]
pix-format-a8.diff
Review of attachment 8358276 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/ipc/ShadowLayerUtilsGralloc.cpp
@@ +158,3 @@
> case PIXEL_FORMAT_A_8:
> return gfxImageFormatA8;
> +#endif
I just checked the history that these code were added during android porting.
And I didn't see b2g use pixel_format_A_8 before. Maybe it is good to remove this.
Comment 4•11 years ago
|
||
I never saw pixel_format_A_8 is used in Android. It could be removed.
Comment 5•11 years ago
|
||
Actually, b2g phone's(buri) gralloc hal does not support pixel_format_A_8. During developing Bug 946720, some patch unintentionally tried to create pixel_format_A_8 as gfx mask layer. But gralloc hal failed to create it.
Assignee | ||
Comment 6•11 years ago
|
||
Removed all case handling of PIXEL_FORMAT_A8 which relative to Kitkat's change.
Attachment #8358276 -
Attachment is obsolete: true
Attachment #8358276 -
Flags: review?(sotaro.ikeda.g)
Attachment #8358276 -
Flags: review?(pchang)
Attachment #8359022 -
Flags: review?(sotaro.ikeda.g)
Attachment #8359022 -
Flags: review?(pchang)
Updated•11 years ago
|
Attachment #8359022 -
Flags: review?(pchang) → review+
Comment 8•11 years ago
|
||
Comment on attachment 8359022 [details] [diff] [review]
a8-obsoleted.diff
Looks good. A8 isn't supported by gralloc anyway. Please land it asap.
Attachment #8359022 -
Flags: review?(sotaro.ikeda.g) → review+
Updated•11 years ago
|
Summary: [Display][gonk-kk] The obsoleted pixel format - PIXEL_FORMAT_A_8 need to seperated → [Display][gonk-kk] remove obsolete code trying to use PIXEL_FORMAT_A_8 with gralloc
Updated•11 years ago
|
Assignee: nobody → schiu
Comment 9•11 years ago
|
||
Comment 10•11 years ago
|
||
Hi mwu, sorry had to backout this change because of merge conflicts from mozilla-central to b2g-inbound in regard of the files changes by this push and in order to make the merge i had to backout this changeset
Comment 11•11 years ago
|
||
This was trivial to rebase, so I went ahead and re-landed it.
https://hg.mozilla.org/integration/b2g-inbound/rev/d0b6a2d398b6
Comment 12•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3 C2/1.4 S2(17jan)
Comment 13•11 years ago
|
||
The patch missed to remove one PIXEL_FORMAT_A_8.
https://hg.mozilla.org/mozilla-central/file/d0b6a2d398b6/gfx/layers/opengl/GrallocTextureClient.cpp#l271
Comment 14•11 years ago
|
||
Can you do a follow-up?
Assignee | ||
Comment 15•11 years ago
|
||
I am very sorry for missing the last case in GrallocTextureClient.cpp, and just uploaded the patch.
Attachment #8360265 -
Flags: review?(mwu)
Updated•11 years ago
|
Attachment #8360265 -
Flags: review?(mwu) → review+
Updated•11 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 16•11 years ago
|
||
Comment 17•11 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Flags: needinfo?(schiu)
Updated•11 years ago
|
Flags: needinfo?(schiu)
You need to log in
before you can comment on or make changes to this bug.
Description
•