summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-03-17r300: change vendor string to DRI R300 ProjectDave Airlie
2007-03-16Assorted fixes for dealing with zero-size frame/renderbuffers.Brian
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.
2007-03-16Colortable re-org.Brian
The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables.
2007-03-16added a renderbuffer commentBrian
2007-03-16added null xmctx check to XMesaResizeBuffers(), bug 7205Mathias Hopf
2007-03-15silently ignore DeleteProgram/Shader(id=0)Brian
2007-03-15in _mesa_GetColorTable, return silently if table size is 0Brian
2007-03-15Fixed a minor typo in the comment near _mesa_copy_instructions.Oliver McFadden
2007-03-15r300: Added _mesa_copy_instructions.Oliver McFadden
2007-03-15r300: Renamed r300_vertexprog.c to r300_vertprog.cOliver McFadden
2007-03-15r300: Use _mesa_alloc_instructions/_mesa_init_instructions instead of malloc.Oliver McFadden
Note that insert_wpos in r300_vertexprog.c is still a little flaky and could be improved.
2007-03-15r300: Updated R300 to use the new SWIZZLE macros.Oliver McFadden
2007-03-15r300: Fixed an unused variable warning and removed some cruft, too.Oliver McFadden
2007-03-15r300: Fixed a printf conversion warning.Oliver McFadden
2007-03-15r300: Fixed "no previous prototype for 'r300RefillCurrentDmaRegion'" warning.Oliver McFadden
2007-03-15added SWIZZLE_XXXX, YYYY, etc. macrosBrian
2007-03-15Committed Rune Petersen's fragment.position patch (Bug #10024) plus a few smallOliver McFadden
corrections.
2007-03-15no-op clear if buffer width or height is zero (bug 7205)Brian
2007-03-15add some rb->Data null ptr checks (bug 7205)Brian
2007-03-15Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesaBrian
2007-03-15implement byteswapping for all multi-byte types in ↵Brian
_mesa_pack_rgba_span_float(), bug 10298
2007-03-15Fix off by one error in immediate state packet size.Keith Whitwell
2007-03-14pixelmap code simplificationBrian
2007-03-14Re-org of gl_pixel_attrib struct.Brian
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.
2007-03-14s/Tranpose/Transpose/Brian
2007-03-14clear the b->frontxrb->drawable field in xmesa_free_buffer(), see bug 7205Brian
2007-03-14Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesaBrian
2007-03-14move CLIENT_ID code in xmesa_delete_framebuffer(), see bug 7205Brian
2007-03-14continue prev check-in: save ptr to slang_function for SLANG_OPER_CALLBrian
2007-03-14After we've found the slang_function ptr for a SLANG_OPER_CALL node, save ↵Brian
the ptr in the node for reuse. This can save a tremendous amount of time when resolving types in complex expressions. One particular shader was taking several minutes to compile but now compiles almost instantaneoulsy.
2007-03-14make _slang_typeof_function() staticBrian
2007-03-14remove old assertionBrian
2007-03-13more bug fixing, error checkingBrian
2007-03-13fix a number of issues in _mesa_uniform()Brian
2007-03-13remove bogus assertionBrian
2007-03-13document some bug fixes, lots of new featuresBrian
2007-03-13fix ctx->Pixel.PostConvolutionScale/Bias subscript bugsBrian
2007-03-13Check for, simplify vec2/3/4(x). Only do call adapting for constructors.Brian
2007-03-13improve literal printingBrian
2007-03-13disable some debug outputBrian
2007-03-13better error msg for undefined function, disable some debug outputBrian
2007-03-13get rid of float_multiply, float_add, float_divideBrian
2007-03-13sync up t_vp_build.c brw_vs_tnl.c a bitRoland Scheidegger
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).
2007-03-13alloc an extra byte in _mesa_ShaderSourceARB() to silence a valgrind warningBrian
2007-03-13be smarter about which fragment attribs are interpolated before running frag ↵Brian
progs
2007-03-13comment about SPAN_* vs FRAG_BIT_* valuesBrian
2007-03-13Check if FRAG_RESULT_COLR is written and update span->interpMask, arrayMask.Brian
Also, fix an assertion.
2007-03-13Shuffle some code around in the emit_tex() and emit_move() instructions.Brian
Note that the inst ptr returned by new_instruction() may become invalid after calling emit_() since the emit functions may allocate new instructions which is done vial realloc(). Also, add some new assertions to try to catch this kind of bug.
2007-03-13enable ARB_vertex_buffer_object for more dri driversRoland Scheidegger
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.
2007-03-13properly compute ctx->Texture._EnabledCoordUnitsBrian