summaryrefslogtreecommitdiffstats
path: root/src/mesa/array_cache
Commit message (Collapse)AuthorAgeFilesLines
* Rename some functions/macros to better reflect their behaviour:Brian Paul2006-06-131-3/+3
| | | | | 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.
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-122-21/+21
| | | | | | | 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.
* Put color index attribute into the 6th attribute slot.Brian Paul2006-04-251-1/+1
| | | | | | Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values instead of specific vertex attributes. Remove the EdgeFlagv function from the GLvertexformat struct.
* fix texcoord unit assertion, the right one (bug 5780)Roland Scheidegger2006-02-011-2/+2
|
* fix texcoord unit assertion (bug 5780)Brian Paul2006-02-011-3/+3
|
* Committing in .Jouk Jansen2005-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 1) change compilation on VMS to use IEEE floating points 2) one more problem with _mesa_sprintf solved Modified Files: Mesa/docs/README.VMS Mesa/progs/demos/descrip.mms Mesa/progs/tests/descrip.mms Mesa/progs/util/descrip.mms Mesa/progs/xdemos/descrip.mms Mesa/src/glu/mesa/descrip.mms Mesa/src/glu/sgi/descrip.mms Mesa/src/glut/glx/descrip.mms Mesa/src/mesa/array_cache/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/drivers/osmesa/descrip.mms Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/glapi/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/main/texobj.c Mesa/src/mesa/math/descrip.mms Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/grammar/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/swrast_setup/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* moved to windows build dirKarl Schultz2005-05-241-108/+0
|
* s/0/NULL/ (Jeff Muizelaar)Brian Paul2005-02-181-7/+7
|
* Change the dispatch offsets for the VertexAttrib*NV functions so they don'tBrian Paul2004-11-271-1/+1
| | | | | | | alias with the corresponding ARB functions. GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias with conventional vertex attributes, as GL_NV_vertex_program does. So, the ARB and NV version of VertexAttrib need to be distinct.
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-0/+9
| | | | 1015696)
* Remove ADD_POINTERS code from import() function - it broke UT2004.Brian Paul2004-06-191-116/+128
| | | | Code clean-ups, reformatting, const-correctness, etc.
* fixed some bogus array enable tests (Soju Matsumoto)Brian Paul2004-05-171-4/+4
|
* Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul2004-04-231-3/+3
| | | | | | | program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
* Fix generic/conventional vertex array glitches.Brian Paul2003-11-291-7/+7
| | | | | | | | Changed _NEW_ARRAY_ATTRIB_0 back to 0x10000 so that the conventional and generic enable bits do not alias. In ac_import.c test Array.Normal.Enabled instead of Array._Enabled & _NEW_ARRAY_COLOR0, etc. In t_array_import.c give priority for generic arrays over conventional arrays on an individual basis, not all or none.
* Merge vtx-0-2-branchKeith Whitwell2003-11-241-3/+3
|
* Initial work for bounds checking of vertex arrays and vertex buffer objects.Brian Paul2003-10-221-9/+9
| | | | | | Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.
* Assorted casts to silence g++ warnings.Brian Paul2003-09-191-17/+17
|
* Make binary - even though this is a text file, common practice is to store ↵Karl Schultz2003-09-191-108/+108
| | | | MS studio files as binary
* GL_ARB_vertex_buffer_object working now, at least for non-indexedBrian Paul2003-09-172-22/+42
| | | | vertex arrays.
* More work on ARB_vertex_buffer_object.Brian Paul2003-09-172-2/+52
| | | | | Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
* Generate browse info for Debug version.Karl Schultz2003-08-301-2/+2
|
* Use correct conversions when translating array colors.Keith Whitwell2003-08-201-7/+7
|
* VC 6 Project FileKarl Schultz2003-07-261-0/+108
|
* Committing in .Jouk Jansen2003-07-021-0/+3
| | | | | | | | | | | | | | | | | | | | Enable installation on OpenVMS ODS5 disks. Modified Files: Mesa-newtree/progs/demos/descrip.mms Mesa-newtree/progs/tests/descrip.mms Mesa-newtree/progs/xdemos/descrip.mms Mesa-newtree/src/glut/glx/descrip.mms Mesa-newtree/src/mesa/array_cache/descrip.mms Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms Mesa-newtree/src/mesa/drivers/x11/descrip.mms Mesa-newtree/src/mesa/glapi/descrip.mms Mesa-newtree/src/mesa/main/descrip.mms Mesa-newtree/src/mesa/math/descrip.mms Mesa-newtree/src/mesa/swrast/descrip.mms Mesa-newtree/src/mesa/swrast_setup/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* Committing in .Jouk Jansen2003-06-171-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | OpenVMS support for new directory tree Modified Files: Mesa-newtree/progs/demos/descrip.mms Mesa-newtree/progs/tests/descrip.mms Mesa-newtree/progs/xdemos/descrip.mms Mesa-newtree/src/glu/sgi/descrip.mms Mesa-newtree/src/glut/glx/descrip.mms Mesa-newtree/src/mesa/main/descrip.mms Added Files: Mesa-newtree/descrip.mms Mesa-newtree/mms-config. Mesa-newtree/src/descrip.mms Mesa-newtree/src/glu/descrip.mms Mesa-newtree/src/mesa/descrip.mms Mesa-newtree/src/mesa/array_cache/descrip.mms Mesa-newtree/src/mesa/drivers/osmesa/descrip.mms Mesa-newtree/src/mesa/drivers/x11/descrip.mms Mesa-newtree/src/mesa/glapi/descrip.mms Mesa-newtree/src/mesa/math/descrip.mms Mesa-newtree/src/mesa/swrast/descrip.mms Mesa-newtree/src/mesa/swrast_setup/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms Mesa-newtree/vms/analyze_map.com Mesa-newtree/vms/xlib.opt Mesa-newtree/vms/xlib_share.opt ----------------------------------------------------------------------
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-053-3/+0
|
* Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places.Brian Paul2003-05-011-2/+2
| | | | Misc vertex array / vertex program changes.
* Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul2003-04-081-60/+5
| | | | | | Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-012-4/+2
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* First batch of code for GL_NV_fragment_program.Brian Paul2003-01-143-13/+13
| | | | | Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
* updated email addressesBrian Paul2002-10-294-8/+8
|
* Header file clean-up:Brian Paul2002-10-242-4/+4
| | | | | | | | 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
* fixed assertion, replaced switch() with if/elseifBrian Paul2002-04-211-29/+27
|
* Vertex program attribute arrays seem to work now. This includes fallbacksBrian Paul2002-04-211-3/+51
| | | | to the conventional arrays when attribute arrays aren't enabled.
* added support for vertex program attribute arraysBrian Paul2002-04-211-4/+43
|
* vertex program attribute array workBrian Paul2002-04-213-26/+137
|
* Vertex program checkpoint commit: converted all vertex attributes (color,Brian Paul2002-01-051-3/+3
| | | | | | normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype. Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib now complete.
* vertex program check-inBrian Paul2001-12-142-15/+15
|
* Added Win32 memory debugging and fixed a few memory leaks (Gerk Huisma)Brian Paul2001-07-191-1/+5
|
* Support for floating point color representation in tnl module.Keith Whitwell2001-04-282-40/+90
|
* another fix in import_texcoord()Brian Paul2001-04-171-2/+2
|
* replaced ac->count with ac->count - ac->start in import_texcoord(), as in ↵Brian Paul2001-04-171-2/+2
| | | | the other import functions
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-14/+7
|
* Fix cut&paste bug exposed by clipbug.c demo.Keith Whitwell2001-03-171-11/+11
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-124-85/+85
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-23/+23
| | | | of potential problems
* Added GLvector4chan type, removed lots of CHAN_TYPE ifdefs.Keith Whitwell2001-02-201-51/+15
|
* Correctly calculate size for disabled texcoord arrays.Keith Whitwell2001-02-071-3/+3
|
* rework to correctly respect _ac_import_range()Keith Whitwell2001-02-043-195/+227
|