summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
Commit message (Collapse)AuthorAgeFilesLines
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-1326-191/+191
|
* Remove GL_EXT_cull_vertexIan Romanick2010-09-272-97/+0
| | | | | This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
* tnl: Reduce header file inclusion in t_context.h.Vinson Lee2010-08-073-2/+2
| | | | | | | | | | | t_context.h Remove m_matrix.h and m_xform.h. t_vb_program.c Include m_xform.h. t_vb_render.c Include m_xform.h.
* tnl: Remove unnecessary headers.Vinson Lee2010-07-318-8/+0
|
* mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-101-3/+3
|
* tnl: Remove color-index TNL supportIan Romanick2010-03-034-256/+39
| | | | Signed-off-by: Ian Romanick <[email protected]>
* Drop macro wrappers for the aligned memory functionsKristian Høgsberg2010-02-193-6/+6
|
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-194-22/+22
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-194-7/+7
|
* mesa: replace old MEMCPY macro with memcpyBrian Paul2010-02-192-2/+2
|
* Remove _mesa_memset in favor of plain memset.Kenneth Graunke2010-02-191-1/+1
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-192-4/+4
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* mesa: Fix compiler warningsKarl Schultz2010-02-131-1/+1
| | | | | Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
* mesa: change ctx->Driver.ProgramStringNotify() to return GLbooleanBrian Paul2010-02-042-2/+3
| | | | | | | | | | | | | GL_TRUE indicates that the driver accepts the program. GL_FALSE indicates the program can't be compiled/translated by the driver for some reason (too many resources used, etc). Propogate this result up to the GL API: set GL_INVALID_OPERATION error if glProgramString() was called. Set shader program link status to GL_FALSE if glLinkProgram() was called. At this point, drivers still don't do any program checking and always return GL_TRUE.
* tnl: check that state is validated before drawingBrian Paul2010-01-291-0/+3
| | | | | | | | (cherry picked from commit 9fd3c74724e557bc6ecc851d8552615ab3becfe2) Conflicts: src/mesa/tnl/t_draw.c
* tnl: fix double->float and int/uint conversion warningsBrian Paul2010-01-273-3/+3
| | | | Reported by Karl Schultz.
* mesa: add core support for ARB_half_float_vertex.Dave Airlie2010-01-231-0/+19
| | | | | | | | Adds the extension to the list + support to the APIs. also add t_draw.c support to convert for sw rast. Signed-off-by: Dave Airlie <[email protected]>
* Merge branch 'mesa_7_7_branch'Jakob Bornecrantz2010-01-145-8/+0
|\ | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
| * tnl: Remove unnecessary header from t_context.c.Vinson Lee2010-01-121-1/+0
| |
| * tnl: Remove unnecessary headers from t_draw.c.Vinson Lee2010-01-121-4/+0
| |
| * tnl: Remove unnecessary header from t_pipeline.c.Vinson Lee2010-01-121-1/+0
| |
| * tnl: Remove unnecessary header from t_rasterpos.c.Vinson Lee2010-01-121-1/+0
| |
| * tnl: Remove unnecessary header from t_vb_program.c.Vinson Lee2010-01-121-1/+0
| |
* | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-081-0/+7
|\| | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c
| * tnl: set FOGC result to (f,0,0,1)Brian Paul2010-01-061-0/+7
| | | | | | | | Fixed FDO bug 23397.
* | tnl: add check for conditional renderingBrian Paul2009-12-311-0/+4
| |
* | mesa: Remove _mesa_exit wrapper for exit().Eric Anholt2009-12-221-1/+1
| | | | | | | | | | It does nothing else while being less useful than exit() because it lacks attributes that real exit() has.
* | tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]Eric Anholt2009-11-194-14/+3
| |
* | tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.Eric Anholt2009-11-196-42/+37
| |
* | tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtrEric Anholt2009-11-195-15/+16
| |
* | tnl: Replace deprecated ObjPtr with AttribPtr[_TNL_ATTRIB_POS]Eric Anholt2009-11-196-17/+16
| |
* | tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]Eric Anholt2009-11-195-9/+1
| |
* | tnl: Replace NormalPtr with AttribPtr[_TNL_ATTRIB_NORMAL]Eric Anholt2009-11-193-4/+1
| |
* | tnl: Remove unused NotifyInputChanges() tnl dd hook.Eric Anholt2009-11-192-9/+0
|/
* Merge branch 'outputswritten64'Ian Romanick2009-11-172-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Add a GLbitfield64 type and several macros to operate on 64-bit fields. The OutputsWritten field of gl_program is changed to use that type. This results in a fair amount of fallout in drivers that use programs. No changes are strictly necessary at this point as all bits used are below the 32-bit boundary. Fairly soon several bits will be added for clip distances written by a vertex shader. This will cause several bits used for varyings to be pushed above the 32-bit boundary. This will affect any drivers that support GLSL. At this point, only the i965 driver has been modified to support this eventuality. I did this as a "squash" merge. There were several places through the outputswritten64 branch where things were broken. I foresee this causing difficulties later for bisecting. The history is still available in the branch. Conflicts: src/mesa/drivers/dri/i965/brw_wm.h
* Revert "Store clipping distance for user clip planes as part of vertex ↵Ian Romanick2009-10-224-132/+18
| | | | | | | | | | processing" This reverts commit f058b25881e08c9d89a33345e5c84e1357396932. This change is completely wrong in so many ways. When clip distances are generated as part of vertex processing, they must be interpolated to perform clipping. Geometric clipping goes right out the window.
* Store clipping distance for user clip planes as part of vertex processingIan Romanick2009-10-134-18/+132
| | | | | | | | | | | | | | Once the clipping distance is calculated and stored per vertex, the distances can be re-used when clipping is actually performed. This doesn't have any immediate benefit, but it paves the way for implementing gl_ClipDistance in vertex shaders and result.clip[] in vertex programs. This has not produces any oglconform regressions on my G31 system which uses software TNL. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* mesa: move call to init_c_cliptest() from enable.c to tnl module.Brian Paul2009-09-093-0/+24
| | | | Fixed gallium build breakage.
* mesa: Add support for ARB_draw_elements_base_vertex.Eric Anholt2009-09-081-16/+42
|
* mesa: Add support for ARB_depth_clamp.Eric Anholt2009-09-083-14/+23
| | | | | This currently doesn't include fixing up the cliptests in the assembly paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path.
* tnl: if NAN_CHECK is enabled, also assert that pos.x != 0Brian Paul2009-08-131-0/+3
|
* vbo: Avoid extra validation of DrawElements.Eric Anholt2009-08-123-3/+27
| | | | | | | | | | | | | This saves mapping the index buffer to get a bounds on the indices that drivers just drop on the floor in the VBO case (cache win), saves a bonus walk of the indices in the CheckArrayBounds case, and other miscellaneous validation. On intel it's a particularly a large win (50-100% in my app) because even though we let the indices stay in both CPU and GPU caches, we still end up waiting for the GPU to be done with the buffer before reading from it. Drivers that want the min/max_index fields must now check index_bounds_valid and use vbo_get_minmax_index before using them.
* Merge branch 'ext-provoking-vertex'Brian Paul2009-06-191-23/+78
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
| * mesa: fix first provoking vertex mode for unfilled tri stripsBrian Paul2009-06-181-10/+16
| |
| * mesa: fix parity error for tri strips with 1st provoking vertexBrian Paul2009-06-031-1/+1
| |
| * tnl: fix first provoking vertex case for unfilled trianglesBrian Paul2009-06-031-1/+1
| |
| * tnl: fix first provoking vertex bug for line loopsBrian Paul2009-06-031-1/+1
| |
| * tnl: implement GL_EXT_provoking_vertexBrian Paul2009-06-011-17/+66
| |
* | tnl: updated clip debug code (disabled)Brian Paul2009-06-031-9/+19
| |
* | tnl: add some floating point sanity checks (disabled)Brian Paul2009-06-031-2/+25
|/