aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_array_import.c
Commit message (Collapse)AuthorAgeFilesLines
* Import all texture coordinate arrays. Import them only once.Keith Whitwell2005-05-031-5/+4
|
* Ensure all VB->AttribPtr[] are populated. Reported by Aapo TahkolaKeith Whitwell2005-04-251-8/+18
|
* Simplify the pipeline_stage structureKeith Whitwell2005-04-221-48/+30
| | | | | | | | | | - remove input/output fields, input tracking removed. - remove state fields, the validate function now called on every statechange. - add an explicit 'create' function. Add in code to build vertex program to implement current t&l state. Still disabled, but turn on with a #define in t_vp_build.h.
* mesa-tnl-0-to-NULL.patch from Jeff MuizelaarKeith Whitwell2005-02-101-3/+3
|
* Give attributes with zero-stride a count of 1 to make it easierKeith Whitwell2005-01-051-1/+1
| | | | | | to avoid transforming the same attribute multiple times. Don't light a single normal multiple times in light_fast_rgba*
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-0/+1
| | | | 1015696)
* Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul2004-04-231-2/+2
| | | | | | | 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 up more confusions with count vs end in array functionsKeith Whitwell2004-01-141-14/+6
|
* Change < to <= when testing counts against ctx->Const.MaxArrayLockSize,Brian Paul2004-01-091-5/+6
| | | | | | per Daniel Borca. Also, added XXX comments to mark where there may be a problem with the calls to _tnl_vb_bind_arrays(). Is the last parameter a count or index?
* Fix generic/conventional vertex array glitches.Brian Paul2003-11-291-55/+60
| | | | | | | | 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.
* minor cast fixesBrian Paul2003-11-241-2/+2
|
* set the VB->FogCoordPtr with the other legacy pointersBrian Paul2003-11-241-0/+1
|
* Merge vtx-0-2-branchKeith Whitwell2003-11-241-221/+104
|
* Initial work for bounds checking of vertex arrays and vertex buffer objects.Brian Paul2003-10-221-7/+7
| | | | | | Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.
* Implement GL_ELEMENT_ARRAY_BUFFER_ARB for buffer objects.Brian Paul2003-09-171-0/+29
|
* GL_ARB_vertex_buffer_object working now, at least for non-indexedBrian Paul2003-09-171-16/+29
| | | | vertex arrays.
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul2003-04-081-11/+17
| | | | | | 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-011-4/+3
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* updated email addressesBrian Paul2002-10-291-2/+2
|
* Header file clean-up:Brian Paul2002-10-241-2/+2
| | | | | | | | 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.
* Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul2002-06-291-2/+2
| | | | Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
* Vertex program attribute arrays seem to work now. This includes fallbacksBrian Paul2002-04-211-32/+54
| | | | to the conventional arrays when attribute arrays aren't enabled.
* new castsBrian Paul2002-04-191-3/+5
|
* Clean-up/renaming of the per-vertex attribute bits, specifically, theBrian Paul2002-01-221-36/+53
| | | | | | VERT_BIT_* flags are new and used in many places (esp in T&L code). Updated some comments for doxygen. Various code clean-ups.
* Another vertex program checkpoint: clean-up of vertex attribute storageBrian Paul2002-01-061-6/+6
| | | | | | in vertex_buffer. Improved vertex program pipeline stage such that output registers can be processed in a loop. Getting closer to where we need to be in order to implement performance optimizations...
* Vertex program checkpoint commit: converted all vertex attributes (color,Brian Paul2002-01-051-6/+7
| | | | | | 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-141-22/+22
|
* Removed optimizations (this code is now seldom used)Keith Whitwell2001-08-131-108/+1
|
* Comment out __FUNCTION__ usage.Keith Whitwell2001-05-171-8/+6
|
* Clean up _tnl_Begin/begin/hard_begin.Keith Whitwell2001-05-111-1/+2
| | | | Fix some problems with draw_arrays, draw_elements.
* Clean up translation of array elements, copying of elts in pure-eltKeith Whitwell2001-05-111-72/+49
| | | | cassettes. Fixes problem with isosurf/compiled-array-elt/strips.
* Support for floating point color representation in tnl module.Keith Whitwell2001-04-281-60/+54
|
* first pass at eval fixesKeith Whitwell2001-04-261-2/+4
|
* fixed mis-ordered args to _math_trans_4f() in _tnl_fill_immediate_drawarrays()Brian Paul2001-04-171-2/+2
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-72/+70
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-19/+19
| | | | of potential problems
* Added GLvector4chan type, removed lots of CHAN_TYPE ifdefs.Keith Whitwell2001-02-201-40/+8
|
* Fix propogation of material values in VB's that don't reach the lightingKeith Whitwell2001-02-151-1/+4
| | | | | | | | | stage. (Materials now treated more like colors, etc.). Continue whipping the dd templates into shape. Remove old NormalLength code; may come back as a driver helper, but not useful for, eg. hardware t&l drivers.
* Lots of GLchan datatype changes.Brian Paul2001-01-241-4/+36
| | | | | | | | | Added GLvector4us datatype in math/m_vector.[ch] Added _math_trans_4us() in math/m_translate.[ch] Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS. Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions. Changed args to Driver.ClearColor(), updated drivers. Reordered files in Makefile.X11
* Fixed 'IRound' to 'IROUND' in mmath.hKeith Whitwell2001-01-081-7/+1
| | | | | | Fixed fallback path for drawarrays/_tnl_hard_begin. Removed disabled debug code.
* Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out driversKeith Whitwell2001-01-081-2/+8
| | | | | | | | | | that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86.
* Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell2001-01-051-11/+3
| | | | | | | | | | | | | | is always the last vertex parameter. Modify clipping to preserve pv colors. Modify swrast and X11 driver to expect the pv in the last vertex (was looking in the first vertex previously). Remove all handling of flatshading from swrast_setup. Allow drivers to override the unclipped render tabs in tnl_render_stage directly. (Like in 3.4). Removed fxsimplerender stage. Modified t_vb_rendertmp.h to remove the need for 'parity' arguments in RENDER_TRI macros.
* Add render stage for unclipped vb's to fx driver.Keith Whitwell2000-12-281-13/+23
| | | | | | Bump MAX_TEXTURE_UNITS to 8 Fix mem. leak in destroy_lists Fix crash in q3 (cva generally)
* Fixes for compiling assembly (disable unused 'masked' versions)Keith Whitwell2000-12-271-2/+3
| | | | | | Fixes for compiling without debug. Fix line clipping Fix unfilled polygon clipping (should be correct now).
* Major rework of tnl moduleKeith Whitwell2000-12-261-0/+521
New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.