Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A number of vertex buffer fields like NormalPtr, FogCoordPtr, etc are really | Brian Paul | 2006-06-14 | 11 | -73/+76 |
| | | | | | | just aliases for members of the VB->AttribPtr[] array. Begin replacing FogCoordPtr with VB->AttribPtr[_TNL_ATTRIB_FOG], and similarly for NormalPtr, TexCoordPtr, PointSizePtr, etc. | ||||
* | Rename _TNL_ATTRIB_ATTRIBUTE* to _TNL_ATTRIB_GENERIC* | Brian Paul | 2006-06-14 | 5 | -30/+34 |
| | |||||
* | new assertion | Brian Paul | 2006-06-14 | 1 | -0/+2 |
| | |||||
* | Do a cheesy implementation of glXWait/GetVideoSyncSGI() functions, but | Brian Paul | 2006-06-13 | 1 | -6/+13 |
| | | | | | disable reporting the GLX_SGI_video_sync extension anyway. Google Earth works now. | ||||
* | GLX_BAD_CONTEXT checks in video-sync functions | Brian Paul | 2006-06-13 | 1 | -5/+5 |
| | |||||
* | remove debug printf | Brian Paul | 2006-06-13 | 1 | -1/+0 |
| | |||||
* | clean-ups and new comments | Brian Paul | 2006-06-13 | 1 | -9/+19 |
| | |||||
* | remove unused index_attr1fv() | Brian Paul | 2006-06-13 | 1 | -6/+0 |
| | |||||
* | Rename some functions/macros to better reflect their behaviour: | Brian Paul | 2006-06-13 | 4 | -111/+105 |
| | | | | | 3F -> 3FN because integer types are normalized 4FC -> 3FN because we can normalize non-color attributes | ||||
* | In import_attrib(), use the from->Normalized flag to choose the right | Brian Paul | 2006-06-13 | 1 | -8/+28 |
| | | | | | translation function. Before this fix the 'normalized' flag to glVertexAttribPointerARB() was ignored. | ||||
* | s/0/NULL/ | Brian Paul | 2006-06-13 | 1 | -1/+1 |
| | |||||
* | When using an ARB vertex program, the generic vertex arrays do not alias the | Brian Paul | 2006-06-13 | 1 | -52/+74 |
| | | | | | conventional arrays. Typo: s/writeable/writable/ | ||||
* | fix size assertions in _mesa_init_teximage_fields() | Brian Paul | 2006-06-13 | 1 | -3/+3 |
| | |||||
* | minor simplification in texcoord array import | Brian Paul | 2006-06-13 | 1 | -1/+1 |
| | |||||
* | remove some unneeded #includes | Brian Paul | 2006-06-13 | 4 | -8/+2 |
| | |||||
* | Fix a few conversion bugs. For example, GLshort->GLfloat conversion | Brian Paul | 2006-06-13 | 1 | -13/+46 |
| | | | | didn't work for color arrays. | ||||
* | Fix all instances of calling __glXSetupForCommand before GetReqExtra. | Kristian Høgsberg | 2006-06-13 | 1 | -15/+35 |
| | |||||
* | Make r300 driver build with GL_APPLE_vertex_array_object changes. | Ian Romanick | 2006-06-12 | 2 | -12/+18 |
| | | | | Sorry for the breakage. These changes are only build tested. | ||||
* | s/buffer/arrays/ | Brian Paul | 2006-06-12 | 1 | -7/+5 |
| | |||||
* | make do_vertex_attrib_enable() static | Brian Paul | 2006-06-12 | 1 | -1/+2 |
| | |||||
* | include glxclient.h to silence missing prototypes warning | Brian Paul | 2006-06-12 | 1 | -0/+1 |
| | |||||
* | include arrayobj.h | Brian Paul | 2006-06-12 | 1 | -0/+1 |
| | |||||
* | remove unused var | Brian Paul | 2006-06-12 | 1 | -2/+0 |
| | |||||
* | Add support for GL_APPLE_vertex_array_object. Several test programs | Ian Romanick | 2006-06-12 | 37 | -771/+1559 |
| | | | | | | | and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required. | ||||
* | fire vertices before context destruction. | Alan Hourihane | 2006-06-12 | 1 | -0/+1 |
| | |||||
* | destroy the memory manager along with the context | Tilman Sauerbeck | 2006-06-11 | 3 | -0/+17 |
| | |||||
* | enable arb_vertex_program by default if drm is new enough. Do a fallback ↵ | Roland Scheidegger | 2006-06-10 | 2 | -1/+7 |
| | | | | when it's a nv_vp as there could be issues. | ||||
* | Added some notes about this implementation. | Claudio Ciccani | 2006-06-09 | 1 | -0/+9 |
| | |||||
* | Enable setting invible cursors. | Claudio Ciccani | 2006-06-09 | 1 | -27/+35 |
| | |||||
* | Separated joystick pointer coordinates from mouse pointer coordinates. | Claudio Ciccani | 2006-06-09 | 2 | -29/+48 |
| | |||||
* | 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. |