Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | shuffle some code to make some assertions in the _savage_texstore_a111xxxx ↵ | Roland Scheidegger | 2006-06-09 | 1 | -38/+45 |
| | | | | functions compile without error... | ||||
* | check for invalid mode in glBegin(), bug 7142 | Brian Paul | 2006-06-08 | 1 | -0/+5 |
| | |||||
* | include tnl/tnl.h for _tnl_program_string() | Tilman Sauerbeck | 2006-06-08 | 1 | -0/+1 |
| | |||||
* | mark ARL operand as scalar (Roland Scheidegger) | Tilman Sauerbeck | 2006-06-08 | 1 | -1/+1 |
| | |||||
* | struct op_names: get rid of the 'output operands' field as it's not used ↵ | Tilman Sauerbeck | 2006-06-08 | 1 | -32/+31 |
| | | | | (Roland Scheidegger) | ||||
* | Improve slightly wrong CMP_SRCS test to avoid unencessary instructions. ↵ | Roland Scheidegger | 2006-06-08 | 2 | -95/+56 |
| | | | | Clean up the r200 vertex program code a bit. | ||||
* | prevent possible program mix up with sw vps (Roland Scheidegger) | Aapo Tahkola | 2006-06-06 | 1 | -0/+2 |
| | |||||
* | prevent run_arb_vertex_program from running tnl programs unless ↵ | Aapo Tahkola | 2006-06-06 | 6 | -16/+19 |
| | | | | ctx->_MaintainTnlProgram is set | ||||
* | make sure tex format is supported. | Aapo Tahkola | 2006-06-06 | 1 | -1/+2 |
| | |||||
* | various fixes (Roland Scheidegger) | Aapo Tahkola | 2006-06-06 | 1 | -32/+38 |
| | |||||
* | Added simple lookup_bufferobj() function to wrap the _mesa_HashLookup() call | Brian Paul | 2006-06-03 | 1 | -79/+86 |
| | | | | and cast. Simplifies the code a little bit elsewhere. | ||||
* | updates for using libdrm (Hanno Bock) | Brian Paul | 2006-06-03 | 1 | -6/+3 |
| | |||||
* | minor clean-ups | Brian Paul | 2006-06-02 | 1 | -20/+21 |
| | |||||
* | implement arb_vertex_program in hw for r200. Code contains still some hacks, ↵ | Roland Scheidegger | 2006-06-02 | 10 | -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 FBO | Brian Paul | 2006-06-02 | 1 | -6/+4 |
| | |||||
* | fix depth-component test to allow rectangular textures | Brian Paul | 2006-06-02 | 1 | -2/+4 |
| | |||||
* | remove code dealing with drmMinor version < 6 since all radeon drivers ↵ | Roland Scheidegger | 2006-06-02 | 8 | -78/+33 |
| | | | | request at least drmMinor 6 anyway. | ||||
* | retry on EBUSY instead of EAGAIN in radeonWaitIrq (it appears this was the ↵ | Roland Scheidegger | 2006-06-01 | 3 | -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 Scheidegger | 2006-06-01 | 5 | -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 Sauerbeck | 2006-05-31 | 1 | -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 Sauerbeck | 2006-05-31 | 1 | -2/+4 |
| | | | | r300's VSF_FLAGs now | ||||
* | Added DirectFB GLUT implementation. | Claudio Ciccani | 2006-05-31 | 19 | -0/+4043 |
| | |||||
* | Fixed bug with multiple contexts. | Claudio Ciccani | 2006-05-31 | 1 | -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 Paul | 2006-05-30 | 3 | -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 Paul | 2006-05-30 | 1 | -1/+1 |
| | |||||
* | free convolved image / fix mem leak (bug 7077) | Brian Paul | 2006-05-30 | 1 | -0/+1 |
| | |||||
* | minor code cleanup, no actual changes | Tilman Sauerbeck | 2006-05-30 | 1 | -10/+2 |
| | |||||
* | don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, ↵ | Tilman Sauerbeck | 2006-05-30 | 1 | -0/+1 |
| | | | | which is actually handled | ||||
* | Remove not needed forward declaration. | Michal Krol | 2006-05-30 | 1 | -1/+0 |
| | |||||
* | don't do the check for >= MAX_VERTEX_PROGRAM_ATTRIBS twice, it's already ↵ | Tilman Sauerbeck | 2006-05-29 | 1 | -6/+0 |
| | | | | done in parse_generic_attrib_num() | ||||
* | generic attribute 0 wasn't handled correctly (Jesse Allen) | Brian Paul | 2006-05-29 | 1 | -0/+8 |
| | |||||
* | fix some whitespace in previous commit | Roland Scheidegger | 2006-05-27 | 1 | -2/+2 |
| | |||||
* | preparation for r200 hw vertex programs. Increase R200_CMD_BUF_SZ to 16k ↵ | Roland Scheidegger | 2006-05-27 | 8 | -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 to | Brian Paul | 2006-05-24 | 1 | -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 Paul | 2006-05-24 | 2 | -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 Paul | 2006-05-24 | 1 | -0/+3 |
| | |||||
* | added _mesa_align_realloc() | Brian Paul | 2006-05-24 | 2 | -0/+23 |
| | |||||
* | use GLbitfield for StateFlags, improved comments | Brian Paul | 2006-05-24 | 1 | -11/+13 |
| | |||||
* | Add const qualifiers in a number of places. | Brian Paul | 2006-05-23 | 6 | -21/+22 |
| | |||||
* | init mask=0 to silence warning | Brian Paul | 2006-05-23 | 1 | -1/+1 |
| | |||||
* | make mgaSetFence() and mgaWaitFence() static | Brian Paul | 2006-05-23 | 1 | -2/+2 |
| | |||||
* | prototype i915_udpate_fog() to silence warning | Brian Paul | 2006-05-23 | 1 | -0/+1 |
| | |||||
* | In cache_item(), there was sizeof(void) expression. | Brian Paul | 2006-05-23 | 1 | -1/+1 |
| | | | | Replace void *key parameter with const struct state_key * | ||||
* | GL_INDEX_OFFSET didn't work with CI->RGB mappings. | Brian Paul | 2006-05-22 | 1 | -18/+20 |
| | | | | Added some const qualifiers. | ||||
* | memory usage fixes for glean/conform, use a better hash function | Keith Whitwell | 2006-05-22 | 2 | -30/+51 |
| | |||||
* | Fix typo | Keith Whitwell | 2006-05-22 | 1 | -1/+1 |
| | |||||
* | Better caching for texenv programs. | Keith Whitwell | 2006-05-22 | 4 | -18/+71 |
| | | | | Initialize some values correctly. | ||||
* | Speedup the venerable mm.[ch] allocator with doubly linked lists and a | Keith Whitwell | 2006-05-22 | 2 | -72/+124 |
| | | | | separate list of free segments. | ||||
* | In gl_texture_image, replace ImageStride with an ImageOffsets array. | Brian Paul | 2006-05-20 | 10 | -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 counting | Brian Paul | 2006-05-20 | 1 | -81/+30 |
| |