Confirmed users
166
edits
mNo edit summary |
|||
Line 1: | Line 1: | ||
= Introduction = | = Introduction = | ||
Since {{bug|715768}}, Windows 7 and Vista have been rendering through a Thebes wrapper to the Direct2D backend of our new 2D API. Unfortunately, that means most of the benefit from our better API is lost to the wrapper. | Since {{bug|715768}}, Windows 7 and Vista have been rendering through a Thebes wrapper to the Direct2D backend of [[Platform/GFX/Moz2D|our new 2D API]]. Unfortunately, that means most of the benefit from our better API is lost to the wrapper. | ||
Therefore, we should start writing code that uses the API directly, conditioned on a gfxContext actually wrapping a DrawTarget. | Therefore, we should start writing code that uses the API directly, conditioned on a gfxContext actually wrapping a DrawTarget. | ||
Line 10: | Line 10: | ||
Of special note: backend-specific types (e.g. DrawTargetCairo) are '''not exposed''' to consumer code. You can query a backend for its type, but you cannot downcast it. | Of special note: backend-specific types (e.g. DrawTargetCairo) are '''not exposed''' to consumer code. You can query a backend for its type, but you cannot downcast it. | ||
= Overview of what is involved = | |||
See [http://mozillagfx.wordpress.com/2013/08/21/looking-for-a-good-first-place-to-contribute-to-gecko-gfx/ Looking for a good first place to contribute to Gecko gfx?] for a good summary of the kind of changes involved and tips on how to get started. | |||
= Conversion opportunities = | = Conversion opportunities = |