summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pixel.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: move PBO-related functions into a new fileBrian Paul2011-02-281-0/+1
|
* mesa: remove GL_SGI_texture_color_table supportBrian Paul2011-02-281-3/+0
| | | | | | 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.
* mesa: Directly include mfeatures.h in files that perform feature tests.Vinson Lee2011-01-071-0/+1
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-6/+6
|
* mesa: Remove EXT_convolution.Eric Anholt2010-09-231-82/+0
| | | | More optional code.
* mesa: Remove SGI_color_matrix.Eric Anholt2010-09-231-66/+0
| | | | Another optional ARB_imaging subset extension.
* mesa: Remove SGI_color_table.Eric Anholt2010-09-231-14/+0
| | | | Another optional ARB_imaging subset extension.
* mesa: Remove EXT_histogram.Eric Anholt2010-09-231-8/+0
| | | | This has always been optional, and not useful.
* mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu2010-02-251-1/+1
| | | | | | 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.
* mesa: Remove dead error condition.Vinson Lee2010-02-251-1/+1
|
* mesa: replace old MEMCPY macro with memcpyBrian Paul2010-02-191-2/+2
|
* mesa: Enable true refcounting for NullBufferObj.Michal Krol2010-02-091-2/+6
| | | | | | | | 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.
* mesa: Remove unnecessary header from pixel.c.Vinson Lee2010-01-181-1/+0
|
* mesa/main: Make FEATURE_pixel_transfer follow feature conventions.Chia-I Wu2009-09-241-9/+31
| | | | | As shown in mfeatures.h, this allows users of pixel.h to work without knowing if the feature is available.
* mesa: use new _mesa_map_pbo_source/dest() functions in more placesBrian Paul2009-09-031-158/+81
| | | | | This trims down the code a bit. The next step would be to combine the validate and map operations into one helper...
* mesa: use _mesa_is_bufferobj()Brian Paul2009-08-121-12/+12
|
* mesa: move the NullBufferObj from GLcontext to gl_shared_stateBrian Paul2009-05-071-6/+6
| | | | | Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state.
* mesa: fix comment typoBrian Paul2009-04-221-1/+1
|
* mesa: s/_IMAGE_NEW_TRANSFER_STATE/_MESA_NEW_TRANSFER_STATE/ to be more ↵Brian Paul2009-02-101-1/+1
| | | | consistant with other flags
* mesa: new _mesa_is_pow_two() functionBrian2008-11-101-3/+3
|
* mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca2008-09-231-1/+1
|
* mesa: refactor: move initialization of DefaultPacking state.Brian Paul2008-09-211-20/+0
|
* mesa: refactor: move pixel map/scale/bias code into image.cBrian Paul2008-09-211-407/+11
| | | | pixel.c is just the API-related code now.
* mesa: refactor: new _mesa_init_pixelstore() functionBrian Paul2008-09-211-28/+0
| | | | (cherry picked from commit 5f91007f996d0b7e3233f221a6b0056203e356d2)
* mesa: refactor: move glPixelStore function into new pixelstore.c fileBrian Paul2008-09-211-196/+0
|
* merge from masterBrian2007-03-211-311/+172
|\
| * Colortable re-org.Brian2007-03-161-12/+8
| | | | | | | | | | The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables.
| * pixelmap code simplificationBrian2007-03-141-253/+124
| |
| * Re-org of gl_pixel_attrib struct.Brian2007-03-141-112/+106
| | | | | | | | | | | | | | | | 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.
* | fix ctx->Pixel.PostConvolutionScale/Bias subscript bugsBrian2007-03-131-6/+6
|/
* s/GLchan/GLubyte/Brian Paul2006-10-241-4/+4
|
* Consolidate, move, fix code related to color index and stencil image transferBrian Paul2006-10-131-81/+0
| | | | operations (shift, offset, table lookup, etc).
* Revamp color table code.Brian Paul2006-10-131-416/+176
| | | | Always store all color tables as both float and ubyte.
* remove _mesa_chan_to_float_span(), rename _mesa_map_ci8_to_rgba()Brian Paul2006-10-121-68/+4
|
* _mesa_map_ci_to_rgba_chan() no longer usedBrian Paul2006-10-121-45/+2
|
* Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul2005-12-141-4/+1
| | | | done with fragment programs nowadays.
* Bug 4996.Brian Paul2005-11-091-10/+10
| | | | | 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.
* s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table.Brian Paul2005-10-051-2/+2
|
* added _mesa_scale_and_bias_depth()Brian Paul2005-09-281-0/+13
|
* the PIXEL_MAP_I_TO_I table should be GLfloat, not GLintBrian Paul2005-08-101-12/+13
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-2/+0
| | | | | | | 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/unpackingBrian Paul2004-11-101-6/+6
| | | | | | | 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 _mesa_scale_and_bias_rgba() function in the convolution functions.Brian Paul2004-10-311-3/+1
| | | | Minor clean-ups.
* PBO support for gl[Get]PixelMap functionsBrian Paul2004-10-311-82/+371
|
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-0/+2
| | | | 1015696)
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-211-3/+7
| | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
* Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul2004-03-131-1/+29
| | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
* move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()Brian Paul2004-02-281-52/+321
|
* replace color table FloatTable boolean with Type enumBrian Paul2004-02-281-6/+7
|
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-11/+11
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.