On Wed, Dec 9, 2015 at 3:49 PM, Nicholas Nethercote
<n.netherc...@gmail.com> wrote:
>>
>> One interesting thing I found is that a *lot* of the functions that
>> take an nsRenderingContext or gfxContext do so because they end up
>> passing it into text run code -- gfxTextRun uses a gfxContext, via
>> gfxTextRunFactory::Parameters::mContext. However, only a few things
>> from the gfxContext are used by the text run code:

I found a good way to handle this, which let me convert 228
occurrences of gfxContext and nsRenderingContext (~13% of them) in the
tree to DrawTarget. Details in
https://bugzilla.mozilla.org/show_bug.cgi?id=1231550, the patch for
which I just landed on inbound.

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

Reply via email to