aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
Commit message (Collapse)AuthorAgeFilesLines
* 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-222-831/+14
|
* Merge {i915,i965}/intel_context.h as intel/intel_context.hKristian Høgsberg2008-02-225-454/+7
|
* Use drm_i915_sarea instead of drmI830Sarea and remove i830_common.hAlan Hourihane2008-02-222-11/+10
|
* fix compile for previous commitZou Nan hai2008-02-191-1/+1
|
* [i965] fix broken glsl texdemo1Zou Nan hai2008-02-191-1/+8
|
* i965: don't swizzle fogcoord if FogOption is FOG_NONE.Xiang, Haihao2008-02-151-0/+5
| | | | fix #10788 issue on 965.
* i965: use setup attributes as inputs when allocating registersXiang, Haihao2008-02-143-3/+4
| | | | for WM payload. fix #10767
* [i965] flip point spriteZou Nan hai2008-02-141-2/+2
|
* [i965] gl_FrontFacing supportZou Nan hai2008-02-141-0/+30
|
* i965: remove unused hal hooksDave Airlie2008-02-145-114/+0
| | | | These don't appear to have ever been used.
* [965] Fix ARB_occlusion_query from intel_screen.c merge.Eric Anholt2008-02-131-3/+5
| | | | | It wasn't being initialized at screen setup, so we were getting stub entrypoints even though it was exposed as enabled. Fixes arbocclude mesa demo.
* [intel] Fix 965 rendering with non-TTM by merging intel_ioctl between 915/965.Eric Anholt2008-02-131-200/+1
| | | | | | The 965 path wasn't setting pClipRects for batch submission since it didn't want kernel cliprect handling before. The 915 path also grew the INTEL_NO_HW=1 option for testing just driver overhead.
* [965] Remove stale brw_state_cache.c comment and function export.Eric Anholt2008-02-122-33/+12
|
* [965] Flush icache on new batch, not just new context.Eric Anholt2008-02-071-1/+1
| | | | | This is required since our buffer manager may now move our instruction-containing buffers at any batchbuffer emit.
* i965: adjust the byte order of clear color. fix #14165Xiang, Haihao2008-02-051-1/+2
|
* [965] Convert brw_draw_upload to managing dri_bos, not gl_buffer_objects.Eric Anholt2008-02-044-209/+126
| | | | | This helps us avoid a bunch of mess with gl_client_arrays that we filled with unused data and confused readers.
* [965] Remove dead structure in brw_draw_upload.c.Eric Anholt2008-02-041-24/+0
|
* [965] Move temporary vbo array storage into the function using it.Eric Anholt2008-02-042-38/+25
|
* [965] Remove dead brw_vertex_element members.Eric Anholt2008-02-042-5/+0
|
* [965] Add a wrapper around interleaved copy_array_to_vbo_array for profiling.Eric Anholt2008-02-041-7/+18
| | | | | If compiled with optimization, it shouldn't appear at all, and helps me for now.
* [965] Avoid overloaded use of the term 'input' for clarity.Eric Anholt2008-02-041-13/+9
|
* [965] Replace VEP/VBP state structures with inline batch emits.Eric Anholt2008-02-042-67/+66
|
* i965: fix potential NULL pointer dereference. The third regionXiang, Haihao2008-02-031-0/+3
| | | | isn't created at all for 965
* [965] Fix indentation.Eric Anholt2008-02-011-6/+6
|
* [965] Replace XXX comment about constant swizzle with an assert.Eric Anholt2008-02-012-2/+2
|
* [965] Fix some indentation in brw_vs_tnl.c.Eric Anholt2008-02-011-6/+6
|
* i965: Don't emit state if fall back to software rendering. fix #14116Xiang, Haihao2008-02-011-2/+11
|
* [i965] renable regative rhw testZou Nan hai2008-01-313-16/+12
|
* i965: new integrated graphics chipset supportXiang, Haihao2008-01-2922-70/+245
|
* i965: valid message length includes message header.Xiang, Haihao2008-01-251-1/+1
|
* i965: re-define the type of reg.loopcount.Xiang, Haihao2008-01-251-1/+1
| | | | | avoid some issues such that 1 + (-2) gets a big positive value.
* [965] Fix WM unit cache keying that broke line stipple and polygon offset.Eric Anholt2008-01-191-9/+14
|
* [965] Do a little bit rotation in state hash to reduce collisions.Eric Anholt2008-01-181-2/+16
| | | | This was around 3% improvement in OA.
* [intel] Make the no_rast option be standard driconf instead of INTEL_NO_RAST.Eric Anholt2008-01-171-1/+1
|
* [965] Fix whitespace in c9b1fef0c9c5018efd825c42782f19ad0618696aEric Anholt2008-01-171-4/+4
|
* [965] Fix potential segfaults from bad realloc.Eric Anholt2008-01-171-1/+4
| | | | | C has no order of evaluation restrictions on function arguments, so we attempted to realloc from new-size to new-size.
* i965: always call dri_emit_reloc when creating clip unit stateXiang, Haihao2008-01-171-8/+7
| | | | | | | This fix ensures it gets the starting location of the clip program if a clip unit state is same as a unit which is created when metaops is actived and it doesn't impact metaops because the clip state offset isn't emitted when metaops is actived.
* [965] Fix inversion of SLT/SGE results in vertex programs.Eric Anholt2008-01-162-6/+3
| | | | | | | The WM code had this right, so copy its behavior. This reverts a flipping of the arguments to SLT in brw_vs_tnl which came in with the GLSL code that probably occurred to work around the flipped results, and brings the code back in line with t_vp_build.c.
* [965] Rename depth_mask in CC key to depth_write, since it's a boolean enable.Eric Anholt2008-01-161-4/+3
|
* [965] Fix the type of alpha_ref in CC key, fixing ppracer rendering.Eric Anholt2008-01-161-1/+1
|
* i965: fix an assert fail in brw_new_batchZou Nan hai2008-01-151-2/+4
|
* [965] Force a new vertex upload buffer at new batch time.Eric Anholt2008-01-142-1/+6
| | | | | Otherwise, we could choose to upload into the temporary VBO that we just fired off to the hardware. Good for a 60% OA performance improvement.
* [965] Remove an open-coded memcpy.Eric Anholt2008-01-101-4/+4
|
* [965] Improve performance by allocating CURBE buffers a page at a time.Eric Anholt2008-01-103-9/+33
| | | | | | Since each one is only 64b, and kernel allocations are a page anyway, this lets us reduce buffer allocation by packing many CURBEs into one buffer, for each batchbuffer submitted. Improves openarena performance by around 10%.
* [intel] Only flush batch when changing draw buffers, not every cliprect update.Eric Anholt2008-01-101-0/+1
| | | | The previous code would reference freed memory on window moves.
* [intel] Add more cliprect modes to cover other meanings for batch emits.Eric Anholt2008-01-1010-16/+42
| | | | | | | | | | | | | | | The previous change gave us only two modes, one which looped over the batch per cliprect (3d drawing) and one that didn't (state updeast). However, we really want 4: - Batch doesn't care about cliprects (state updates) - Batch needs DRAWING_RECTANGLE looping per cliprect (3d drawing) - Batch needs to be executed just once (region fills, copies, etc.) - Batch already includes cliprect handling, and must be flushed by unlock time (copybuffers, clears). All callers should now be fixed to use one of these states for any batchbuffer emits. Thanks to Keith Whitwell for pointing out the failure.
* i965: fix bug #14002Xiang, Haihao2008-01-101-2/+3
|
* i965: fix segfault caused by commit e131c46b20241737ceba4856dbe01dcca6dd2c03.Xiang, Haihao2008-01-101-15/+15
|
* [965] Allow more than one draw_prims per batchbuffer.Eric Anholt2008-01-093-7/+17
| | | | | | | | The comment about (vbo)_exec_api.c appeared to be stale, as the VBO code seems to only use non-named VBOs (not actual VBOs) or freshly-allocated VBO data. This brings a 2x speedup to openarena, because we can submit nearly-full batchbuffers instead of many 450-byte ones.