Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: initial support for unnormalized integer texture formats | Brian Paul | 2010-07-05 | 1 | -130/+321 |
| | | | | As defined by GL_EXT_texture_integer. | ||||
* | mesa: move/rename is_depth_or_stencil_format() | Brian Paul | 2010-04-27 | 1 | -0/+26 |
| | | | | Put it with other, similar functions. | ||||
* | mesa: make is_compressed_format() non-static | Brian Paul | 2010-04-23 | 1 | -0/+34 |
| | |||||
* | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | 2010-02-19 | 1 | -4/+4 |
| | |||||
* | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | 2010-02-19 | 1 | -24/+24 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | mesa: Fix compiler warnings | Karl Schultz | 2010-02-13 | 1 | -4/+4 |
| | | | | | Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio. | ||||
* | Merge branch 'mesa_7_7_branch' | Brian Paul | 2010-01-22 | 1 | -1/+0 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c | ||||
| * | mesa: Remove unnecessary header from image.c. | Vinson Lee | 2010-01-18 | 1 | -1/+0 |
| | | |||||
* | | Merge branch 'mesa_7_7_branch' | Brian Paul | 2010-01-04 | 1 | -0/+2 |
|\| | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c | ||||
| * | mesa: added GL_DU8DV8_ATI in extract_float_rgba() | Brian Paul | 2010-01-04 | 1 | -0/+2 |
| | | | | | | | | Fixes warning seen with Shadowgrounds. See bug 24016. | ||||
* | | mesa: more detailed error message in extract_float_rgba() | Brian Paul | 2010-01-04 | 1 | -1/+3 |
|/ | |||||
* | mesa: fix return value when clipping {Read,Draw}Pixels height <= 0 | Ben Skeggs | 2009-10-05 | 1 | -2/+2 |
| | | | | Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | mesa: new _mesa_expand_bitmap() function | Brian Paul | 2009-09-01 | 1 | -0/+85 |
| | |||||
* | mesa: added _mesa_is_stencil_format() | Brian Paul | 2009-08-31 | 1 | -0/+16 |
| | |||||
* | mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.c | Brian Paul | 2009-08-13 | 1 | -0/+204 |
| | |||||
* | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-08-05 | 1 | -0/+178 |
|\ | | | | | | | | | | | Conflicts: src/mesa/main/state.c | ||||
| * | mesa: make _mesa_clip_blit() a shared function | Brian Paul | 2009-08-05 | 1 | -0/+178 |
| | | |||||
* | | Merge branch 'mesa_7_5_branch' | José Fonseca | 2009-06-11 | 1 | -1/+1 |
|\| | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c | ||||
| * | mesa: Fix typo in bitmask. | José Fonseca | 2009-06-10 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-22 | 1 | -13/+23 |
|\| | |||||
| * | mesa: allow GL_BITMAP type in _mesa_image_image_stride() | Brian Paul | 2009-05-22 | 1 | -13/+23 |
| | | | | | | | | | | | | | | It's possible to hand a GL_COLOR_INDEX/GL_BITMAP image to glTexImage3D() which gets converted to RGBA via the glPixelMap tables. This fixes a failure with piglit/fdo10370 with Gallium. | ||||
* | | mesa: add GL_DOUBLE case in _mesa_sizeof_type() | Brian Paul | 2009-05-07 | 1 | -0/+2 |
|/ | |||||
* | mesa: add another special/optimized case in _mesa_unpack_depth_span() | Brian Paul | 2009-04-07 | 1 | -0/+11 |
| | |||||
* | mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float() | Brian Paul | 2009-04-03 | 1 | -3/+6 |
| | | | | | It was only set to GL_TRUE in one place where it isn't really needed (glGetTexImage(sRGB format)). | ||||
* | mesa: add new signed rgba texture format | Roland Scheidegger | 2009-03-28 | 1 | -14/+3 |
| | | | | | This is a (partial) backport of the signed texture format support in OGL 3.1. Since it wasn't promoted from an existing extension roll our own. | ||||
* | mesa: use the IROUND() macro in pixel packing code | Brian Paul | 2009-03-18 | 1 | -108/+108 |
| | | | | | | It turns out some tests are sensitive to rounding vs. truncating when converting float color values to integers in glReadPixels(). In particular, this matters when the destination format is 5/6/5 or 4/4/4/4, etc. | ||||
* | mesa: added GL_DU8DV8_ATI case in _mesa_components_in_format() | Brian Paul | 2009-03-12 | 1 | -0/+1 |
| | | | | This gets hit when glTexSubImage2D() is called with format==GL_DU8DV8_ATI. | ||||
* | mesa: move declarations before code | Brian Paul | 2009-03-12 | 1 | -2/+2 |
| | |||||
* | mesa: add support for ATI_envmap_bumpmap | Roland Scheidegger | 2009-03-12 | 1 | -3/+150 |
| | | | | | | | | add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly) | ||||
* | mesa: Fix the size per pixel for packed pixel format data type. | Xiang, Haihao | 2009-01-06 | 1 | -1/+1 |
| | |||||
* | mesa: Clip copytexsubimage to read framebuffer bounds, not scissor region. | Eric Anholt | 2008-12-18 | 1 | -1/+1 |
| | |||||
* | mesa: Correct _mesa_clip_to_region() off-by-one. | Eric Anholt | 2008-12-18 | 1 | -2/+2 |
| | | | | | | | | | | Note how if: x + width == xmax + 0: width -= 0 x + width == xmax + 1: width -= 0 x + width == xmax + 2: width -= 1 So, the function was clipping to [xmin, xmax+1), not [xmin, xmax) like it was supposed to. Same for ymax. | ||||
* | mesa: clamp luminance if needed. | Xiang, Haihao | 2008-11-19 | 1 | -1/+1 |
| | | | | | This fixes glReadPixels(GL_LUMINANCE, GL_FLOAT)/glGetTexImage(GL_LUMINANCE, GL_FLOAT) issue on fixed-point color buffers. | ||||
* | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | 2008-09-23 | 1 | -3/+3 |
| | |||||
* | Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in ↵ | Brian | 2008-09-23 | 1 | -0/+31 |
| | | | | | | | the drivers. This should probably be pulled into main-line Mesa... (cherry picked from commit 324ecadbfdf9b944e059832f146451e4151dcb21) | ||||
* | mesa: refactor: move _mesa_update_minmax/histogram() into image.c | Brian Paul | 2008-09-21 | 1 | -3/+64 |
| | | | | (cherry picked from commit eded7f010d344a909cf9c403eb3bdad91804d174) | ||||
* | mesa: refactor: move pixel map/scale/bias code into image.c | Brian Paul | 2008-09-21 | 1 | -1/+421 |
| | | | | pixel.c is just the API-related code now. | ||||
* | mesa: fix inconsistent use of GL_UNSIGNED_INT vs. GL_UNSIGNED_INT_24_8_EXT ↵ | Brian Paul | 2008-06-17 | 1 | -1/+1 |
| | | | | for Z unpacking | ||||
* | fix byte swap bug for GLint stencil indexes (bug 11909) | Brian | 2007-08-09 | 1 | -1/+1 |
| | |||||
* | fix stencil value masking bug 11805, and fix sizeof() bug | Brian | 2007-08-02 | 1 | -6/+3 |
| | |||||
* | handle LSB_FIRST in _mesa_pack_bitmap by the way used in | Xiang, Haihao | 2007-07-30 | 1 | -8/+8 |
| | | | | _mesa_unpack_bitmap | ||||
* | Change float depthScale param to _mesa_unpack_depth_span() to GLuint depthMax. | Brian | 2007-07-08 | 1 | -11/+11 |
| | |||||
* | check depthScale value for optimized ushort->uint case (fixes bug 11474) | Brian | 2007-07-08 | 1 | -1/+13 |
| | |||||
* | stencil pixel map didn't work in _mesa_unpack_stencil_span(), bug 11475 | Brian | 2007-07-05 | 1 | -12/+12 |
| | |||||
* | avoid unnecessary clamping of depth values (bug 11448) | Brian | 2007-07-02 | 1 | -28/+51 |
| | |||||
* | more indentation fixes, remove 'register' keywords | Brian | 2007-05-10 | 1 | -29/+26 |
| | |||||
* | re-indent some code | Brian | 2007-05-10 | 1 | -54/+62 |
| | |||||
* | fix SkipPixels bugs in _mesa_pack_bitmap(), bug 10690 | Brian | 2007-04-21 | 1 | -4/+4 |
| | |||||
* | In _mesa_unpack_depth_span() look for special cases of GLuint->GLushort and ↵ | Brian | 2007-04-19 | 1 | -0/+31 |
| | | | | | | | | GLushort->GLuint conversion. This improves performance and avoids int/float/int conversion problems that can introduce errors during glCopyTexImage(). Another fix for the depth peeling algorithm. | ||||
* | mesa: revert f9f79c8d770e696249bd98c68b563f887562c974 | Xiang, Haihao | 2007-03-21 | 1 | -14/+5 |
| | | | | | | | to fix #10232 Table6.1(in gl2.1) has been applied for glGetTexImage before calling into _mesa_pack_rgba_span_float. |