Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'mesa_7_7_branch' | Brian Paul | 2009-12-21 | 3 | -2/+22 |
|\ | | | | | | | | | | | Conflicts: src/mesa/main/version.h src/mesa/state_tracker/st_atom_shader.c | ||||
| * | unichrome: Silence compiler warnings. | Vinson Lee | 2009-12-15 | 1 | -2/+2 |
| | | |||||
| * | t_dd_dmatmp.h: Silence unused value warning in render_poly_elts. | Vinson Lee | 2009-12-12 | 1 | -0/+1 |
| | | |||||
| * | t_dd_dmatmp2.h: Silence unused value warnings. | Vinson Lee | 2009-12-12 | 1 | -0/+11 |
| | | |||||
| * | t_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts. | Vinson Lee | 2009-12-12 | 1 | -0/+2 |
| | | |||||
| * | t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_elts. | Vinson Lee | 2009-12-12 | 1 | -0/+1 |
| | | |||||
| * | t_dd_dmatmp.h: Silence unused value warning in render_poly_verts. | Vinson Lee | 2009-12-12 | 1 | -0/+1 |
| | | |||||
| * | t_dd_dmatmp.h: Silence unused value warning in render_quads_verts. | Vinson Lee | 2009-12-12 | 1 | -0/+1 |
| | | |||||
| * | t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_verts. | Vinson Lee | 2009-12-12 | 1 | -0/+1 |
| | | |||||
| * | t_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts. | Vinson Lee | 2009-12-12 | 1 | -0/+1 |
| | | |||||
| * | t_dd_dmatmp.h: Silence unused value warning in render_line_loop_verts. | Vinson Lee | 2009-12-12 | 1 | -0/+1 |
| | | |||||
* | | tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG] | Eric Anholt | 2009-11-19 | 1 | -3/+3 |
| | | |||||
* | | tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr. | Eric Anholt | 2009-11-19 | 4 | -43/+43 |
| | | |||||
* | | tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtr | Eric Anholt | 2009-11-19 | 1 | -2/+2 |
| | | |||||
* | | tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*] | Eric Anholt | 2009-11-19 | 1 | -32/+32 |
|/ | |||||
* | mesa: add a prototype to silence warnings | Brian Paul | 2009-02-28 | 1 | -0/+3 |
| | |||||
* | mesa: fix polygon offset issue (bug #12061) | Xiang, Haihao | 2008-07-04 | 1 | -2/+2 |
| | |||||
* | Rename quad function to quadr to avoid clash with Solaris quad typedef | Daniel Zhu | 2008-06-21 | 1 | -3/+3 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | fix-build: remove ctx->_Facing assignment | Brian | 2007-11-30 | 1 | -8/+0 |
| | |||||
* | Remove ctx->Point._Size and ctx->Line._Width. | Brian | 2007-07-21 | 1 | -1/+1 |
| | | | | | | The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired. | ||||
* | Overhaul/simplify SWvertex and SWspan attribute handling. | Brian | 2007-05-20 | 1 | -24/+24 |
| | | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions. | ||||
* | s/fog/attrib[FRAG_ATTRIB_FOGC][0]/ | Brian | 2007-04-24 | 1 | -1/+1 |
| | |||||
* | SWvertex no longer has texcoord field, use attrib field instead | Brian | 2007-02-23 | 1 | -24/+24 |
| | |||||
* | Fix build failure in the savage driver. | Eric Anholt | 2006-07-28 | 1 | -1/+1 |
| | |||||
* | Instead of testing ctx->_TriangleCaps for flat/smooth shading, just use ↵ | Brian Paul | 2006-07-20 | 3 | -23/+26 |
| | | | | ctx->Light.ShadeModel | ||||
* | Wrap every place that accesses a dispatch table with a macro. A new script- | Ian Romanick | 2005-07-18 | 1 | -24/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generated file, called src/mesa/glapi/dispatch.h, is added. This file contains three macros for each API function. It contains a GET, a SET, and a CALL. Each of the macros take a pointer to the context and a pointer to the dispatch table. In several threads on mesa3d-dev we discussed replacing _glapi_add_entrypoint with a new function called _glapi_add_dispatch. For this discussion, the important difference between the two is that the caller of _glapi_add_dispatch does *not* know what the dispatch offset will be at compile time. Because of this callers need to track the dispatch offset returned by _glapi_add_dispatch. http://marc.theaimsgroup.com/?t=111947074700001&r=1&w=2 The downside is that driver code then has to access the dispatch table two different ways. It accesses it using structure tags (e.g., exec->Begin) for functions with fixed offsets and via a remap table (e.g., exec[ remap->NewExtensionFunction ]) for functions without fixed offsets. Yuck! Using the macros allows both types of functions to be accessed identically. If a driver needs to set a pointer for Begin, it does 'SET_Begin(ctx, exec, my_begin_function)'. If it needs to set a pointer for NewExtensionFunction, it does 'SET_NewExtensionFunction(ctx, exec, my_NewExtensionFunction_function)'. Furthermore, if at some point in the future a static offset is assigned for NewExtensionFunction, only the macros need to change (instead of every single place that accesses a table for that function). This code differs slightly from the originally posted patches in that the CALL, GET, and SET marcos no longer take a context pointer as a parameter. Brian Paul had suggested that the remap table could be stored as a global since it would be set at CreateScreen time and would be constant for all contexts. This change reflects that feedback. http://marc.theaimsgroup.com/?t=112087194700001&r=1&w=2 | ||||
* | Provide initial values for some variables. | Keith Whitwell | 2005-05-25 | 1 | -4/+4 |
| | |||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -5/+4 |
| | | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. | ||||
* | fix signed vs unsigned comparison warnings in tnl_dd | Dave Airlie | 2005-02-14 | 2 | -2/+2 |
| | |||||
* | My last attempt to fix polygon offsets with the reversed viewport depth | Felix Kuehling | 2005-01-23 | 1 | -3/+8 |
| | | | | | | | | | range used by the savage driver by negating ctx->MRD broke polygon offsets with software fallbacks. This one adds a REVERSE_DEPTH parameter to t_dd_tritmp.h (defaults to 0) that allows reversing polygon offsets for hardware rendering but not for software fallbacks. For software fallbacks depth values are reversed after polygon offsets have been applied by the depth span functions. | ||||
* | Fix loop for quads-as-triangles. | Keith Whitwell | 2005-01-13 | 1 | -2/+2 |
| | |||||
* | More changes to cope with color stride == 0 | Keith Whitwell | 2005-01-10 | 1 | -9/+36 |
| | |||||
* | Improve some quad paths, gives gears a little boost. | Keith Whitwell | 2005-01-05 | 1 | -16/+39 |
| | |||||
* | fix quads to use GL_QUADS instead of GL_TRIANGLES as primitive | Roland Scheidegger | 2004-11-12 | 1 | -1/+1 |
| | |||||
* | wip hack for EXT_stencil_two_side | Daniel Borca | 2004-11-12 | 1 | -10/+69 |
| | |||||
* | make render_quads_verts call EMIT_PRIM with the arguments in the right order, | Adam Jackson | 2004-11-12 | 1 | -1/+1 |
| | | | | | and enable hardware quads on r200 and radeon. samples/prim renders quads correctly now. | ||||
* | fixed compilation error | Daniel Borca | 2004-11-01 | 1 | -1/+2 |
| | |||||
* | make sure we don't generate random alpha | Daniel Borca | 2004-10-29 | 1 | -3/+12 |
| | |||||
* | Removed two unnecessary variables. | Ville Syrjala | 2004-10-16 | 1 | -4/+2 |
| | |||||
* | Add an option for vertices emitted to be swapped CPU_TO_LE32, to be used by the | Eric Anholt | 2004-10-02 | 1 | -0/+7 |
| | | | | r128 code. | ||||
* | fix compare w/ zero warnings (bug 988766) | Brian Paul | 2004-07-20 | 1 | -5/+4 |
| | |||||
* | Rename the various function types in t_context.h to include a tnl_ prefix. | Keith Whitwell | 2004-07-01 | 2 | -4/+4 |
| | |||||
* | Add EXT_vertex_cull support to mesa | Keith Whitwell | 2004-05-10 | 1 | -1/+1 |
| | |||||
* | Fix off-by-one in calculations for wrapped trifan, polygon primitives | Keith Whitwell | 2004-02-04 | 1 | -4/+4 |
| | |||||
* | Don't evaluate GET_CURRENT_VB_MAX_VERTS() until after calling INIT() | Keith Whitwell | 2003-12-11 | 1 | -10/+19 |
| | |||||
* | Updates to tnl_dd_dmatmp.h | Keith Whitwell | 2003-12-11 | 3 | -189/+307 |
| | | | | | | | | | | | | | | - Allocate vertices explicitly, rather than trying to talk about dma buffers. - Clean up the various Flush() operations. - Don't allow fallbacks any longer. Provide a support function to detect them ahead o ftime Updates to tnl_dd_vbtmp.h - Get rid of power-of-two vertex strides. Pack all vertices tightly. - Get texunit 2,3 emit working coorrectly. Other stuff: - Get rid of lingering Ubyte color support. - Fix a few compiler warnings. | ||||
* | Fix incorrect removal of PRIM_PARITY code (ie remove the parity code, not the | Keith Whitwell | 2003-12-09 | 1 | -23/+2 |
| | | | | non-parity code). | ||||
* | accomodate vtx-0-2-branch | Daniel Borca | 2003-11-26 | 1 | -3/+0 |
| | |||||
* | Merge vtx-0-2-branch | Keith Whitwell | 2003-11-24 | 5 | -391/+166 |
| | |||||
* | Add cast to remove compiler warning | Jon Smirl | 2003-09-17 | 1 | -4/+4 |
| |