Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | use new _mesa_remove_renderbuffer() | Brian Paul | 2006-05-20 | 1 | -8/+3 |
| | |||||
* | use new _mesa_dereference_frame/renderbuffer() functions | Brian Paul | 2006-05-20 | 1 | -26/+5 |
| | |||||
* | Added _mesa_remove_renderbuffer() as a counterpart to _mesa_add_renderbuffer(). | Brian Paul | 2006-05-20 | 2 | -1/+55 |
| | | | | | Added _mesa_dereference_renderbuffer() to encapsulate renderbuffer reference count decrement, delete, locking. | ||||
* | Added _mesa_dereference_framebuffer() to encapsulate reference count | Brian Paul | 2006-05-20 | 2 | -14/+38 |
| | | | | decrement, delete and locking. | ||||
* | some new comments | Brian Paul | 2006-05-19 | 1 | -2/+10 |
| | |||||
* | remove an assertion | Brian Paul | 2006-05-19 | 1 | -2/+0 |
| | |||||
* | added some CHAN_BITS tests | Brian Paul | 2006-05-19 | 1 | -0/+9 |
| | |||||
* | replace FORMAT var with RB_TYPE | Brian Paul | 2006-05-19 | 1 | -51/+28 |
| | |||||
* | Allow rendering 8, 16 and 32-bit/channel images without recompiling. | Brian Paul | 2006-05-19 | 1 | -234/+591 |
| | | | | Uses new renderbuffer adaptors. | ||||
* | install renderbuffer adaptors when color channel sizes need to be reduced | Brian Paul | 2006-05-19 | 1 | -0/+21 |
| | |||||
* | added rbadaptors.c | Brian Paul | 2006-05-19 | 2 | -0/+3 |
| |