summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/intel_context.h
AgeCommit message (Collapse)Author
2007-11-19[965] Convert DBG macro to use FILE_DEBUG_FLAG like i915.Eric Anholt
2007-10-29Refactor and fix core vblank supportJesse Barnes
Consolidate support for synchronizing to and retrieving vblank counters. Also fix the core vblank code to return monotonic MSC counters, which are required by some GLX extensions. Adding support for multiple pipes to a low level driver is fairly easy, the Intel 965 driver provides simple example code (see intel_buffers.c:intelWindowMoved()). The new code bumps the media stream counter extension version to 2 and adds a new getDrawableMSC callback. This callback takes a drawablePrivate pointer, which is used to calculate the MSC value seen by clients based on the actual vblank counter(s) returned from the kernel. The new drawable private fields are as follows: - vblSeq - used for tracking vblank counts for buffer swapping - vblFlags - flags (e.g. current pipe), updated by low level driver - msc_base - MSC counter from the last time the current pipe changed - vblank_base - kernel DRM vblank counter from the last time the pipe changed Using the above variables, the core vblank code (in vblank.c) can calculate a monotonic MSC value. The low level DRI drivers are responsible for updating the current pipe (by setting VBLANK_FLAG_SECONDARY for example in vblFlags) along with msc_base and vblank_base whenever the pipe associated with a given drawable changes (again, see intelWindowMoved for an example of this). Drivers should fill in the GetDrawableMSC DriverAPIRec field to point to driDrawableGetMSC32 and add code for pipe switching as outlined above to fully support the new scheme.
2007-10-04[965] Replace various alignment code with a shared ALIGN() macro.Eric Anholt
In the process, fix some alignment issues: - Scratch space allocation was aligned into units of 1KB, while the allocation wanted units of bytes, so we never allocated enough space for scratch. - GRF register count was programmed as ALIGN(val - 1, 16) / 16 instead of ALIGN(val, 16) / 16 - 1, which overcounted for val != 16n+1.
2007-09-27[965] Add batchbuffer dumping under INTEL_DEBUG=bat, like 915.Eric Anholt
2007-09-27[965] Remove AUB file support.Eric Anholt
This code existed to dump logs of hardware access to be replayed in simulation. Since we have real hardware now, it's not really needed.
2007-09-12i965: translate shadow compare function into correctXiang, Haihao
internal function to match the EXT_shadow_funs spec. fix bug#11925
2007-08-29i965: store read drawable info in intel_context. Some OpenGLXiang, Haihao
operations are based on read drawable. fix bug#10136.
2007-05-31i965: Add pci info for 965GME/GLE chip.Wang Zhenyu
2007-05-22Replace initInitState() with _mesa_init_driver_state().Brian
2007-02-25Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestlineNian Wu
2007-02-02Add Intel 965GM chipset infoWang Zhenyu
2007-02-02Revert origin crestline pci id patchWang Zhenyu
2007-01-26ARB_Occlusion_query should support multiple query at same timeZou Nan hai
2007-01-24 965 ARB_Occlusion_query fixZou Nan hai
2007-01-181. Fix bug #155Zou Nan hai
2. I notice multiple ARB_occlusion_query should be able to overlap according to spec. 3. Declaring extern variables in a .c file is evil, fix it.
2007-01-06i965: ARB_occlusion_query supportWang Zhenyu
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
2006-12-11ARB_occlusion_query supportWang Zhenyu
2006-12-10adding pci id of CrestlineWang Zhenyu
2006-12-02Structure CopyPixels similarly to i915 do_texture_copypixels, to ease future ↵Gary Wong
unification.
2006-11-29Add accelerated CopyPixels for non-overlapping, 1:1 blits.Eric Anholt
Submitted by Gary Wong <gtw@gnu.org>
2006-10-13Use unsigned long cast for checking pointer alignment, fixes x64 warnings.Keith Whitwell
2006-10-05Accelerate glBitmap with a color expand blit. Nice speedup for demosKeith Whitwell
like 'fire' that display a help message or fps number this way.
2006-09-20remove some dead codeKeith Whitwell
2006-09-20add accelerated glCopyPixels pathKeith Whitwell
2006-09-07Make sure bmBufferOffset is called for all active buffers every timeKeith Whitwell
we render. Currenly requires that some state be re-examined after every LOCK_HARDWARE().
2006-09-06Simplify the immediate and displaylist code. Treat VertexAttrib*ARBKeith Whitwell
as non-aliasing and cope with the >32 attributes that result, taking materials into account.
2006-08-09Add Intel i965G/Q DRI driver.Eric Anholt
This driver comes from Tungsten Graphics, with a few further modifications by Intel.