Register Two_Point_Conical_Gradient for flattening.

Without being registered, the twopointconical GM fails
when using --pipe or --serialize, since this gradient
will not be flattened/unflattened.
Review URL: https://codereview.appspot.com/6294060

git-svn-id: http://skia.googlecode.com/svn/trunk@4226 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
scroggo@google.com 2012-06-11 16:51:45 +00:00
Родитель 7f7dd73bbd
Коммит db15a420c3
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -2830,4 +2830,5 @@ SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(SkGradientShader)
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(Radial_Gradient) SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(Radial_Gradient)
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(Sweep_Gradient) SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(Sweep_Gradient)
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(Two_Point_Radial_Gradient) SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(Two_Point_Radial_Gradient)
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(Two_Point_Conical_Gradient)
SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END