Bug 18754

Summary: [clutter] Querying the GLX_BIND_TO_MIPMAP_TEXTURE_EXT attribute returns -1 for all fbconfigs
Product: Mesa Reporter: bob <bob>
Component: Drivers/DRI/i965Assignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: haihao.xiang
Version: 7.0.3   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 18841    
Attachments: glxinfo that queries the GLX_BIND_TO_MIPMAP_TEXTURE_EXT fbconfig attribute

Description bob@o-hand.com 2008-11-28 06:33:08 UTC
Created attachment 20665 [details]
glxinfo that queries the GLX_BIND_TO_MIPMAP_TEXTURE_EXT fbconfig attribute

In Clutter we are querying the GLX_BIND_TO_MIPMAP_TEXTURE_EXT fbconfig attribute to determine if we can using mipmapping + texture from pixmap. It seems with my Intel i965 driver this returns -1 for all fbconfigs. As I understand it, this should be a boolean value, and if I query the attribute with other drivers I get back either 0 or 1 for all fbconfigs.

Attached is a modified glxinfo that prints the value of the GLX_BIND_TO_MIPMAP_TEXTURE_EXT for all fbconfigs.
Comment 1 zhao jian 2008-12-22 00:28:04 UTC
I tested with the attached glxinfo on gm45, and it all returns 0 both with EXA/UXA/UXA with xcompmgr.

Host:           gm45
Arch:           i386
OSD:            Fedora release 10 (Cambridge)
Kernel:         2.6.28-rc8
Libdrm: (master)0243c9f801a35de3465a0321c02f18a4d07ce5b8
Mesa: (intel-2008-q4)f96baeaac3ef41260ac3975750627ece073fdce0
Xorg: 7.2
Xserver: (server-1.6-branch)32e81074b967716865aef08b66ec29caf0fec2c5
Xf86_video_intel: (xf86-video-intel-2.6-branch)83f3c376b5942e134047a220e6e5f2432ffc492c
GEM_kernel:       (for-airlied)0fbdb7c9455a05eb89f358f0eb66fb8ab094a0c5
Comment 2 Gordon Jin 2008-12-22 04:27:47 UTC
So I'm closing this.

Bob, we are using Q4 rc2 package. If you still see this problem with the latest code, please reopen.

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.