Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor PBO validate/map code. | Brian | 2008-03-21 | 1 | -5/+3 |
| | | | | We always need to do PBO validation, so do that in core Mesa before calling driver routine. | ||||
* | add a number of PBO validate/map/unmap functions | Brian | 2008-03-21 | 1 | -27/+7 |
| | | | | Helper functions for (some) drivers, including swrast. | ||||
* | Fix mismatched map/unmap of buffers in swrast read/drawpixels error paths. | Eric Anholt | 2007-12-18 | 1 | -5/+6 |
| | |||||
* | improve 24-bit Z to 32-bit Z conversion | Brian | 2007-11-27 | 1 | -2/+3 |
| | |||||
* | merge from master | Brian | 2007-03-21 | 1 | -1/+5 |
|\ | |||||
| * | 1D convolution (and post-conv scale/bias) were inadvertantly applied to 2D ↵ | Brian | 2007-03-21 | 1 | -0/+4 |
| | | | | | | | | image transfers. | ||||
| * | fix assertion in read_depth_pixels() | Nicolai Haehnle | 2007-03-18 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'origin' into glsl-compiler-1 | Brian | 2007-03-09 | 1 | -9/+17 |
|\| | | | | | | | | | | | Conflicts: src/mesa/main/context.c | ||||
| * | if renderbuffer ptr is null, just return | Brian | 2007-02-26 | 1 | -9/+17 |
| | | |||||
* | | Merge branch 'origin' into glsl-compiler-1 | Brian | 2007-02-22 | 1 | -10/+13 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -10/+13 |
| | | |||||
* | | 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. | ||||
* | Make sure RENDER_FINISH is called on the zero pixel case. Reported by | Keith Whitwell | 2006-11-14 | 1 | -1/+1 |
| | | | | Haihao Xiang. | ||||
* | Color clamping fixes. | Brian Paul | 2006-10-22 | 1 | -5/+11 |
| | |||||
* | Consolidate, move, fix code related to color index and stencil image transfer | Brian Paul | 2006-10-13 | 1 | -7/+7 |
| | | | | operations (shift, offset, table lookup, etc). | ||||
* | In _mesa_pack_rgba_span_float() we don't need to make a temporary copy of | Brian Paul | 2006-10-13 | 1 | -4/+2 |
| | | | | | | | incoming colors when applying pixel transfer ops. In all cases, the caller either indicates there's no pixel transfer ops, or the incoming colors are coming from temporary storage already and can be safely modified. | ||||
* | s/GLuint/GLbitfield/ | Brian Paul | 2006-10-13 | 1 | -1/+1 |
| | |||||
* | adjust_colors() function replaces old _mesa_chan_to_float_span() function. | Brian Paul | 2006-10-12 | 1 | -26/+45 |
| | |||||
* | Lots of changes to support runtime renderbuffer depths. | Brian Paul | 2006-10-12 | 1 | -54/+74 |
| | | | | | | _swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases. | ||||
* | rewrite of read_fast_rgba_pixels() | Brian Paul | 2006-10-06 | 1 | -51/+37 |
| | |||||
* | updated comment | Brian Paul | 2006-09-13 | 1 | -1/+1 |
| | |||||
* | free convolved image / fix mem leak (bug 7077) | Brian Paul | 2006-05-30 | 1 | -0/+1 |
| | |||||
* | minor clean-ups around DepthScale/Bias | Brian Paul | 2006-05-07 | 1 | -6/+5 |
| | |||||
* | Need to check for new state and do readpixels/drawpixels clipping after | Brian Paul | 2006-03-22 | 1 | -5/+15 |
| | | | | | we call RENDER_START since that may involve validating the drawable and updating its dimensions. | ||||
* | optimize case of reading GL_DEPTH_STENCIL pixels from GL_DEPTH_STENCIL ↵ | Brian Paul | 2005-11-17 | 1 | -28/+61 |
| | | | | renderbuffer | ||||
* | Use new gl_framebuffer _Depth/_StencilBuffer fields instead of | Brian Paul | 2005-11-16 | 1 | -4/+4 |
| | | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points. | ||||
* | Use Visual.depthBits rather than Renderbuffer::DepthBits for depth buffer | Brian Paul | 2005-10-04 | 1 | -4/+5 |
| | | | | operations. | ||||
* | simplify the read_depth_stencil_pixels() function | Brian Paul | 2005-10-01 | 1 | -27/+14 |
| | |||||
* | minor improvements | Brian Paul | 2005-09-30 | 1 | -5/+5 |
| | |||||
* | Rewrite much of the pixel zoom code. | Brian Paul | 2005-09-29 | 1 | -14/+4 |
| | | | | Zoomed DrawPixels of packed depth/stencil works now. | ||||
* | Initial work for GL_EXT_packed_depth_stencil extension. | Brian Paul | 2005-09-28 | 1 | -10/+97 |
| | | | | 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 | -99/+6 |
| | | | | functions into the _mesa_Draw/Read/CopyPixels functions. | ||||
* | fix clipped glReadPixels bug | Brian Paul | 2005-09-23 | 1 | -0/+3 |
| | |||||
* | When testing visual attributes, use the Draw/Read buffer, not the context. | Brian Paul | 2005-09-22 | 1 | -14/+15 |
| | |||||
* | replace GLdepth with GLuint and remove GLdepth | Brian Paul | 2005-09-21 | 1 | -10/+5 |
| | |||||
* | lots of little clean-ups, improvements | Brian Paul | 2005-09-16 | 1 | -63/+63 |
| | |||||
* | don't use DEFARRAY/CHECKARRAY stuff | Brian Paul | 2005-09-06 | 1 | -3/+1 |
| | |||||
* | Remove last remnants of pre-renderbuffer code. | Brian Paul | 2005-09-03 | 1 | -12/+2 |
| | |||||
* | remove old span code | Brian Paul | 2005-06-04 | 1 | -9/+1 |
| | |||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -30/+61 |
| | | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. | ||||
* | GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking | Brian Paul | 2004-11-10 | 1 | -15/+15 |
| | | | | | | | and ignored for 1D and 2D images. Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function. This change gets propogated to some other routines. Also added new _mesa_image_address[123]d() convenience functions. | ||||
* | use the new _mesa_clip_readpixels() routine | Brian Paul | 2004-11-09 | 1 | -34/+37 |
| | |||||
* | don't use ctx->Pack, use the function argument | Brian Paul | 2004-11-09 | 1 | -13/+12 |
| | |||||
* | Allow the software fallback glDrawPixels, glReadPixels, glBitmap commands to | Brian Paul | 2004-10-31 | 1 | -9/+29 |
| | | | | | work with real, hardware-based PBOs in the future by mapping/unmapping the PBO buffer as needed. | ||||
* | New glTexImage code. | Brian Paul | 2004-04-22 | 1 | -1/+7 |
| | | | | | | | | The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete. | ||||
* | Implementation of GL_EXT_pixel_buffer_object extension. | Brian Paul | 2004-03-13 | 1 | -7/+15 |
| | | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet. | ||||
* | rename some span pack/unpack functions for better uniformity | Brian Paul | 2004-02-28 | 1 | -4/+4 |
| | |||||
* | added missing <type> error checking in read_index_pixels() | Brian Paul | 2003-11-18 | 1 | -3/+13 |
| | |||||
* | Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything. | Ian Romanick | 2003-06-05 | 1 | -1/+0 |
| | |||||
* | replace _mesa_ prefix with _swrast_, remove s_histogram.[ch] | Brian Paul | 2003-03-25 | 1 | -8/+8 |
| |