Re: [Freerdp-devel] Issue with polyline

2011-10-12 Thread Marc-André Moreau
On Wed, Oct 12, 2011 at 6:23 PM, Christian Nilsson wrote: > Yes, Tested and everything is drawn and invalidated as I expect it to be. > nice changes, Thanks! > awesome :) > Something to look at some time is also the --gdi sw implementation if > it should work, I have good testcases for this no

Re: [Freerdp-devel] Issue with polyline

2011-10-12 Thread Christian Nilsson
Yes, Tested and everything is drawn and invalidated as I expect it to be. nice changes, Thanks! Something to look at some time is also the --gdi sw implementation if it should work, I have good testcases for this now if its needs testing. On Thu, Oct 13, 2011 at 12:12 AM, Marc-André Moreau wrote:

Re: [Freerdp-devel] Issue with polyline

2011-10-12 Thread Marc-André Moreau
Hi Christian, Just pushed an updated version of the polyline parsing and rendering. The most portable way to do it is to simply not transform the original data. Let me know if it fixes the problem. On Wed, Oct 12, 2011 at 5:38 PM, Christian Nilsson wrote: > Ah yes, never looked on how the data

Re: [Freerdp-devel] Issue with polyline

2011-10-12 Thread Christian Nilsson
Ah yes, never looked on how the data came in, only thought the problem was in the drawing ;) the most portable way is the best - what calls is available and will be used in the windows client? On Wed, Oct 12, 2011 at 11:23 PM, Marc-André Moreau wrote: > Reading more about XDrawLines, I think I un

Re: [Freerdp-devel] Issue with polyline

2011-10-12 Thread Marc-André Moreau
Reading more about XDrawLines, I think I understand more: http://tronche.com/gui/x/xlib/graphics/drawing/XDrawLines.html The current polyline parsing code is converting between relative to absolute coordinates for each point. The original data is given as a first point in absolute coordinates foll

Re: [Freerdp-devel] Issue with polyline

2011-10-12 Thread Christian Nilsson
Ok i think i understand how invalidate works now, and it did not have anything to do with the display problem. Thanks Marc-André for giving me the push to mangle this out. Found that the polygon was never closed. Maybe there is some better X call to do this? For reference I attached images how th

Re: [Freerdp-devel] Issue with polyline

2011-10-12 Thread Marc-André Moreau
I just pushed an improvement for the region invalidation as for CoordModeOrigin, I'll have to look into it On Wed, Oct 12, 2011 at 3:34 PM, Marc-André Moreau < marcandre.mor...@gmail.com> wrote: > > > On Wed, Oct 12, 2011 at 3:25 PM, Christian Nilsson wrote: > >> Hi >> >> When writing new messag

Re: [Freerdp-devel] Issue with polyline

2011-10-12 Thread Marc-André Moreau
On Wed, Oct 12, 2011 at 3:25 PM, Christian Nilsson wrote: > Hi > > When writing new messages in Outlook 2010 I get some graphical problems... > I have not found anything else that uses this? or at least where the > problem is visible in the same way. (taskmgr uses it but draws black > lines on bl

[Freerdp-devel] Issue with polyline

2011-10-12 Thread Christian Nilsson
Hi When writing new messages in Outlook 2010 I get some graphical problems... I have not found anything else that uses this? or at least where the problem is visible in the same way. (taskmgr uses it but draws black lines on black background) What I've detected so far. (or at least i think) all t