summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* A number of vertex buffer fields like NormalPtr, FogCoordPtr, etc are reallyBrian Paul2006-06-1411-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 Paul2006-06-145-30/+34
|
* new assertionBrian Paul2006-06-141-0/+2
|
* Do a cheesy implementation of glXWait/GetVideoSyncSGI() functions, butBrian Paul2006-06-131-6/+13
| | | | | disable reporting the GLX_SGI_video_sync extension anyway. Google Earth works now.
* GLX_BAD_CONTEXT checks in video-sync functionsBrian Paul2006-06-131-5/+5
|
* remove debug printfBrian Paul2006-06-131-1/+0
|
* clean-ups and new commentsBrian Paul2006-06-131-9/+19
|
* remove unused index_attr1fv()Brian Paul2006-06-131-6/+0
|
* Rename some functions/macros to better reflect their behaviour:Brian Paul2006-06-134-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 rightBrian Paul2006-06-131-8/+28
| | | | | translation function. Before this fix the 'normalized' flag to glVertexAttribPointerARB() was ignored.
* s/0/NULL/Brian Paul2006-06-131-1/+1
|
* When using an ARB vertex program, the generic vertex arrays do not alias theBrian Paul2006-06-131-52/+74
| | | | | conventional arrays. Typo: s/writeable/writable/
* fix size assertions in _mesa_init_teximage_fields()Brian Paul2006-06-131-3/+3
|
* minor simplification in texcoord array importBrian Paul2006-06-131-1/+1
|
* remove some unneeded #includesBrian Paul2006-06-134-8/+2
|
* Fix a few conversion bugs. For example, GLshort->GLfloat conversionBrian Paul2006-06-131-13/+46
| | | | didn't work for color arrays.
* Fix all instances of calling __glXSetupForCommand before GetReqExtra.Kristian Høgsberg2006-06-131-15/+35
|
* Make r300 driver build with GL_APPLE_vertex_array_object changes.Ian Romanick2006-06-122-12/+18
| | | | Sorry for the breakage. These changes are only build tested.
* s/buffer/arrays/Brian Paul2006-06-121-7/+5
|
* make do_vertex_attrib_enable() staticBrian Paul2006-06-121-1/+2
|
* include glxclient.h to silence missing prototypes warningBrian Paul2006-06-121-0/+1
|
* include arrayobj.hBrian Paul2006-06-121-0/+1
|
* remove unused varBrian Paul2006-06-121-2/+0
|
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-1237-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 Hourihane2006-06-121-0/+1
|
* destroy the memory manager along with the contextTilman Sauerbeck2006-06-113-0/+17
|
* enable arb_vertex_program by default if drm is new enough. Do a fallback ↵Roland Scheidegger2006-06-102-1/+7
| | | | when it's a nv_vp as there could be issues.
* Added some notes about this implementation.Claudio Ciccani2006-06-091-0/+9
|
* Enable setting invible cursors.Claudio Ciccani2006-06-091-27/+35
|
* Separated joystick pointer coordinates from mouse pointer coordinates.Claudio Ciccani2006-06-092-29/+48
|
* shuffle some code to make some assertions in the _savage_texstore_a111xxxx ↵Roland Scheidegger2006-06-091-38/+45
| | | | functions compile without error...
* check for invalid mode in glBegin(), bug 7142Brian Paul2006-06-081-0/+5
|
* include tnl/tnl.h for _tnl_program_string()Tilman Sauerbeck2006-06-081-0/+1
|
* mark ARL operand as scalar (Roland Scheidegger)Tilman Sauerbeck2006-06-081-1/+1
|
* struct op_names: get rid of the 'output operands' field as it's not used ↵Tilman Sauerbeck2006-06-081-32/+31
| | | | (Roland Scheidegger)
* Improve slightly wrong CMP_SRCS test to avoid unencessary instructions. ↵Roland Scheidegger2006-06-082-95/+56
| | | | Clean up the r200 vertex program code a bit.
* prevent possible program mix up with sw vps (Roland Scheidegger)Aapo Tahkola2006-06-061-0/+2
|
* 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.