Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added OSMesaColorClamp(), bug 4917 | Brian Paul | 2005-11-12 | 1 | -0/+6 |
| | |||||
* | Move stuff common to vertex/fragment_program into the base class, including: | Brian Paul | 2005-11-12 | 1 | -1/+1 |
| | | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program(). | ||||
* | remove unneeded #include | Brian Paul | 2005-11-05 | 1 | -3/+0 |
| | |||||
* | check swrast->_FogEnabled instead of ctx->Fog.Enabled | Brian Paul | 2005-10-31 | 1 | -1/+2 |
| | |||||
* | Rework the texture filtering functions a bit. | Brian Paul | 2005-09-16 | 1 | -40/+20 |
| | | | | No need to pass the texture unit number as an argument. | ||||
* | more GLuint->GLbitfield changes | Brian Paul | 2005-09-16 | 1 | -3/+3 |
| | |||||
* | Replace GLuint with GLbitfield where appropriate. Also replace GLuint | Brian Paul | 2005-09-15 | 1 | -1/+1 |
| | | | | with GLboolean in a few places. | ||||
* | Update includes post-splitting of s_texture.c | Brian Paul | 2005-09-15 | 1 | -1/+1 |
| | |||||
* | remove obsolete CurrentBufferBit | Brian Paul | 2005-09-05 | 1 | -5/+0 |
| | |||||
* | Rearrange the code related to GL_ARB_occlusion_object to generalize query | Brian Paul | 2005-08-27 | 1 | -1/+1 |
| | | | | objects for future types of queries. | ||||
* | removed GL_HP_occlusion_test extension | Brian Paul | 2005-08-25 | 1 | -3/+3 |
| | |||||
* | Remove NEW_RENDERBUFFER stuff. | Brian Paul | 2005-07-01 | 1 | -2/+0 |
| | | | | | Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function. | ||||
* | Don't let FragmentProgram._Active influence choice of vertex vs pixel | Keith Whitwell | 2005-05-11 | 1 | -1/+1 |
| | | | | fog. | ||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -29/+6 |
| | | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. | ||||
* | Add a facility to route all rasterization through a fragment program | Keith Whitwell | 2005-05-04 | 1 | -10/+10 |
| | | | | | | | | | | | which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode. | ||||
* | Implement software ATI_fragment_shader | Dave Airlie | 2004-12-19 | 1 | -0/+4 |
| | | | | no error detection, slow, may not be 100% correct but a good start | ||||
* | Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span(). | Brian Paul | 2004-12-18 | 1 | -4/+1 |
| | |||||
* | Removed _swrast_validate_pbo_access(). | Brian Paul | 2004-10-31 | 1 | -22/+0 |
| | | | | In x11 driver, map/unmap PBO as needed in DrawPixels functions. | ||||
* | Fix minor fog / fragment program state bug. | Brian Paul | 2004-10-13 | 1 | -11/+14 |
| | | | | Don't add diffuse and specular colors when using fragment program. | ||||
* | added support for GL_ARB_draw_buffers | Brian Paul | 2004-10-02 | 1 | -2/+2 |
| | |||||
* | Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵ | Brian Paul | 2004-08-25 | 1 | -0/+1 |
| | | | | 1015696) | ||||
* | fix capitalization, new comments, etc | Brian Paul | 2004-06-24 | 1 | -26/+56 |
| | |||||
* | Check for NULL texture object when choosing texture sampler. Fixes segfault ↵ | Brian Paul | 2004-06-02 | 1 | -1/+9 |
| | | | | when fragment program references an incomplete texture | ||||
* | Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragment | Brian Paul | 2004-04-23 | 1 | -7/+7 |
| | | | | | | | 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. | ||||
* | Implemented support for software-based AUX color buffers. | Brian Paul | 2004-03-21 | 1 | -6/+3 |
| | | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc. | ||||
* | Implementation of GL_EXT_pixel_buffer_object extension. | Brian Paul | 2004-03-13 | 1 | -0/+23 |
| | | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet. | ||||
* | move _mesa_load_state_parameters() to state validation stage | Brian Paul | 2004-02-27 | 1 | -2/+15 |
| | |||||
* | A bit of an overhaul of the fog code. | Brian Paul | 2004-02-17 | 1 | -5/+42 |
| | | | | | | glFogCoord didn't always work reliably. ARB fragment program fog options work now. Per-fragment fog computations are now perspective corrected. | ||||
* | Update NEED_SECONDARY_COLOR macro to test if either vertex/fragment | Brian Paul | 2003-12-09 | 1 | -3/+10 |
| | | | | | programs are enabled and if they need secondary color input register. Patch by Karl Rasche, with tweaks by Brian. | ||||
* | Ville Syrjala's logic op patch | Brian Paul | 2003-11-12 | 1 | -1/+1 |
| | |||||
* | More SciTech SNAP updates. Some of these files didn't really change, but | Kendall Bennett | 2003-10-22 | 1 | -1/+1 |
| | | | | | | | they show up in the list (GLU stuff) for some reason. The major change here is the addition of code in the glx86asm.py file to generate assembler stub entry points with the correct name decorations for _stdcall calling conventions so this can be used on Windows boxes. | ||||
* | Updates to SSE assembler support for Open Watcom | Kendall Bennett | 2003-10-21 | 1 | -1/+1 |
| | |||||
* | remove bogus _swrast_texture_table_lookup() call (Eric Plante) | Brian Paul | 2003-10-10 | 1 | -5/+0 |
| | |||||
* | Move away from using the ctx->_TriangleCaps bitfield. | Brian Paul | 2003-09-18 | 1 | -6/+4 |
| | | | | | New macros in context.h for testing state: NEED_SECONDARY_COLOR and NEED_TWO_SIDED_LIGHTING. | ||||
* | s/_backface_sign/_BackfaceSign/ | Brian Paul | 2003-09-18 | 1 | -1/+1 |
| | |||||
* | Implemented GL_ARB_occlusion_query (not 100% finalized). | Brian Paul | 2003-06-13 | 1 | -1/+1 |
| | |||||
* | Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places. | Brian Paul | 2003-05-01 | 1 | -0/+4 |
| | | | | Misc vertex array / vertex program changes. | ||||
* | Added ctx->Texture._EnabledCoordUnits bitfield. | Brian Paul | 2003-04-08 | 1 | -3/+1 |
| | | | | | | Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now. | ||||
* | replace _mesa_ prefix with _swrast_, remove s_histogram.[ch] | Brian Paul | 2003-03-25 | 1 | -4/+4 |
| | |||||
* | Fix up some fragment program texture enable issues. | Brian Paul | 2003-03-15 | 1 | -30/+1 |
| | | | | Implemented TXD instruction. | ||||
* | Clean-up of parser error handling/reporting. | Brian Paul | 2003-03-14 | 1 | -4/+34 |
| | | | | Basic fragment program texture instructions are limping along. | ||||
* | Move span stuff from swrast.h to s_context.h (it's private). | Brian Paul | 2003-02-23 | 1 | -3/+18 |
| | | | | | Implemented remaining fragment program instructions. Initial changes to implement fragment program texture sampling. | ||||
* | Make GL_SGI_texture_color_table work per-texture unit. | Brian Paul | 2003-01-26 | 1 | -2/+7 |
| | | | | Clean-up and optimize _swrast_texture_table_lookup(). | ||||
* | First batch of code for GL_NV_fragment_program. | Brian Paul | 2003-01-14 | 1 | -3/+3 |
| | | | | | 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 addresses | Brian Paul | 2002-10-29 | 1 | -2/+2 |
| | |||||
* | Header file clean-up: | Brian Paul | 2002-10-24 | 1 | -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. | ||||
* | init swrast->CurrentBuffer | Brian Paul | 2002-10-11 | 1 | -1/+6 |
| | |||||
* | multiple GL_POINTS can now be rendered together into one fragment span | Brian Paul | 2002-10-04 | 1 | -15/+48 |
| | |||||
* | pull-in changes from DRI/Mesa-4.0.4 | Brian Paul | 2002-09-17 | 1 | -1/+19 |
| | |||||
* | struct sw_span is again allocated on the stack, but the arrays of span | Brian Paul | 2002-08-07 | 1 | -7/+7 |
| | | | | | | | data are broken out into a new struct span_arrays which is allocated per-context (to avoid huge stack allocations - a problem on Windows). This lets us use span.redStep instead of span->redStep (for example) to hopefully get slightly better performance in the triangle functions. |