[PATCH 4/9] d2d1: Add a factory reference to effect context.