> I've been working in the function ui_polygon implementation which, together > with this diff > > --- a/libfreerdp/capabilities.c > +++ b/libfreerdp/capabilities.c > > - orderSupport[NEG_POLYGON_SC_INDEX] = > (rdp->settings->polygon_ellipse_orders ? 1 : 0); > - orderSupport[NEG_POLYGON_CB_INDEX] = > (rdp->settings->polygon_ellipse_orders ? 1 : 0); > + orderSupport[NEG_POLYGON_SC_INDEX] = 1; > + orderSupport[NEG_POLYGON_CB_INDEX] = 1; > > can make freerdp rendering significantly faster in some cases. > > The problem is: I don't know where should I set > settings->polygon_ellipse_orders to TRUE (this field is 0 by default and is > not set directly in the code, only through a memset). Should it be a command > line option? Or it could be set hard coded? > > I'd appreciate any opinions
The polygon functions were off by default because the ui_poly* functions were incomplete. I don't think they can be hard coded on in capabilities.c because some ui's don't have much(or no) polygon support. I think they can default on in the X11 ui(the main one). You can edit X11/xfreerdp.c function set_default_params to make them on by default in the X11 ui. Jay ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Freerdp-devel mailing list Freerdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel