aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.c
Commit message (Collapse)AuthorAgeFilesLines
* intel: Same pixel function init for everyone now.Eric Anholt2008-06-241-8/+0
|
* i965: use _Current pointer instead of Current pointer.Xiang, Haihao2008-02-291-19/+1
| | | | fix double free issue(bug#14710). It also corrects glsl/bitmap demo behavior.
* intel: Always use intelInitExtensions() for initializing extensions.Kristian Høgsberg2008-02-271-15/+0
|
* i965: Setup framebuffer texture in meta_draw_region.Kristian Høgsberg2008-02-261-2/+0
| | | | | | | With DRI2 we there is no screen region until a drawable is bound to the context. Set up the framebuffer texture in meta_draw_region instead which should also handle the case where the draw region changes as a result of resizing a redirected window or resizing the screen.
* intel: Add missing include file to silence last couple of warnings.Kristian Høgsberg2008-02-251-0/+1
|
* i965: fix assertion failure caused by commit ↵Xiang, Haihao2008-02-251-0/+3
| | | | dd1d66fc4ab5d7064113a2017a431c3461598b91.
* intel: Merge intel_context.c from i915 and i965.Kristian Høgsberg2008-02-221-0/+13
|
* [965] Replace the state cache suballocator with direct dri_bufmgr use.Eric Anholt2007-12-141-2/+0
| | | | | | | | | | | | | | | | | | | | | | | The user-space suballocator that was used avoided relocation computations by using the general and surface state base registers and allocating those types of buffers out of pools built on top of single buffer objects. It also avoided calls into the buffer manager for these small state allocations, since only one buffer object was being used. However, the buffer allocation cost appears to be low, and with relocation caching, computing relocations for buffers is essentially free. Additionally, implementing the suballocator required a don't-fence-subdata flag to disable waiting on buffer maps so that writing new data didn't block on rendering using old data, and careful handling when mapping to update old data (which we need to do for unavoidable relocations with FBOs). More importantly, when the suballocator filled, it had no replacement algorithm and just threw out all of the contents and forced them to be recomputed, which is a significant cost. This is the first step, which just changes the buffer type, but doesn't yet improve the hash table to not result in full recompute on overflow. Because the buffers are all allocated out of the general buffer allocator, we can no longer use the general/surface state bases to avoid relocations, and they are set to 0 instead.
* i965: update RefCount when using Vertex/Fragment program.Xiang, Haihao2007-11-281-0/+2
| | | | It makes quake4-demo works well on 965.
* [965] Replace 965 texture format code with common code.Eric Anholt2007-11-201-1/+0
| | | | | The only functional difference should be that 965 now gets the optimization where textures default to 16bpp when the screen is 16bpp.
* Merge branch '965-glsl'Zou Nan hai2007-10-261-0/+27
|\ | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c
| * Only vertex program fix, bypass tnl vertex programZou Nan hai2007-10-081-1/+1
| |
| * fix issue when only fragment shader or vertex shader is usedZou Nan hai2007-09-271-5/+12
| |
| * Use ProgramStringNotifyZou Nan hai2007-07-171-27/+0
| |
| * Initial 965 GLSL supportZou Nan hai2007-04-121-0/+47
| |
* | [965] Remove AUB file support.Eric Anholt2007-09-271-11/+0
|/ | | | | 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.
* Update DRI drivers for new glsl compiler.Brian2007-02-231-1/+1
| | | | | | Mostly: - update #includes - update STATE_* token code
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa ↵Keith Whitwell2007-01-161-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
| * Add accelerated CopyPixels for non-overlapping, 1:1 blits.Eric Anholt2006-11-291-0/+2
| | | | | | | | Submitted by Gary Wong <[email protected]>
* | cleanup code, compiles with vbo changesKeith Whitwell2006-10-311-2/+0
| |
* | checkpoint - remove dead files, otherwise untestedKeith Whitwell2006-10-301-5/+0
|/
* Basic facility for playing back captured aubfiles. Requires a smallKeith Whitwell2006-09-081-0/+8
| | | | | | hack to the drm to disable command verification on the cmd_buffer ioctl. Doesn't exactly replay as commands are normally delivered as batchbuffers but are captured and replayed as commands on the ring.
* Consistent return values from the bm* functions.Keith Whitwell2006-09-071-2/+0
| | | | Get aubfile generation working again.
* Add Intel i965G/Q DRI driver.Eric Anholt2006-08-091-0/+169
This driver comes from Tungsten Graphics, with a few further modifications by Intel.