Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | as with prev commit, also fix color index mode zoomed depth copies (bug 10608) | Brian | 2007-04-11 | 1 | -1/+1 |
| | |||||
* | fix zoomed depth copies (bug 10608) | Brian | 2007-04-11 | 1 | -2/+1 |
| | |||||
* | fix color storage bug in convolution path | Brian | 2007-04-05 | 1 | -1/+1 |
| | |||||
* | Overlapping copies with zoomZ=-1 were broken. See bug 10521. | Brian | 2007-04-04 | 1 | -47/+47 |
| | | | | | Need to check for overlapping src/dest regions before computing bottom-to-top vs. top-to-bottom order. | ||||
* | Add _swrast_span_default_secondary_color() for use with glBitmap, ↵ | Brian | 2007-03-26 | 1 | -1/+6 |
| | | | | | | | glDrawPixels, etc. Secondary color wasn't getting added to post-texture color when drawing bitmaps, images. See bug 10409. | ||||
* | merge from master | Brian | 2007-03-21 | 1 | -1/+6 |
|\ | |||||
| * | 1D convolution (and post-conv scale/bias) were inadvertantly applied to 2D ↵ | Brian | 2007-03-21 | 1 | -1/+6 |
| | | | | | | | | image transfers. | ||||
* | | Merge branch 'origin' into glsl-compiler-1 | Brian | 2007-02-22 | 1 | -2/+2 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c | ||||
| * | fixes for C++ warnings/errors | Brian | 2007-01-23 | 1 | -2/+2 |
| | | |||||
* | | New SWspanarrays attribs[] array. | Brian | 2007-02-01 | 1 | -1/+1 |
|/ | | | | | | | Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed by FRAG_ATTRIB_* values. Eliminates need to copy data into fragment program machine input registers. Will lead to future clean-ups. | ||||
* | silence used var warnings | Brian Paul | 2006-10-22 | 1 | -1/+2 |
| | |||||
* | cut and paste error: s/Width/Height/ | Brian Paul | 2006-10-14 | 1 | -1/+1 |
| | |||||
* | Consolidate, move, fix code related to color index and stencil image transfer | Brian Paul | 2006-10-13 | 1 | -25/+5 |
| | | | | operations (shift, offset, table lookup, etc). | ||||
* | s/GLuint/GLbitfield/ | Brian Paul | 2006-10-13 | 1 | -1/+1 |
| | |||||
* | Lots of changes to support runtime renderbuffer depths. | Brian Paul | 2006-10-12 | 1 | -138/+148 |
| | | | | | | _swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases. | ||||
* | use GLvoid * for _swrast_write_zoomed_rgb/rgba_span() functions | Brian Paul | 2006-10-11 | 1 | -4/+4 |
| | |||||
* | New SWspan and SWspanarrays typedefs. | Brian Paul | 2006-10-01 | 1 | -4/+4 |
| | |||||
* | Check for overflow when converting floating pt Z values to 32-bit GLuint. | Brian Paul | 2006-05-06 | 1 | -8/+39 |
| | |||||
* | Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can be | Brian Paul | 2005-12-14 | 1 | -12/+0 |
| | | | | done with fragment programs nowadays. | ||||
* | s/MEMCPY/_mesa_memcpy/ and fix typo | Brian Paul | 2005-11-17 | 1 | -5/+5 |
| | |||||
* | Use new gl_framebuffer _Depth/_StencilBuffer fields instead of | Brian Paul | 2005-11-16 | 1 | -5/+5 |
| | | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points. | ||||
* | check swrast->_FogEnabled instead of ctx->Fog.Enabled | Brian Paul | 2005-10-31 | 1 | -4/+8 |
| | |||||
* | implement CopyPixels for GL_DEPTH_STENCIL_EXT | Brian Paul | 2005-09-29 | 1 | -15/+189 |
| | |||||
* | Rewrite much of the pixel zoom code. | Brian Paul | 2005-09-29 | 1 | -24/+20 |
| | | | | Zoomed DrawPixels of packed depth/stencil works now. | ||||
* | Initial work for GL_EXT_packed_depth_stencil extension. | Brian Paul | 2005-09-28 | 1 | -0/+13 |
| | | | | glReadPixels done, glDrawPixels mostly done. | ||||
* | Lift all the format/type error checking out of the _swrast_Draw/Read/CopyPixels | Brian Paul | 2005-09-27 | 1 | -25/+20 |
| | | | | functions into the _mesa_Draw/Read/CopyPixels functions. | ||||
* | When testing visual attributes, use the Draw/Read buffer, not the context. | Brian Paul | 2005-09-22 | 1 | -8/+8 |
| | |||||
* | replace GLdepth with GLuint and remove GLdepth | Brian Paul | 2005-09-21 | 1 | -3/+1 |
| | |||||
* | Update includes post-splitting of s_texture.c | Brian Paul | 2005-09-15 | 1 | -1/+0 |
| | |||||
* | don't use DEFARRAY/CHECKARRAY stuff | Brian Paul | 2005-09-06 | 1 | -5/+1 |
| | |||||
* | Remove last remnants of pre-renderbuffer code. | Brian Paul | 2005-09-03 | 1 | -51/+1 |
| | |||||
* | Remove last of the old span code. | Brian Paul | 2005-06-02 | 1 | -19/+3 |
| | |||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -19/+63 |
| | | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. | ||||
* | fix convolution regression from revision 1.48 to 1.49 | Brian Paul | 2004-11-01 | 1 | -3/+2 |
| | |||||
* | added support for GL_ARB_draw_buffers | Brian Paul | 2004-10-02 | 1 | -3/+3 |
| | |||||
* | Remove clamp parameter from _mesa_unpack_color_span_float(). Pass the | Brian Paul | 2004-02-28 | 1 | -44/+51 |
| | | | | | | IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet). | ||||
* | consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() ↵ | Brian Paul | 2004-02-28 | 1 | -93/+12 |
| | | | | function | ||||
* | move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan() | Brian Paul | 2004-02-28 | 1 | -6/+6 |
| | |||||
* | Fix a front/back CopyPixels glitch. | Brian Paul | 2003-12-05 | 1 | -8/+28 |
| | |||||
* | Added ctx->Texture._EnabledCoordUnits bitfield. | Brian Paul | 2003-04-08 | 1 | -2/+0 |
| | | | | | | 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 | -32/+32 |
| | |||||
* | clean-ups, comments | Brian Paul | 2002-12-05 | 1 | -24/+36 |
| | |||||
* | don't call abort() | Brian Paul | 2002-10-30 | 1 | -3/+4 |
| | |||||
* | 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. | ||||
* | struct sw_span is again allocated on the stack, but the arrays of span | Brian Paul | 2002-08-07 | 1 | -70/+69 |
| | | | | | | | 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. | ||||
* | Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer() | Brian Paul | 2002-07-09 | 1 | -83/+33 |
| | | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details. | ||||
* | Implemented GL_NV_texture_rectangle extension. | Brian Paul | 2002-06-15 | 1 | -3/+3 |
| | | | | | | | | | Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits. | ||||
* | Allocate a sw_span struct in the swrast context instead of allocating it | Brian Paul | 2002-04-19 | 1 | -73/+69 |
| | | | | | on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows. | ||||
* | casts to fix GLint/GLuint mismatches | Brian Paul | 2002-04-19 | 1 | -5/+5 |
| | |||||
* | Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitive | Brian Paul | 2002-04-12 | 1 | -14/+14 |
| | | | | type, width, interp mask and array mask. |