Bug 11133

Summary: glLogicOp not applied when draw bitmap
Product: Mesa Reporter: WuNian <nian.wu>
Component: Drivers/DRI/i965Assignee: Eric Anholt <eric>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: medium CC: mesa-dev, wei.z.wang
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: test case
i965-bitmap-logicop.diff

Description WuNian 2007-06-04 00:39:29 UTC
Although enable glLogicOp, when draw bitmap, the logicOp do not work at all.

The bug does not exist with i915 driver.
Comment 1 WuNian 2007-06-04 00:41:48 UTC
Created attachment 10170 [details]
test case

Using GL_CLEAR logic operation, the dest pixel color should be (0,0,0).
Comment 2 Eric Anholt 2007-06-21 16:50:09 UTC
Created attachment 10397 [details] [review]
i965-bitmap-logicop.diff

Haven't tested, but this patch ought to fix it.
Comment 3 he jiang 2007-07-04 00:25:24 UTC
It's working now with the patch.
Comment 4 he jiang 2007-07-04 00:46:01 UTC
The patch has not been committed into Mesa source.
Comment 5 Brian Paul 2007-07-04 06:38:32 UTC
I've commited the patch in git.
Comment 6 Adam Jackson 2009-08-24 12:27:02 UTC
Mass version move, cvs -> git

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.