Bug 11261 - RenderSetPictureClipRectangles bug
Summary: RenderSetPictureClipRectangles bug
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.2 (2007.02)
Hardware: All All
: medium major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: xorg-7.3
  Show dependency treegraph
 
Reported: 2007-06-13 15:38 UTC by Matthieu Herrb
Modified: 2007-08-01 10:05 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Test program showing the bug (4.71 KB, text/plain)
2007-06-13 15:39 UTC, Matthieu Herrb
no flags Details
proposed patch (465 bytes, patch)
2007-06-13 15:40 UTC, Matthieu Herrb
no flags Details | Splinter Review

Description Matthieu Herrb 2007-06-13 15:38:33 UTC
xterm version 225 (and probably other applications) use XftDrawSetClipRectangles() by default to limit the areas in which text is drawn. 
When running xterm-255 on a big endian machine, with a DISPLAY on a little endian machine, no text is displayed. 

The attached test program demonstrates the problem. Just run it on mixed endianess client/server combinaison. 

A detailled analysis of the problem shows that SProcRenderSetPictureClipRectangles fails to swap the xOrigin and yOrigin members of the X request.
Comment 1 Matthieu Herrb 2007-06-13 15:39:42 UTC
Created attachment 10303 [details]
Test program showing the bug
Comment 2 Matthieu Herrb 2007-06-13 15:40:18 UTC
Created attachment 10304 [details] [review]
proposed patch
Comment 3 Matthieu Herrb 2007-06-14 15:15:02 UTC
Committed to master


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.