summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/histogram.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: use _mesa_is_bufferobj()Brian Paul2009-08-121-4/+4
|
* mesa: minor state-update changes in histogram codeBrian Paul2009-04-221-5/+2
| | | | | Call FLUSH_VERTICES() in _mesa_Histogram(). No need to signal _NEW_PIXEL in ResetHistogram(), ResetMinmax().
* mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float()Brian Paul2009-04-031-1/+1
| | | | | 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 formatRoland Scheidegger2009-03-281-1/+1
| | | | | 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: new _mesa_is_pow_two() functionBrian2008-11-101-1/+1
|
* mesa: refactor: move _mesa_update_minmax/histogram() into image.cBrian Paul2008-09-211-65/+0
| | | | (cherry picked from commit eded7f010d344a909cf9c403eb3bdad91804d174)
* In _mesa_pack_rgba_span_float() we don't need to make a temporary copy ofBrian Paul2006-10-131-2/+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.
* GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul2004-11-101-2/+2
| | | | | | | 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.
* updated for PBOsBrian Paul2004-10-311-4/+57
|
* New glTexImage code.Brian Paul2004-04-221-49/+47
| | | | | | | | 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.
* rename some span pack/unpack functions for better uniformityBrian Paul2004-02-281-1/+1
|
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-10/+10
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-0/+35
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* histogram code move, remove s_histogram.[ch] from MakefilesBrian Paul2003-03-251-1/+73
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-4/+3
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* Header file clean-up:Brian Paul2002-10-241-5/+1
| | | | | | | | 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.
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-3/+3
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-36/+36
|
* fixed glitches in error checking of imaging extensionsBrian Paul2001-02-271-11/+11
|
* Changed FetchTexel() function pointer arguments.Brian Paul2001-02-171-6/+6
| | | | | | | Implemented glGetTexImage(format=GL_COLOR_INDEX). Changed _mesa_unpack_depth_span() args. Minor changes/clean-ups in mtypes.h. Histogram counter component sizes were wrong.
* added packed types to glGetMinMax and glGetHistogram error checksBrian Paul2001-01-301-4/+28
|
* Major rework of tnl moduleKeith Whitwell2000-12-261-13/+37
| | | | | | | New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.
* fixed conformance problems in min/max and histogram result packingBrian Paul2000-12-131-139/+331
|
* generate GL_INVALID_OPERATION error for bad image format/type combinationsBrian Paul2000-12-101-44/+11
|
* replaced _NEW_IMAGING with _NEW_PIXELBrian Paul2000-11-101-5/+5
|
* renamed imaging files to histogram since that's what's insideBrian Paul2000-11-101-0/+828