In a conversation yesterday, the question of which is more important, D2D or accelerated layers, came up. First, I'm not sure knowing the answer would change our resourcing, but maybe someone will produce an argument that would call for a change. I know the comparison may not be fair. Still, if you had to choose one over the other, who wins? I'm trying to optimize our efforts here, and knowing the tradeoffs usually helps.
For a bit of context see (had Joe use the JS Team's page as a starting point here, to give credit where credit is due):
https://wiki.mozilla.org/Platform/GFX/HardwareAcceleration/PathToFirefox4
There's several cases there we've overlapping resources (Bas!), and there's really no room at all in the schedule.
What do people think?
Sincerely,
Damon
It seems to me that accelerated layers is almost a requirement for Fennec
2.0. Are we talking about accelerating Windows layers specifically, or
accelerating layers in general and on Mobile?
On the other hand, on Windows can we even have accelerated layers without
the driver prep work that D2D implies?
--BDS
I think Damon's talking about accelerating desktop (more than just
Windows, though Windows is our largest platform) layers. GLES
accelerated layers on mobile are definitely going to be done, but they
also have a slightly different schedule than desktop Firefox.
> On the other hand, on Windows can we even have accelerated layers
> without the driver prep work that D2D implies?
Yes. While Bas has made some changes recently that make Direct2D and
Direct3D9 play nicely together, that simply makes it possible for us to
choose one, the other, or both; they are independent.
Joe
>> On the other hand, on Windows can we even have accelerated layers without
>> the driver prep work that D2D implies?
>
> Yes. While Bas has made some changes recently that make Direct2D and
> Direct3D9 play nicely together, that simply makes it possible for us to
> choose one, the other, or both; they are independent.
Do they both require driver/card whitelist/blacklists? Or is the layer
acceleration (using D3D9) something we can turn on across the board?
--BDS
Fennec is entirely depending on accelerated layers for our next
release.
This is correct. You can't really compare the D2D vs general HW
accel'd compositing -- they address different issues and effect
different platforms. Fennec requires hw accel compositing for 2.0 and
it needs to be turned on by default in the next 3 weeks or so. Next
code freeze is Sept 7.
stuart
Almost certainly! We have no plan of doing that, though patches will be
gratefully accepted!
Joe