Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Which is more important, D2D or Accelerated Layers?

3 views
Skip to first unread message

Damon Sicore

unread,
Aug 11, 2010, 4:20:03 PM8/11/10
to dev-pl...@lists.mozilla.org
All,

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

Benjamin Smedberg

unread,
Aug 11, 2010, 4:25:59 PM8/11/10
to
On 8/11/10 4:20 PM, Damon Sicore wrote:
> All,
>
> 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.

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

Joe Drew

unread,
Aug 11, 2010, 4:36:26 PM8/11/10
to dev-pl...@lists.mozilla.org
On 2010-08-11 4:25 PM, Benjamin Smedberg wrote:
> On 8/11/10 4:20 PM, Damon Sicore wrote:
>> All,
>>
>> 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.
>
> 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?

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

Benjamin Smedberg

unread,
Aug 11, 2010, 4:59:58 PM8/11/10
to
On 8/11/10 4:36 PM, Joe Drew wrote:

>> 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

Mark Finkle

unread,
Aug 11, 2010, 5:12:52 PM8/11/10
to
On Aug 11, 4:20 pm, Damon Sicore <dsic...@mozilla.com> wrote:
> All,
>
> 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.

Fennec is entirely depending on accelerated layers for our next
release.

stu...@gmail.com

unread,
Aug 12, 2010, 2:04:11 PM8/12/10
to
On Aug 11, 2:12 pm, Mark Finkle <mark.fin...@gmail.com> wrote:
>
> 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

Wan Li

unread,
Aug 13, 2010, 7:17:13 AM8/13/10
to stu...@gmail.com, dev-pl...@lists.mozilla.org
Is it *possible* to add accelerated layers back-ends based on DirectX7 and
OpenGL 1.4?

Joe Drew

unread,
Aug 13, 2010, 11:58:43 AM8/13/10
to dev-pl...@lists.mozilla.org

On 2010-08-13 7:17 AM, Wan Li wrote:
> Is it *possible* to add accelerated layers back-ends based on DirectX7 and
> OpenGL 1.4?

Almost certainly! We have no plan of doing that, though patches will be
gratefully accepted!

Joe

0 new messages