Use nearest filter for mobile plugin rendering

RESOLVED FIXED in mozilla9

Status

()

Core
Graphics
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: romaxa, Assigned: romaxa)

Tracking

Trunk
mozilla9
ARM
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 2 obsolete attachments)

(Assignee)

Description

6 years ago
I found that with some recent changes GOOD filtering was enabled by default for all ImageLAyers...
That is not good for video and plugins rendering.
(Assignee)

Comment 1

6 years ago
Created attachment 560835 [details] [diff] [review]
Use nearest filter for video and plugins when compositing not cheap

This is will speedup video rendering in software mode a lot
Assignee: nobody → romaxa
Status: NEW → ASSIGNED
Attachment #560835 - Flags: review?(roc)
Hmm, in the steady state BasicPlanarYCbCrImage::SetData should be prescaling to the right size. Is that not happening?
(Assignee)

Comment 3

6 years ago
Created attachment 560839 [details] [diff] [review]
Use nearest filter for plugins when compositing not cheap

Oh, yep you right, pre-scaling does the right thing for video element.
Looks like I have to consider it in my Media Bridge implementation.
Here is plugins only patch
Attachment #560835 - Attachment is obsolete: true
Attachment #560835 - Flags: review?(roc)
Attachment #560839 - Flags: review?(roc)
Attachment #560839 - Flags: review?(roc) → review+
(Assignee)

Updated

6 years ago
Keywords: checkin-needed

Comment 4

6 years ago
bilinear is not spelled correctly in the comment.
(Assignee)

Comment 5

6 years ago
Created attachment 560859 [details] [diff] [review]
Fixed comment, to PUSH
Attachment #560839 - Attachment is obsolete: true

Comment 6

6 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/9ae43404500d
Keywords: checkin-needed
Target Milestone: --- → mozilla9

Updated

6 years ago
Summary: Use nearest filter for mobile video/plugin rendering → Use nearest filter for mobile plugin rendering

Comment 7

6 years ago
https://hg.mozilla.org/mozilla-central/rev/9ae43404500d
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.