summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* prevent run_arb_vertex_program from running tnl programs unless ↵Aapo Tahkola2006-06-066-16/+19
| | | | ctx->_MaintainTnlProgram is set
* make sure tex format is supported.Aapo Tahkola2006-06-061-1/+2
|
* various fixes (Roland Scheidegger)Aapo Tahkola2006-06-061-32/+38
|
* Added simple lookup_bufferobj() function to wrap the _mesa_HashLookup() callBrian Paul2006-06-031-79/+86
| | | | and cast. Simplifies the code a little bit elsewhere.
* updates for using libdrm (Hanno Bock)Brian Paul2006-06-031-6/+3
|
* minor clean-upsBrian Paul2006-06-021-20/+21
|
* implement arb_vertex_program in hw for r200. Code contains still some hacks, ↵Roland Scheidegger2006-06-0210-22/+1617
| | | | 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.
* set per-context GL_DRAW_BUFFER state regardless of currently bound FBOBrian Paul2006-06-021-6/+4
|
* fix depth-component test to allow rectangular texturesBrian Paul2006-06-021-2/+4
|
* remove code dealing with drmMinor version < 6 since all radeon drivers ↵Roland Scheidegger2006-06-028-78/+33
| | | | request at least drmMinor 6 anyway.
* retry on EBUSY instead of EAGAIN in radeonWaitIrq (it appears this was the ↵Roland Scheidegger2006-06-013-3/+3
| | | | intention as drm seems to never return EAGAIN) in all radeon drivers.
* Fix extended swizzling in vertex programs by introducing special swizzle ↵Roland Scheidegger2006-06-015-132/+179
| | | | 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.
* SWZ is nearly identical to MOV. the difference is that SWZ supports ↵Tilman Sauerbeck2006-05-311-10/+1
| | | | per-component negation, which MOV doesn't. as that's handled transparently, we can use the same code for them.
* pass src->NegateBase as-is in t_src() now, as the flags are equivalent to ↵Tilman Sauerbeck2006-05-311-2/+4
| | | | r300's VSF_FLAGs now
* Added DirectFB GLUT implementation.Claudio Ciccani2006-05-3119-0/+4043
|
* Fixed bug with multiple contexts.Claudio Ciccani2006-05-311-76/+228
| | | | | Added support for ARGB4444 and ARGB2554. Added hardware accelerated Clear().
* Define new NEGATE_* tokens for setting the src register's NegateBase field.Brian Paul2006-05-303-17/+30
| | | | | Before, we were using GL_TRUE/GL_FALSE in a few places. Note: only the SWZ instruction can negate individual components.
* remove redundant 'const'Brian Paul2006-05-301-1/+1
|
* free convolved image / fix mem leak (bug 7077)Brian Paul2006-05-301-0/+1
|
* minor code cleanup, no actual changesTilman Sauerbeck2006-05-301-10/+2
|
* don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, ↵Tilman Sauerbeck2006-05-301-0/+1
| | | | which is actually handled
* Remove not needed forward declaration.Michal Krol2006-05-301-1/+0
|
* don't do the check for >= MAX_VERTEX_PROGRAM_ATTRIBS twice, it's already ↵Tilman Sauerbeck2006-05-291-6/+0
| | | | done in parse_generic_attrib_num()
* generic attribute 0 wasn't handled correctly (Jesse Allen)Brian Paul2006-05-291-0/+8
|
* fix some whitespace in previous commitRoland Scheidegger2006-05-271-2/+2
|
* preparation for r200 hw vertex programs. Increase R200_CMD_BUF_SZ to 16k ↵Roland Scheidegger2006-05-278-4/+91
| | | | 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.
* The ctx->_TexEnvProgram that's allocated in update_state() doesn't seem toBrian Paul2006-05-241-1/+2
| | | | | | be needed (it's set in texenvprogram.c) and is a memory leak according to valgrind. Disable with #if 0 / #endif
* Roll _mesa_free_parameters() into calling function (the only caller).Brian Paul2006-05-242-43/+32
| | | | | | Replace assert(0) with _mesa_warning(). Use new _mesa_align_realloc() function. New comments, clean-ups.
* fix a small memory leak in _mesa_add_state_reference()Brian Paul2006-05-241-0/+3
|
* added _mesa_align_realloc()Brian Paul2006-05-242-0/+23
|
* use GLbitfield for StateFlags, improved commentsBrian Paul2006-05-241-11/+13
|
* Add const qualifiers in a number of places.Brian Paul2006-05-236-21/+22
|
* init mask=0 to silence warningBrian Paul2006-05-231-1/+1
|
* make mgaSetFence() and mgaWaitFence() staticBrian Paul2006-05-231-2/+2
|
* prototype i915_udpate_fog() to silence warningBrian Paul2006-05-231-0/+1
|
* In cache_item(), there was sizeof(void) expression.Brian Paul2006-05-231-1/+1
| | | | Replace void *key parameter with const struct state_key *
* GL_INDEX_OFFSET didn't work with CI->RGB mappings.Brian Paul2006-05-221-18/+20
| | | | Added some const qualifiers.
* memory usage fixes for glean/conform, use a better hash functionKeith Whitwell2006-05-222-30/+51
|
* Fix typoKeith Whitwell2006-05-221-1/+1
|
* Better caching for texenv programs.Keith Whitwell2006-05-224-18/+71
| | | | Initialize some values correctly.
* Speedup the venerable mm.[ch] allocator with doubly linked lists and aKeith Whitwell2006-05-222-72/+124
| | | | separate list of free segments.
* In gl_texture_image, replace ImageStride with an ImageOffsets array.Brian Paul2006-05-2010-456/+434
| | | | | | | | | 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.
* remove some redundant functions, fix-up reference countingBrian Paul2006-05-201-81/+30
|
* use new _mesa_remove_renderbuffer()Brian Paul2006-05-201-8/+3
|
* use new _mesa_dereference_frame/renderbuffer() functionsBrian Paul2006-05-201-26/+5
|
* Added _mesa_remove_renderbuffer() as a counterpart to _mesa_add_renderbuffer().Brian Paul2006-05-202-1/+55
| | | | | Added _mesa_dereference_renderbuffer() to encapsulate renderbuffer reference count decrement, delete, locking.
* Added _mesa_dereference_framebuffer() to encapsulate reference countBrian Paul2006-05-202-14/+38
| | | | decrement, delete and locking.
* some new commentsBrian Paul2006-05-191-2/+10
|
* remove an assertionBrian Paul2006-05-191-2/+0
|
* added some CHAN_BITS testsBrian Paul2006-05-191-0/+9
|