summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-06-09shuffle some code to make some assertions in the _savage_texstore_a111xxxx ↵Roland Scheidegger
functions compile without error...
2006-06-08check for invalid mode in glBegin(), bug 7142Brian Paul
2006-06-08include tnl/tnl.h for _tnl_program_string()Tilman Sauerbeck
2006-06-08mark ARL operand as scalar (Roland Scheidegger)Tilman Sauerbeck
2006-06-08struct op_names: get rid of the 'output operands' field as it's not used ↵Tilman Sauerbeck
(Roland Scheidegger)
2006-06-08Improve slightly wrong CMP_SRCS test to avoid unencessary instructions. ↵Roland Scheidegger
Clean up the r200 vertex program code a bit.
2006-06-06prevent possible program mix up with sw vps (Roland Scheidegger)Aapo Tahkola
2006-06-06prevent run_arb_vertex_program from running tnl programs unless ↵Aapo Tahkola
ctx->_MaintainTnlProgram is set
2006-06-06make sure tex format is supported.Aapo Tahkola
2006-06-06various fixes (Roland Scheidegger)Aapo Tahkola
2006-06-03Added simple lookup_bufferobj() function to wrap the _mesa_HashLookup() callBrian Paul
and cast. Simplifies the code a little bit elsewhere.
2006-06-03updates for using libdrm (Hanno Bock)Brian Paul
2006-06-02minor clean-upsBrian Paul
2006-06-02implement arb_vertex_program in hw for r200. Code contains still some hacks, ↵Roland Scheidegger
generic attribs cause a fallback, but otherwise it seems to work quite well. Passes all glean vertProg1 tests with the exception of the degnerated LIT case (which is a hw limitation), as well as runs the r200 render path of doom3/quake4 (1.1 patch needed for quake4). The code is heavily borrowed from the r300 driver as vertex programs encoding is almost identical. arb_vertex_program is not yet announced by default and still needs to be enabled via driconf.
2006-06-02set per-context GL_DRAW_BUFFER state regardless of currently bound FBOBrian Paul
2006-06-02fix depth-component test to allow rectangular texturesBrian Paul
2006-06-02remove code dealing with drmMinor version < 6 since all radeon drivers ↵Roland Scheidegger
request at least drmMinor 6 anyway.
2006-06-01retry on EBUSY instead of EAGAIN in radeonWaitIrq (it appears this was the ↵Roland Scheidegger
intention as drm seems to never return EAGAIN) in all radeon drivers.
2006-06-01Fix extended swizzling in vertex programs by introducing special swizzle ↵Roland Scheidegger
instruction, extend the 2 bit rsw field to 3 bit like used in other places. While here, also fix up rsw (negation), dph and try to fix up rsq with negative values (doesn't work, bug seems elsewhere) in the sse codegen code.
2006-05-31SWZ is nearly identical to MOV. the difference is that SWZ supports ↵Tilman Sauerbeck
per-component negation, which MOV doesn't. as that's handled transparently, we can use the same code for them.
2006-05-31pass src->NegateBase as-is in t_src() now, as the flags are equivalent to ↵Tilman Sauerbeck
r300's VSF_FLAGs now
2006-05-31Added DirectFB GLUT implementation.Claudio Ciccani
2006-05-31Fixed bug with multiple contexts.Claudio Ciccani
Added support for ARGB4444 and ARGB2554. Added hardware accelerated Clear().
2006-05-30Define new NEGATE_* tokens for setting the src register's NegateBase field.Brian Paul
Before, we were using GL_TRUE/GL_FALSE in a few places. Note: only the SWZ instruction can negate individual components.
2006-05-30remove redundant 'const'Brian Paul
2006-05-30free convolved image / fix mem leak (bug 7077)Brian Paul
2006-05-30minor code cleanup, no actual changesTilman Sauerbeck
2006-05-30don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, ↵Tilman Sauerbeck
which is actually handled
2006-05-30Remove not needed forward declaration.Michal Krol
2006-05-29don't do the check for >= MAX_VERTEX_PROGRAM_ATTRIBS twice, it's already ↵Tilman Sauerbeck
done in parse_generic_attrib_num()
2006-05-29generic attribute 0 wasn't handled correctly (Jesse Allen)Brian Paul
2006-05-27fix some whitespace in previous commitRoland Scheidegger
2006-05-27preparation for r200 hw vertex programs. Increase R200_CMD_BUF_SZ to 16k ↵Roland Scheidegger
instead of 8k (the reasons why it was exactly 8k are unclear). Add register defines, sanity code, fix potential issue with wrong statechange order when disabling fragment programs.
2006-05-24The ctx->_TexEnvProgram that's allocated in update_state() doesn't seem toBrian Paul
be needed (it's set in texenvprogram.c) and is a memory leak according to valgrind. Disable with #if 0 / #endif
2006-05-24Roll _mesa_free_parameters() into calling function (the only caller).Brian Paul
Replace assert(0) with _mesa_warning(). Use new _mesa_align_realloc() function. New comments, clean-ups.
2006-05-24fix a small memory leak in _mesa_add_state_reference()Brian Paul
2006-05-24added _mesa_align_realloc()Brian Paul
2006-05-24use GLbitfield for StateFlags, improved commentsBrian Paul
2006-05-23Add const qualifiers in a number of places.Brian Paul
2006-05-23init mask=0 to silence warningBrian Paul
2006-05-23make mgaSetFence() and mgaWaitFence() staticBrian Paul
2006-05-23prototype i915_udpate_fog() to silence warningBrian Paul
2006-05-23In cache_item(), there was sizeof(void) expression.Brian Paul
Replace void *key parameter with const struct state_key *
2006-05-22GL_INDEX_OFFSET didn't work with CI->RGB mappings.Brian Paul
Added some const qualifiers.
2006-05-22memory usage fixes for glean/conform, use a better hash functionKeith Whitwell
2006-05-22Fix typoKeith Whitwell
2006-05-22Better caching for texenv programs.Keith Whitwell
Initialize some values correctly.
2006-05-22Speedup the venerable mm.[ch] allocator with doubly linked lists and aKeith Whitwell
separate list of free segments.
2006-05-20In gl_texture_image, replace ImageStride with an ImageOffsets array.Brian Paul
Some hardware lays out 3D mipmaps in a manner that can't be expressed with a simple image stride. The ImageOffsets array is allocated and initialized to typical defaults in the _mesa_init_teximage_fields() function. If needed, a driver will then have to replace these offsets. TexStore and TexelFetch routines updated to use offsets array.
2006-05-20remove some redundant functions, fix-up reference countingBrian Paul