Bug 14658 - [i915 Occlusion Query] occlusion_query enabled but not actually working
Summary: [i915 Occlusion Query] occlusion_query enabled but not actually working
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
Depends on:
Reported: 2008-02-25 00:14 UTC by Shuang He
Modified: 2008-02-25 17:51 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:

test case (2.09 KB, text/plain)
2008-02-25 00:15 UTC, Shuang He

Note You need to log in before you can comment on or make changes to this bug.
Description Shuang He 2008-02-25 00:14:30 UTC
System Environment:

--Platform: i915

--Architecture(32-bit,64-bit,compatiblity): all

--2D driver:
commit 4a42b01f5ee5a673716d6959dfe0e693b037eb48 

--3D driver:
commit d7cf6a8a697a2fb4da171a36968f65aa0f108b27 

commit 06c968acbf6771d5fed4b12ebd400fea791ea498 

commit d6098db1409e8ee45052920d3acdd3b6f2cb80aa


Bug detailed description:
This issue make glean test case occluQry failed on i915.
OpenGL GL_ARB_occlusion_query seems enabled by following commit, but it's actually not working:

commit 1c718c0d78cf4eae9e02b03a0abbec384db948a6
Author: Alan Hourihane <alanh@tungstengraphics.com>
Date:   Fri Feb 22 00:18:54 2008 +0000

    Use drm_i915_sarea instead of drmI830Sarea and remove i830_common.h

Reproduce steps:
1. start X
2. compile and run attached test case

Current result:
OpenGL GL_ARB_occlusion_query seems enabled by commit 
but it's actually not working

Expected result:
GL_ARB_occlusion_query should work when it's enabled
Comment 1 Shuang He 2008-02-25 00:15:26 UTC
Created attachment 14550 [details]
test case
Comment 2 Kristian Høgsberg 2008-02-25 09:04:48 UTC
Oops, I messed up the advertised extensions when I merged i915/intel_context.c and i965/intel_context.c.  Commit 45a800a2e7eb5d8d87820ef32d60ae912729cbb0 should fix it.  Thanks!
Comment 3 Shuang He 2008-02-25 17:51:50 UTC
verified, thanks

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.