Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge SWvertex texcoord and varying fields into attrib[] array field. | Brian | 2007-02-05 | 1 | -28/+3 |
| | | | | | Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs. | ||||
* | Replace color, z, w, texture interpolants with new generic attrib interpolants. | Brian | 2007-02-02 | 1 | -7/+7 |
| | |||||
* | Checkpoint for GLSL compiler changes. | Brian | 2006-12-13 | 1 | -7/+8 |
| | | | | | | In brief: Check for enabled fragment program by looking at ctx->FragmentProgram._Current. New code for varying variables. | ||||
* | New SWspan and SWspanarrays typedefs. | Brian Paul | 2006-10-01 | 1 | -2/+2 |
| | |||||
* | Use _Enabled rather than _Active when checking for fragment shaders | Keith Whitwell | 2006-09-22 | 1 | -2/+2 |
| | |||||
* | remove rgb[] array from span_arrays_struct - was only used in a few places | Brian Paul | 2006-09-21 | 1 | -10/+11 |
| | |||||
* | update some tests for visual bit depths to use renderbuffers | Brian Paul | 2006-04-25 | 1 | -2/+2 |
| | |||||
* | Remove carriage returns. | Michal Krol | 2006-04-25 | 1 | -3/+3 |
| | |||||
* | don't need s_depth.h | Brian Paul | 2006-04-14 | 1 | -1/+0 |
| | |||||
* | Fix texcoord interpolation for fragment shaders. | Michal Krol | 2006-04-04 | 1 | -9/+12 |
| | |||||
* | put braces around RENDER_SPAN macro when called, not when defined. Fixes ↵ | Brian Paul | 2006-03-29 | 1 | -5/+5 |
| | | | | -pedantic warnings in x11 driver | ||||
* | Fix bugzilla 5253. Add {} around code in RENDER_SPAN macros when code ↵ | Karl Schultz | 2005-12-07 | 1 | -4/+4 |
| | | | | includes a variable declaration. | ||||
* | Use new gl_framebuffer _Depth/_StencilBuffer fields instead of | Brian Paul | 2005-11-16 | 1 | -2/+1 |
| | | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points. | ||||
* | Remove _IsPowerOfTwo from gl_texture_object, not really needed. | Brian Paul | 2005-10-05 | 1 | -1/+1 |
| | |||||
* | In gl_texture_image replace IntFormat with InternalFormat and Format with | Brian Paul | 2005-10-05 | 1 | -2/+2 |
| | | | | _BaseFormat to be consistant with gl_renderbuffer. | ||||
* | replace GLdepth with GLuint and remove GLdepth | Brian Paul | 2005-09-21 | 1 | -2/+2 |
| | |||||
* | Check for ATI_fragment_shader enabled | Dave Airlie | 2005-09-02 | 1 | -1/+2 |
| | |||||
* | Rearrange the code related to GL_ARB_occlusion_object to generalize query | Brian Paul | 2005-08-27 | 1 | -11/+12 |
| | | | | objects for future types of queries. | ||||
* | removed GL_HP_occlusion_test extension | Brian Paul | 2005-08-25 | 1 | -5/+3 |
| | |||||
* | Redo all the GL_LINEAR interpolation code in terms of LERP macros/functions. | Brian Paul | 2005-06-30 | 1 | -43/+43 |
| | | | | This cleans up and simplifies the arithmetic quite a bit. | ||||
* | pass mask array to PutRowRGB() in simple_z_textured_triangle() | Brian Paul | 2005-06-10 | 1 | -1/+2 |
| | |||||
* | Remove last of the old span code. | Brian Paul | 2005-06-02 | 1 | -14/+2 |
| | |||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -9/+19 |
| | | | | | | | 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 | -2/+2 |
| | | | | | | | | | | | 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. | ||||
* | Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span(). | Brian Paul | 2004-12-18 | 1 | -3/+9 |
| | |||||
* | Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵ | Brian Paul | 2004-08-25 | 1 | -1/+1 |
| | | | | 1015696) | ||||
* | fix HP occlusion testing when using generic span path | Brian Paul | 2004-06-24 | 1 | -1/+0 |
| | |||||
* | Fixed occlusion_zless_triangle() to work with 16 or 32-bit Z buffers. | Brian Paul | 2004-06-23 | 1 | -20/+32 |
| | | | | Removed some unneeded lines, other minor clean-ups. | ||||
* | only use simple_z_textured_triangle if depthBits <= 16 | Brian Paul | 2004-05-25 | 1 | -1/+3 |
| | |||||
* | Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragment | Brian Paul | 2004-04-23 | 1 | -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 color index mode rendering. | Brian Paul | 2004-03-09 | 1 | -1/+1 |
| | | | | Changed SWvertex's index field to GLfloat and fix a few other bits. | ||||
* | A bit of an overhaul of the fog code. | Brian Paul | 2004-02-17 | 1 | -0/+1 |
| | | | | | | glFogCoord didn't always work reliably. ARB fragment program fog options work now. Per-fragment fog computations are now perspective corrected. | ||||
* | just some reformatting | Brian Paul | 2004-02-17 | 1 | -16/+17 |
| | |||||
* | Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a single | Keith Whitwell | 2004-01-27 | 1 | -35/+35 |
| | | | | array, texObj->Image[face][level]. | ||||
* | Update NEED_SECONDARY_COLOR macro to test if either vertex/fragment | Brian Paul | 2003-12-09 | 1 | -1/+1 |
| | | | | | programs are enabled and if they need secondary color input register. Patch by Karl Rasche, with tweaks by Brian. | ||||
* | s/_backface_sign/_BackfaceSign/ | Brian Paul | 2003-09-18 | 1 | -1/+1 |
| | |||||
* | Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation). | Brian Paul | 2003-07-03 | 1 | -0/+1 |
| | |||||
* | Implemented GL_ARB_occlusion_query (not 100% finalized). | Brian Paul | 2003-06-13 | 1 | -5/+9 |
| | |||||
* | remove unneeded fragment program test | Brian Paul | 2003-04-21 | 1 | -1/+1 |
| | |||||
* | Added ctx->Texture._EnabledCoordUnits bitfield. | Brian Paul | 2003-04-08 | 1 | -9/+7 |
| | | | | | | 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 | -13/+13 |
| | |||||
* | Store partial derivative values in sw_span structure. | Brian Paul | 2003-03-16 | 1 | -1/+3 |
| | | | | | Implemented DDX and DDY fragment program instructions (whew!) Not fully tested yet. | ||||
* | Clean-up of parser error handling/reporting. | Brian Paul | 2003-03-14 | 1 | -1/+2 |
| | | | | Basic fragment program texture instructions are limping along. | ||||
* | Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] | Brian Paul | 2003-03-01 | 1 | -2/+1 |
| | | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h | ||||
* | comment changes | Brian Paul | 2002-12-18 | 1 | -2/+2 |
| | |||||
* | moved function declaration into the template, define the NAME to specify the ↵ | Brian Paul | 2002-11-13 | 1 | -103/+29 |
| | | | | function names | ||||
* | don't call abort() | Brian Paul | 2002-10-30 | 1 | -11/+20 |
| | |||||
* | 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. | ||||
* | merge gl_texture_image RowStride from DRI 4.0.4 | Brian Paul | 2002-09-23 | 1 | -1/+2 |
| | |||||
* | struct sw_span is again allocated on the stack, but the arrays of span | Brian Paul | 2002-08-07 | 1 | -61/+62 |
| | | | | | | | 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. |