summaryrefslogtreecommitdiff
path: root/src/mesa/main/pixel.c
AgeCommit message (Collapse)Author
2011-02-28mesa: move PBO-related functions into a new fileBrian Paul
2011-02-28mesa: remove GL_SGI_texture_color_table supportBrian Paul
It was only implemented in the swrast driver and probably not used by any applications. A modern app would use a dependent/chained texture lookup in the fragment shader.
2011-01-07mesa: Directly include mfeatures.h in files that perform feature tests.Vinson Lee
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-09-23mesa: Remove EXT_convolution.Eric Anholt
More optional code.
2010-09-23mesa: Remove SGI_color_matrix.Eric Anholt
Another optional ARB_imaging subset extension.
2010-09-23mesa: Remove SGI_color_table.Eric Anholt
Another optional ARB_imaging subset extension.
2010-09-23mesa: Remove EXT_histogram.Eric Anholt
This has always been optional, and not useful.
2010-02-25mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu
glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
2010-02-25mesa: Remove dead error condition.Vinson Lee
2010-02-19mesa: replace old MEMCPY macro with memcpyBrian Paul
2010-02-09mesa: Enable true refcounting for NullBufferObj.Michal Krol
This object can be shared with another context, so we cannot just delete it when the owning context is being destroyed. Ensuring that buffer objects are properly refcounted guarantees NullBufferObj is destroyed when all references to it are removed.
2010-01-18mesa: Remove unnecessary header from pixel.c.Vinson Lee
2009-09-24mesa/main: Make FEATURE_pixel_transfer follow feature conventions.Chia-I Wu
As shown in mfeatures.h, this allows users of pixel.h to work without knowing if the feature is available.
2009-09-03mesa: use new _mesa_map_pbo_source/dest() functions in more placesBrian Paul
This trims down the code a bit. The next step would be to combine the validate and map operations into one helper...
2009-08-12mesa: use _mesa_is_bufferobj()Brian Paul
2009-05-07mesa: move the NullBufferObj from GLcontext to gl_shared_stateBrian Paul
Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state.
2009-04-22mesa: fix comment typoBrian Paul
2009-02-10mesa: s/_IMAGE_NEW_TRANSFER_STATE/_MESA_NEW_TRANSFER_STATE/ to be more ↵Brian Paul
consistant with other flags
2008-11-10mesa: new _mesa_is_pow_two() functionBrian
2008-09-23mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca
2008-09-21mesa: refactor: move initialization of DefaultPacking state.Brian Paul
2008-09-21mesa: refactor: move pixel map/scale/bias code into image.cBrian Paul
pixel.c is just the API-related code now.
2008-09-21mesa: refactor: new _mesa_init_pixelstore() functionBrian Paul
(cherry picked from commit 5f91007f996d0b7e3233f221a6b0056203e356d2)
2008-09-21mesa: refactor: move glPixelStore function into new pixelstore.c fileBrian Paul
2007-03-21merge from masterBrian
2007-03-16Colortable re-org.Brian
The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables.
2007-03-14pixelmap code simplificationBrian
2007-03-14Re-org of gl_pixel_attrib struct.Brian
Reorder fields according to the order in which the pixel transfer operations take place. Improve comments. Move the pixel maps out of gl_pixel_attrib since they're not supposed to be pushed/popped by glPush/PopAttrib. New gl_pixelmap and gl_pixelmaps structs to contain the pixelmaps.
2007-03-13fix ctx->Pixel.PostConvolutionScale/Bias subscript bugsBrian
2006-10-24s/GLchan/GLubyte/Brian Paul
2006-10-13Consolidate, move, fix code related to color index and stencil image transferBrian Paul
operations (shift, offset, table lookup, etc).
2006-10-13Revamp color table code.Brian Paul
Always store all color tables as both float and ubyte.
2006-10-12remove _mesa_chan_to_float_span(), rename _mesa_map_ci8_to_rgba()Brian Paul
2006-10-12_mesa_map_ci_to_rgba_chan() no longer usedBrian Paul
2005-12-14Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul
done with fragment programs nowadays.
2005-11-09Bug 4996.Brian Paul
Replace use of FLOAT_TO_USHORT with either CLAMPED_FLOAT_TO_USHORT or UNCLAMPED_FLOAT_TO_USHORT. Same should be done for UBYTE, UINT, etc.
2005-10-05s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.Brian Paul
2005-09-28added _mesa_scale_and_bias_depth()Brian Paul
2005-08-10the PIXEL_MAP_I_TO_I table should be GLfloat, not GLintBrian Paul
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2004-11-10GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul
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.
2004-10-31Use the _mesa_scale_and_bias_rgba() function in the convolution functions.Brian Paul
Minor clean-ups.
2004-10-31PBO support for gl[Get]PixelMap functionsBrian Paul
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2004-02-28move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()Brian Paul
2004-02-28replace color table FloatTable boolean with Type enumBrian Paul
2003-10-21Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett
points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.