Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i965: fix assertion failure caused by commit ↵ | Xiang, Haihao | 2008-02-25 | 1 | -0/+3 |
| | | | | dd1d66fc4ab5d7064113a2017a431c3461598b91. | ||||
* | intel: Merge intel_context.c from i915 and i965. | Kristian Høgsberg | 2008-02-22 | 2 | -831/+14 |
| | |||||
* | Merge {i915,i965}/intel_context.h as intel/intel_context.h | Kristian Høgsberg | 2008-02-22 | 5 | -454/+7 |
| | |||||
* | Use drm_i915_sarea instead of drmI830Sarea and remove i830_common.h | Alan Hourihane | 2008-02-22 | 2 | -11/+10 |
| | |||||
* | fix compile for previous commit | Zou Nan hai | 2008-02-19 | 1 | -1/+1 |
| | |||||
* | [i965] fix broken glsl texdemo1 | Zou Nan hai | 2008-02-19 | 1 | -1/+8 |
| | |||||
* | i965: don't swizzle fogcoord if FogOption is FOG_NONE. | Xiang, Haihao | 2008-02-15 | 1 | -0/+5 |
| | | | | fix #10788 issue on 965. | ||||
* | i965: use setup attributes as inputs when allocating registers | Xiang, Haihao | 2008-02-14 | 3 | -3/+4 |
| | | | | for WM payload. fix #10767 | ||||
* | [i965] flip point sprite | Zou Nan hai | 2008-02-14 | 1 | -2/+2 |
| | |||||
* | [i965] gl_FrontFacing support | Zou Nan hai | 2008-02-14 | 1 | -0/+30 |
| | |||||
* | i965: remove unused hal hooks | Dave Airlie | 2008-02-14 | 5 | -114/+0 |
| | | | | These don't appear to have ever been used. | ||||
* | [965] Fix ARB_occlusion_query from intel_screen.c merge. | Eric Anholt | 2008-02-13 | 1 | -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 Anholt | 2008-02-13 | 1 | -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 Anholt | 2008-02-12 | 2 | -33/+12 |
| | |||||
* | [965] Flush icache on new batch, not just new context. | Eric Anholt | 2008-02-07 | 1 | -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 #14165 | Xiang, Haihao | 2008-02-05 | 1 | -1/+2 |
| | |||||
* | [965] Convert brw_draw_upload to managing dri_bos, not gl_buffer_objects. | Eric Anholt | 2008-02-04 | 4 | -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 Anholt | 2008-02-04 | 1 | -24/+0 |
| | |||||
* | [965] Move temporary vbo array storage into the function using it. | Eric Anholt | 2008-02-04 | 2 | -38/+25 |
| | |||||
* | [965] Remove dead brw_vertex_element members. | Eric Anholt | 2008-02-04 | 2 | -5/+0 |
| | |||||
* | [965] Add a wrapper around interleaved copy_array_to_vbo_array for profiling. | Eric Anholt | 2008-02-04 | 1 | -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 Anholt | 2008-02-04 | 1 | -13/+9 |
| | |||||
* | [965] Replace VEP/VBP state structures with inline batch emits. | Eric Anholt | 2008-02-04 | 2 | -67/+66 |
| | |||||
* | i965: fix potential NULL pointer dereference. The third region | Xiang, Haihao | 2008-02-03 | 1 | -0/+3 |
| | | | | isn't created at all for 965 | ||||
* | [965] Fix indentation. | Eric Anholt | 2008-02-01 | 1 | -6/+6 |
| | |||||
* | [965] Replace XXX comment about constant swizzle with an assert. | Eric Anholt | 2008-02-01 | 2 | -2/+2 |
| | |||||
* | [965] Fix some indentation in brw_vs_tnl.c. | Eric Anholt | 2008-02-01 | 1 | -6/+6 |
| | |||||
* | i965: Don't emit state if fall back to software rendering. fix #14116 | Xiang, Haihao | 2008-02-01 | 1 | -2/+11 |
| | |||||
* | [i965] renable regative rhw test | Zou Nan hai | 2008-01-31 | 3 | -16/+12 |
| | |||||
* | i965: new integrated graphics chipset support | Xiang, Haihao | 2008-01-29 | 22 | -70/+245 |
| | |||||
* | i965: valid message length includes message header. | Xiang, Haihao | 2008-01-25 | 1 | -1/+1 |
| | |||||
* | i965: re-define the type of reg.loopcount. | Xiang, Haihao | 2008-01-25 | 1 | -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 Anholt | 2008-01-19 | 1 | -9/+14 |
| | |||||
* | [965] Do a little bit rotation in state hash to reduce collisions. | Eric Anholt | 2008-01-18 | 1 | -2/+16 |
| | | | | This was around 3% improvement in OA. | ||||
* | [intel] Make the no_rast option be standard driconf instead of INTEL_NO_RAST. | Eric Anholt | 2008-01-17 | 1 | -1/+1 |
| | |||||
* | [965] Fix whitespace in c9b1fef0c9c5018efd825c42782f19ad0618696a | Eric Anholt | 2008-01-17 | 1 | -4/+4 |
| | |||||
* | [965] Fix potential segfaults from bad realloc. | Eric Anholt | 2008-01-17 | 1 | -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 state | Xiang, Haihao | 2008-01-17 | 1 | -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 Anholt | 2008-01-16 | 2 | -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 Anholt | 2008-01-16 | 1 | -4/+3 |
| | |||||
* | [965] Fix the type of alpha_ref in CC key, fixing ppracer rendering. | Eric Anholt | 2008-01-16 | 1 | -1/+1 |
| | |||||
* | i965: fix an assert fail in brw_new_batch | Zou Nan hai | 2008-01-15 | 1 | -2/+4 |
| | |||||
* | [965] Force a new vertex upload buffer at new batch time. | Eric Anholt | 2008-01-14 | 2 | -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 Anholt | 2008-01-10 | 1 | -4/+4 |
| | |||||
* | [965] Improve performance by allocating CURBE buffers a page at a time. | Eric Anholt | 2008-01-10 | 3 | -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 Anholt | 2008-01-10 | 1 | -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 Anholt | 2008-01-10 | 10 | -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 #14002 | Xiang, Haihao | 2008-01-10 | 1 | -2/+3 |
| | |||||
* | i965: fix segfault caused by commit e131c46b20241737ceba4856dbe01dcca6dd2c03. | Xiang, Haihao | 2008-01-10 | 1 | -15/+15 |
| | |||||
* | [965] Allow more than one draw_prims per batchbuffer. | Eric Anholt | 2008-01-09 | 3 | -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. |