summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
|