aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa: SWAP_BUFF support when calling DrawPixels(DEPTH_COMPONENT)Xiang, Haihao2007-03-182-55/+49
| | | | or TexImage(DEPTH_COMPONENT)
* mesa: enhance fxt1_quantize_ALPHA1Xiang, Haihao2007-03-181-33/+44
| | | | If possible, let minCol != maxCol
* i965: fix for FXT1 & S3TC texture formatXiang, Haihao2007-03-181-4/+11
| | | | choose the right mesa texformat for FXT1 & S3TC
* Use _mesa_copy_instructions rather than memcpy in _mesa_insert_mvp_code.Oliver McFadden2007-03-181-2/+1
|
* fix some format conversion bugs in glGetTexImage(), bug 10288Haihao Xiang2007-03-171-0/+19
|
* r300: change vendor string to DRI R300 ProjectDave Airlie2007-03-171-1/+4
|
* Assorted fixes for dealing with zero-size frame/renderbuffers.Brian2007-03-164-35/+51
| | | | | | | | | | In xmesa_check_and_update_buffer_size() handle xmctx==NULL correctly: still call _mesa_resize_framebufer(). If we don't we can wind up in a situation where the framebuffer size is non-zero but an attached renderbuffer size is still initialized to zero. This inconsistancy can later cause problems. Check for zero-size renderbuffers in update_color_draw_buffers() and update_color_read_buffer(). See bug 7205.
* Colortable re-org.Brian2007-03-168-268/+170
| | | | | The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables.
* added a renderbuffer commentBrian2007-03-161-1/+1
|
* added null xmctx check to XMesaResizeBuffers(), bug 7205Mathias Hopf2007-03-161-0/+2
|
* Fixed a minor typo in the comment near _mesa_copy_instructions.Oliver McFadden2007-03-152-3/+3
|
* r300: Added _mesa_copy_instructions.Oliver McFadden2007-03-154-5/+23
|
* r300: Renamed r300_vertexprog.c to r300_vertprog.cOliver McFadden2007-03-152-1/+1
|
* r300: Use _mesa_alloc_instructions/_mesa_init_instructions instead of malloc.Oliver McFadden2007-03-152-14/+11
| | | | | Note that insert_wpos in r300_vertexprog.c is still a little flaky and could be improved.
* r300: Updated R300 to use the new SWIZZLE macros.Oliver McFadden2007-03-152-9/+9
|
* r300: Fixed an unused variable warning and removed some cruft, too.Oliver McFadden2007-03-151-26/+0
|
* r300: Fixed a printf conversion warning.Oliver McFadden2007-03-151-2/+2
|
* r300: Fixed "no previous prototype for 'r300RefillCurrentDmaRegion'" warning.Oliver McFadden2007-03-151-2/+2
|
* added SWIZZLE_XXXX, YYYY, etc. macrosBrian2007-03-152-4/+11
|
* Committed Rune Petersen's fragment.position patch (Bug #10024) plus a few smallOliver McFadden2007-03-154-70/+103
| | | | corrections.
* no-op clear if buffer width or height is zero (bug 7205)Brian2007-03-151-0/+3
|
* add some rb->Data null ptr checks (bug 7205)Brian2007-03-153-3/+5
|
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaBrian2007-03-151-1/+1
|\
| * Fix off by one error in immediate state packet size.Keith Whitwell2007-03-151-1/+1
| |
* | implement byteswapping for all multi-byte types in ↵Brian2007-03-151-20/+17
|/ | | | _mesa_pack_rgba_span_float(), bug 10298
* pixelmap code simplificationBrian2007-03-141-253/+124
|
* Re-org of gl_pixel_attrib struct.Brian2007-03-145-203/+228
| | | | | | | | Reorder fields according to the order in which the pixel transfer operations take place. Improve comments. Move the pixel maps out of gl_pixel_attrib since they're not supposed to be pushed/popped by glPush/PopAttrib. New gl_pixelmap and gl_pixelmaps structs to contain the pixelmaps.
* clear the b->frontxrb->drawable field in xmesa_free_buffer(), see bug 7205Brian2007-03-141-0/+6
|
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaBrian2007-03-1418-38/+151
|\
| * sync up t_vp_build.c brw_vs_tnl.c a bitRoland Scheidegger2007-03-132-20/+19
| | | | | | | | | | | | | | | | Bring over the optimizations for fog and normalized spot dir from t_vp_build.c to brw_vs_tnl.c. Likewise, port a fix for point size calc from brw_vs_tnl.c to t_vp_build.c (use ABS(eyez) instead of -eyez). Leave the now differing point size calcs alone though, not sure what's better (it's basically MOV, ABS, MUL, DP3 vs. ABS, MAD, MAD).
| * enable ARB_vertex_buffer_object for more dri driversRoland Scheidegger2007-03-138-0/+16
| | | | | | | | | | | | | | ARB_vertex_buffer_object looks like a useful extension even for old chips. The drivers should not need any code to be able to use this extension since they just use mesa's vbo code anyway. Newly enabled for i810, mach64, mga, r128, radeon, savage, sis and unichrome.
| * r300: Renamed the CACHE_CTLSTAT values to include UNKNOWN in the name; notOliver McFadden2007-03-134-11/+11
| | | | | | | | enough information is known about them to be sure as to what the values mean.
| * use movdqu instead of movdqa for unaligned load avoiding a segfault (bug 10265)Roland Scheidegger2007-03-131-1/+1
| |
| * Add defines for the values written to R300_RB3D_ZCACHE_CTLSTAT.Oliver McFadden2007-03-133-3/+5
| | | | | | | | | | | | Note that just like the values written to R300_RB3D_DSTCACHE_CTLSTAT these values are really unknown; ideally more reverse engineering should be done to determine what these values mean and when they should be set.
| * Documented the value written for R300_TX_CNTL cache flush.Oliver McFadden2007-03-132-1/+3
| |
| * mesa: _mesa_unpack_imageXiang, Haihao2007-03-131-3/+89
| | | | | | | | | | | | | | 1. take packed pixel data as a component 2. fix for GL_BITMAP when compiling glTexImage, etc into a display list: a. flip byte if lsbFirst is true since DefaultPacking->lsbFirst is false. b. handle SkipPixels
| * Corrected values written to R300_RB3D_DSTCACHE_CTLSTAT to eitherOliver McFadden2007-03-133-4/+4
| | | | | | | | R300_RB3D_DSTCACHE_02 or R300_RB3D_DSTCACHE_0A, rather than hexadecimal values.
| * Guess another unknown register used for R300 pacification.Oliver McFadden2007-03-133-3/+7
| |
| * i915tex: Don't crash when intel_fb->color_rb[i] is NULL.Michel Dänzer2007-03-121-1/+5
| | | | | | | | This can be the case on some systems when running glxinfo.
* | move CLIENT_ID code in xmesa_delete_framebuffer(), see bug 7205Brian2007-03-141-6/+3
|/
* clean-up, simplify _mesa_image_row_stride()Brian2007-03-121-23/+19
|
* take GL_UNPACK_ALIGNMENT into account in _mesa_image_row_stride() for ↵Brian2007-03-121-1/+6
| | | | GL_BITMAP type (bug 10261)
* r200: Simplify r200SetCliprects like radeonSetCliprects in radeon and r300.Alan Swanson2007-03-124-22/+22
|
* r200: Adapt cliprect fixes from r300.Alan Swanson2007-03-123-3/+6
|
* radeon: Adapt cliprect fixes from r300.Alan Swanson2007-03-123-5/+8
|
* fix for bug#10196Xiang, Haihao2007-03-112-2/+16
| | | | | Compute half if LOCAL_VIEWER is enabled and the light is a directional source.
* Guess another unknown register in R300 command buffer initialization. ↵Aapo Tahkola2007-03-114-5/+6
| | | | (Oliver McFadden)
* Renamed some of the unkXXX variables in the command buffer initOliver McFadden2007-03-113-72/+73
| | | | | | | | | | | | ialization code. Note that there are still plenty of actual unknown variables left that should probably be deciphered. There are a number of things incomplete in the driver; the different polygon offset modes (line, point, etc), the other texture filter, texture chroma key, etc. These should probably be fixed in the future, or at least added to the TODO list.
* Fix TEXREL issues.Brian2007-03-102-5/+122
| | | | | Patch submitted by Christoph Brill. See http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml
* check for EXT_blend_equation_separate for 2.0Brian2007-03-101-1/+2
|