On Wednesday 2015-11-25 12:49 +1300, Robert O'Callahan wrote:
> On Wed, Nov 25, 2015 at 11:59 AM, Nicholas Nethercote <
> n.netherc...@gmail.com> wrote:
> 
> > On Mon, Nov 23, 2015 at 8:14 PM, Robert O'Callahan <rob...@ocallahan.org>
> > wrote:
> > >>
> > >> One major remaining Moz2Dification step is the conversion of thebes
> > >> types such as gfxSize, gfxPoint, gfxRect, and gfxMatrix to their Moz2D
> > >> equivalents.
> > >
> > > I think for now we should focus on replacing usage of gfxContext with
> > > DrawTarget. I think that's more important than unifying those types.
> >
> > Why is that more important? (Not doubting, just curious.)
> >
> 
> It actually reduces run-time overhead. Also, the gfxContext API is
> significantly different to the DrawTarget API so eliminating it reduces the
> knowledge burden significantly.

Presumably it's equally important to replace the remaining
nsRenderingContext usage with DrawTarget?

(nsRenderingContext was the previous API before gfxContext.)

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to