Closed
Bug 946200
Opened 12 years ago
Closed 12 years ago
Use the new texture client/host with Linux OMTC by default instead of the deprecated textures.
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: nical, Assigned: bjacob)
References
Details
Attachments
(1 file)
|
1.20 KB,
patch
|
nrc
:
review+
|
Details | Diff | Splinter Review |
New textures work better on Linux than their deprecated counterpart. I didn't make them default because close to nobody was using OMTC-Linux but with main-thread GL layers being gone, it's become a different story.
In case this isn't clear, I am not talking about using OMTC by default. Just using the new textures rather than the deprecated ones when OMTC is used.
| Reporter | ||
Comment 1•12 years ago
|
||
Bonus: also use async-video on Linux. async-video is the default for fennec and b2g and is one of the few reasons OMTC is useful at all on desktop (especially as long as we don't has APZC on desktop). It works well on Linux so let's use it.
Assignee: nobody → nical.bugzilla
Attachment #8342348 -
Flags: review?(ncameron)
| Reporter | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Comment on attachment 8342348 [details] [diff] [review]
new textrues with Linux OMTC + async-video
Review of attachment 8342348 [details] [diff] [review]:
-----------------------------------------------------------------
Yay!
::: modules/libpref/src/init/all.js
@@ +4255,5 @@
> // requires off-main-thread compositing.
> pref("layers.async-video.enabled",false);
>
> +#ifdef MOZ_X11
> +// OMTC off by default on Linux, but if activated, use new textures and async-video.
OMTC is kind of on for Linux if HWA is on, at least on nightly. It's just not reflected in the prefs. So, this comment is kind of confusing, I would just remove it.
Attachment #8342348 -
Flags: review?(ncameron) → review+
| Reporter | ||
Comment 4•12 years ago
|
||
try servers had infrastructure issues during the last push so here's another one https://tbpl.mozilla.org/?tree=Try&rev=aa443984f585
FWIW, I flipped the layers.use-deprecated-textures pref locally (to avoid bug 945632), and I'm seeing a bunch of black flashing, I think whenever things with native theme drawing get layerized, or something like that. Not sure if that's a known issue.
... and also random black boxes over PDFs rendered by PDF.js, such as https://wiki.mozilla.org/images/e/e0/SF%2C_1.pdf
Comment 7•12 years ago
|
||
Nical, where is this bug in this picture: https://wiki.mozilla.org/Platform/GFX/textures#Planned_work ?
Flags: needinfo?(nical.bugzilla)
| Reporter | ||
Comment 8•12 years ago
|
||
(In reply to Milan Sreckovic [:milan] from comment #7)
> Nical, where is this bug in this picture:
> https://wiki.mozilla.org/Platform/GFX/textures#Planned_work ?
That would have to be added I guess. This diagram focuses on goals about the "supported OMTC" platforms. Even though Linux is not prioritized for OMTC yet, I'd rather have people use the new textures than the deprecated if they flip the pref, because there are known problems with the deprecated textures, and also because, as we are about to remove deprecated textures code, it just won't work soon.
I can add it to the diagram if you think having people using new textures when they opt in to OMTC on linux is something that should be considered as a dependency of something else. In that case I suppose flipping the pref on Linux would appear as a dependency of "(VI) new textures is the default everywhere"
Flags: needinfo?(nical.bugzilla)
Comment 9•12 years ago
|
||
(In reply to David Baron [:dbaron] (needinfo? me) (UTC-8) from comment #5)
> FWIW, I flipped the layers.use-deprecated-textures pref locally (to avoid
> bug 945632), and I'm seeing a bunch of black flashing, I think whenever
> things with native theme drawing get layerized, or something like that. Not
> sure if that's a known issue.
David, which platform?
Updated•12 years ago
|
Assignee: nical.bugzilla → bjacob
Updated•12 years ago
|
Flags: needinfo?(bjacob)
| Assignee | ||
Updated•12 years ago
|
Flags: needinfo?(bjacob)
| Reporter | ||
Comment 10•12 years ago
|
||
| Reporter | ||
Comment 11•12 years ago
|
||
(In reply to David Baron [:dbaron] (needinfo? me) (UTC-8) from comment #5)
> FWIW, I flipped the layers.use-deprecated-textures pref locally (to avoid
> bug 945632), and I'm seeing a bunch of black flashing, I think whenever
> things with native theme drawing get layerized, or something like that. Not
> sure if that's a known issue.
Sorry about the very late reply, this was a component alpha bug with the new ContentClient that is fixed now.
Comment 12•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in
before you can comment on or make changes to this bug.
Description
•