Bug 16913 - ClipRectangles on mask ignored if transformation is used
Summary: ClipRectangles on mask ignored if transformation is used
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Carl Worth
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-30 18:31 UTC by Clemens Eisserer
Modified: 2010-05-26 03:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
demo source which illustrates the problem (4.60 KB, text/plain)
2008-07-30 18:31 UTC, Clemens Eisserer
no flags Details
how it should look like (1.50 KB, image/png)
2008-07-30 18:32 UTC, Clemens Eisserer
no flags Details
how it does look (8.08 KB, image/png)
2008-07-30 18:46 UTC, Clemens Eisserer
no flags Details
Updated test case. (3.92 KB, text/x-csrc)
2010-05-26 03:36 UTC, Chris Wilson
no flags Details

Description Clemens Eisserer 2008-07-30 18:31:45 UTC
Created attachment 18017 [details]
demo source which illustrates the problem

When using clip-rectangles and a non-identity transformation on a mask, the clip-rectangles are ignored.

GPU: 945GM
Xorg: 1.4.99.905
Intel-Driver: 2.3.2
Comment 1 Clemens Eisserer 2008-07-30 18:32:24 UTC
Created attachment 18018 [details]
how it should look like
Comment 2 Clemens Eisserer 2008-07-30 18:46:51 UTC
Created attachment 18019 [details]
how it does look
Comment 3 Younes Manton 2008-07-31 16:53:43 UTC
Tried it with latest git*, still broken.

* 89d786435267af58bcecaff206a09b035e666df5
Comment 4 Gordon Jin 2008-08-02 01:49:03 UTC
Carl, do you have interest in this bug?
Comment 5 Carl Worth 2008-08-07 17:19:50 UTC
Thanks for pointing me at this bug, Gordon.

I'll take a look into what's going on.

-Carl
Comment 6 Chris Wilson 2010-05-26 03:36:27 UTC
Created attachment 35863 [details]
Updated test case.

Just tweaked the test case to use the XRenderFormat associated with the DefaultVisual instead of assuming it is RGB24 and similarly to use the depth of the format, etc.
Comment 7 Chris Wilson 2010-05-26 03:40:08 UTC
I get the same [clipped] results on all drivers, not too unsurprising as this should be handled by miComputeCompositeRegion(). So AFAICT this bug is fixed.


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.