Closed
Bug 1150381
Opened 9 years ago
Closed 9 years ago
[LayerScope]: Don't showing the same texture in the same frame on LayerScope.
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: vliu, Assigned: vliu)
Details
Attachments
(1 file, 2 obsolete files)
4.40 KB,
patch
|
Details | Diff | Splinter Review |
In some situations, the device will paint the same texture in a frame. This case will also draw twice on Layerscope. This bug intends to come out a patch to remove one of them on Layerscope since we don't need to show it twice.
Assignee | ||
Updated•9 years ago
|
Summary: [LayerScope]: Don't showing the same texture ID in Layerscope in the same frame. → [LayerScope]: Don't showing the same texture in the same frame on LayerScope.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → vliu
Assignee | ||
Comment 1•9 years ago
|
||
Hi Chiajung, As our discussion offline, the proposed patch was attached. Could you have a feedback for the patch? Thanks
Attachment #8587204 -
Flags: feedback?(chung)
Comment 2•9 years ago
|
||
Comment on attachment 8587204 [details] [diff] [review] WIP-1.patch Review of attachment 8587204 [details] [diff] [review]: ----------------------------------------------------------------- I think layer scope may need some refactoring to abstract Session and Frame submitting. That way, we should able to avoid static object like the texture catch ::: gfx/layers/LayerScope.cpp @@ +1376,4 @@ > LayerScopeAutoFrame::LayerScopeAutoFrame(int64_t aFrameStamp) > { > // Do Begin Frame > + SenderHelper::ClearTextureIdList(); Move into BeginFrame would be better.
Comment 3•9 years ago
|
||
Comment on attachment 8587204 [details] [diff] [review] WIP-1.patch Review of attachment 8587204 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me.
Attachment #8587204 -
Flags: feedback?(chung) → feedback+
Assignee | ||
Comment 4•9 years ago
|
||
Hi Chiajung, Thanks for your feedback for my WIP. Based on your suggestion, I rearrange my patch to review. Can you please help me to review my patch?
Attachment #8590587 -
Flags: review?(chung)
Comment 5•9 years ago
|
||
Comment on attachment 8590587 [details] [diff] [review] bug-1150381-fix.patch Review of attachment 8590587 [details] [diff] [review]: ----------------------------------------------------------------- LGTM. Please remove redundant white space before uploading ::: gfx/layers/LayerScope.cpp @@ +1388,5 @@ > void > LayerScopeAutoFrame::BeginFrame(int64_t aFrameStamp) > { > + SenderHelper::ClearTextureIdList(); > + space.
Attachment #8590587 -
Flags: review?(chung) → review+
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to Chiajung Hung [:chiajung] from comment #5) > Comment on attachment 8590587 [details] [diff] [review] > bug-1150381-fix.patch > > Review of attachment 8590587 [details] [diff] [review]: > ----------------------------------------------------------------- > > LGTM. Please remove redundant white space before uploading > > ::: gfx/layers/LayerScope.cpp > @@ +1388,5 @@ > > void > > LayerScopeAutoFrame::BeginFrame(int64_t aFrameStamp) > > { > > + SenderHelper::ClearTextureIdList(); > > + > > space. Thanks for the review. I will remove the space when I land it.
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Vincent Liu[:vliu] from comment #4) > Created attachment 8590587 [details] [diff] [review] > bug-1150381-fix.patch > > Hi Chiajung, > > Thanks for your feedback for my WIP. Based on your suggestion, I rearrange > my patch to review. Can you please help me to review my patch? The first version of patch caused the try server fail since the declaration of List<> can't find its definition in non-Android platform. I tried to change to std::list instead. Talked with review on IRC, and he is fine with this change.
Attachment #8587204 -
Attachment is obsolete: true
Attachment #8590587 -
Attachment is obsolete: true
Assignee | ||
Comment 8•9 years ago
|
||
try server result: https://treeherder.mozilla.org/#/jobs?repo=try&revision=177deec61d4d
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 9•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/7ebc6fb05d55
Keywords: checkin-needed
Comment 10•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7ebc6fb05d55
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•