Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace usage of DRM_BO_FLAG_MEM_TT in intel_regions.c with local/cached. | Eric Anholt | 2008-02-04 | 1 | -2/+8 |
| | | | | | | In addition to potentially binding when it was about to be mapped anyway, failure to use CACHED_MAPPED means eating a full wbinvd on validate. Thanks to airlied for catching this. | ||||
* | Allow first != 0 in mesa CVA handling, and add more error checking. | Eric Anholt | 2008-02-04 | 3 | -9/+27 |
| | |||||
* | [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 |
| | |||||
* | r300: fix isosurf on rs690 | Dave Airlie | 2008-02-04 | 1 | -2/+9 |
| | |||||
* | 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 |
| | |||||
* | Revert "intel: don't apply the relocation optimization if a target" | Eric Anholt | 2008-02-01 | 1 | -14/+4 |
| | | | | | | | | | This reverts commit e2cb905bc6e23eaafaeeb2abdc9480e70959ee3f. It was a reversion of an optimization hidden as otherwise. pre_target_buf_handle was always NULL, so the optimization was never enabled, rather than fixing the important optimization (resulting in 25-50% performance loss). | ||||
* | [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 |
| | |||||
* | mesa: re-define NEED_SECONDARY_COLOR. fix #14310. | Xiang, Haihao | 2008-02-02 | 1 | -0/+2 |
| | |||||
* | [intel] fix for previous fix | Zou Nan hai | 2008-02-01 | 1 | -4/+4 |
| | |||||
* | [intel] use _mesa_copy_rect for upload compressed texture, | Zou Nan hai | 2008-02-01 | 3 | -2/+22 |
| | | | | this fix bad texture issue in some games(UT and quake). | ||||
* | 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 |
| | |||||
* | intel: don't apply the relocation optimization if a target | Xiang, Haihao | 2008-01-31 | 1 | -4/+14 |
| | | | | | | buffer is used for a relocatee in the former relocation process then another target buffer is used for this relocatee at the same offset in the current relocation process. | ||||
* | regenerate glsl library functions | Roland Scheidegger | 2008-01-31 | 1 | -41/+42 |
| | |||||
* | fix w component of glsl vec4 asin | Roland Scheidegger | 2008-01-31 | 1 | -0/+1 |
| | |||||
* | check if fb->Delete is null (bugs 13507,14293) | Brian | 2008-01-30 | 1 | -1/+6 |
| | |||||
* | Add new RV380 pci id | Alex Deucher | 2008-01-29 | 2 | -0/+2 |
| | | | | bug 14289 | ||||
* | i965: new integrated graphics chipset support | Xiang, Haihao | 2008-01-29 | 24 | -75/+259 |
| | |||||
* | r300: add initial rs690 support to Mesa | Dave Airlie | 2008-01-27 | 2 | -1/+22 |
| | | | | | | The rs690 has an rs4xx style vertex-shader less 3D engine. It uses the new r500 output engine though. It also needs a new drm with rs690 support, which is just getting cleaned up. | ||||
* | 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. | ||||
* | Bufmgr cleanup from intel-batchbuffer branch of 2d driver. | Eric Anholt | 2008-01-24 | 3 | -15/+14 |
| | |||||
* | Clean up comments/dead code from relocation buffer change. | Eric Anholt | 2008-01-24 | 1 | -5/+0 |
| | |||||
* | i915: move to using copy from user for relocations | Dave Airlie | 2008-01-24 | 1 | -59/+22 |
| | |||||
* | Assorted patches for miniglx/linux-solo (Gavin Li <[email protected]>) | Brian | 2008-01-23 | 3 | -0/+32 |
| | |||||
* | Fix some issues with glDrawBuffer(GL_NONE), bug 14198 | Brian | 2008-01-22 | 5 | -14/+36 |
| | | | | | Set _ColorDrawBuffers[0] = NULL if no renderbuffers enabled. Check that _ColorDrawBuffers[0] is non-null before dereferencing in a few places. | ||||
* | [intel] Clean up references to screen buffer metrics. | Kristian Høgsberg | 2008-01-22 | 7 | -105/+13 |
| | | | | | | The screen wide info such as pitch and cpp are obsoleted by the FBO changes, so clean up the last few references to those, except for setting up the legacy screen regions. | ||||
* | fix pc vs. gc->ps usage (bug 14197) | Brian | 2008-01-22 | 1 | -4/+4 |
| | |||||
* | [965] Fix WM unit cache keying that broke line stipple and polygon offset. | Eric Anholt | 2008-01-19 | 1 | -9/+14 |
| | |||||
* | [intel] Fix memory leak with fake bufmgr. | Eric Anholt | 2008-01-18 | 1 | -1/+6 |
| | |||||
* | [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] Use a static array for the validation list instead of a linked list. | Eric Anholt | 2008-01-18 | 1 | -167/+119 |
| | | | | | Around 10% of a CPU was being wasted to create the linked list which we threw out immediately after passing it to the kernel. | ||||
* | [intel] Make the no_rast option be standard driconf instead of INTEL_NO_RAST. | Eric Anholt | 2008-01-17 | 3 | -10/+17 |
| | |||||
* | [i915] Fix driver from cliprects changes, and clean up state emission. | Eric Anholt | 2008-01-17 | 6 | -103/+26 |
| | | | | | | | | | | The fix for pageflipping with cliprects ended up causing a batch flush at an inopportune time, which is fixed by moving it up. Additionally, the recovery code for handling batch wraps at bad times is replaced by just checking for the space up front, and using a no_batch_wrap assert like on 965 to make sure that we weren't wrong about how much space that was. | ||||
* | [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 |
| | |||||
* | Fix the compile of disabled DEBUG_PARSING code. | Eric Anholt | 2008-01-15 | 1 | -3/+3 |
| | |||||
* | Bug #13492: Only call ProgramStringNotify if program parsing succeeded. | Eric Anholt | 2008-01-15 | 1 | -2/+2 |
| | | | | | | Wine intentionally tries some out-of-spec programs to test strictness, and calling ProgramStringNotify on the results of a failed program parse resulted in crashes in the 965 driver. |