summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* remove needless conditionBrian Paul2006-10-131-3/+1
|
* Consolidate, move, fix code related to color index and stencil image transferBrian Paul2006-10-134-147/+122
| | | | operations (shift, offset, table lookup, etc).
* In _mesa_pack_rgba_span_float() we don't need to make a temporary copy ofBrian Paul2006-10-136-44/+35
| | | | | | | 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 Paul2006-10-132-14/+14
|
* s/GL_FALSE/0x0/Brian Paul2006-10-131-1/+1
|
* removed obsolete _mesa_pack_rgba_span_chan()Brian Paul2006-10-132-80/+0
|
* Revamp color table code.Brian Paul2006-10-136-741/+322
| | | | 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-122-76/+6
|
* _mesa_map_ci_to_rgba_chan() no longer usedBrian Paul2006-10-122-53/+4
|
* don't use temp storage in _mesa_convert_colors() when possibleBrian Paul2006-10-121-47/+60
|
* Fix bug #4681.Ian Romanick2006-10-112-36/+2
| | | | | | | | | | | | | | | | | glDeleteTextures and glDeleteTexturesEXT were erroneously listed as aliases of each other. For anything /except/ GLX protocol they are aliases. This set of changes allows functions that are functionally identical but have different GLX protocol to be listed as aliases. When building with GLX_INDIRECT_RENDERING set, different static functions are used. These functions determine whether the current context is direct rendering or not. If the context is direct rendering, the aliased function (e.g., glDeleteTextures in the case of glDeleteTexturesEXT) is called. If the context is not direct rendering, the correct GLX protocol is sent. For a deeper explanation of what is changed, please see: http://dri.freedesktop.org/wiki/PartiallyAliasedFunctions
* Added _mesa_convert_colors().Brian Paul2006-10-112-15/+153
| | | | _mesa_clip_drawpixels() now handles Pixel.ZoomY==-1.
* sources for X.org xserver buildBrian Paul2006-10-111-0/+64
|
* a step toward moving run-time vertex program state out of GLcontextBrian Paul2006-10-101-14/+25
|
* Move the fp_machine struct into s_nvfragmprog.c since (except for programBrian Paul2006-10-102-21/+9
| | | | debug) it's only used there.
* minor formatting fixBrian Paul2006-10-041-1/+1
|
* return null if no contextBrian Paul2006-10-021-2/+5
|
* include mipmap.hBrian Paul2006-09-291-0/+1
|
* Move mipmap generation functions, texture scaling functions into newBrian Paul2006-09-297-1135/+1211
| | | | mipmap.c file.
* Fix and re-enable swizzling paths for big endian platforms.Michel Dänzer2006-09-251-12/+10
|
* Flush driver, not just tnl module.Keith Whitwell2006-09-221-0/+26
|
* resize buffers in MakeCurrentKeith Whitwell2006-09-223-4/+14
|
* Remove unused variable.Keith Whitwell2006-09-221-2/+0
|
* bump version to 6.5.2Brian Paul2006-09-211-3/+3
|
* move a conditional into an assertionBrian Paul2006-09-211-3/+6
|
* replace assert(0) with error report, improved comments, etcBrian Paul2006-09-211-16/+27
|
* Fix incorrect byteswap_mapping(). Disable swizzle path on bigEndianKeith Whitwell2006-09-211-24/+25
| | | | until someone can figure out whats wrong there.
* use new _mesa_little_endian() functionBrian Paul2006-09-211-22/+10
|
* added _mesa_little_endian()Brian Paul2006-09-211-1/+12
|
* Fix the dstMap for rgb888 and bgr888 texture formats, which are theKeith Whitwell2006-09-211-4/+4
| | | | opposite to what you'd naively expect.
* Deal with the overloading of _mesa_texstore_rgba, which is actuallyKeith Whitwell2006-09-201-7/+33
| | | | | | | used to store all sorts of formats. Software mesa fails the glean pixelFormats test, but it appears to be failing even with the swizzle code disabled??
* Extend swizzle support to all remaining source formats and textureKeith Whitwell2006-09-201-76/+260
| | | | destination formats.
* Support both big and little endian, more source types and moreKeith Whitwell2006-09-201-23/+98
| | | | | destination formats through the swizzle path. It would be great to see this tested on eg, PPC machines...
* reenable code in _mesa_texstore_rgba8888 to avoid the generic copy path if ↵Roland Scheidegger2006-09-201-11/+4
| | | | only swizzling is required as it works just fine (tested with glean pixelFormats test and a hacked up r200 driver which always uses that format).
* Fix various typos to pass glean pixelFormats test.Keith Whitwell2006-09-201-12/+28
|
* Enhance compute_component_mapping() to convert to and from any of theKeith Whitwell2006-09-201-85/+119
| | | | color base formats.
* Fix _mesa_swizzle_ubyte_image() to deal with RGBA->RGB->RGBAKeith Whitwell2006-09-201-12/+19
| | | | | | | conversions, ensuring that the final A value is 0xff in those cases where we use a RGBA hardware texture format to store RGB textures. Fix a couple of cases where hardwired texture conversions were ignoring this restriction.
* detect some more cases which can use straight memcpy for _mesa_texstore_rgba8888Roland Scheidegger2006-09-131-1/+19
|
* added GL_CURRENT_RASTER_SECONDARY_COLOR query (OpenGL 2.1)Brian Paul2006-09-132-1/+24
|
* undo some accidental changes in _mesa_is_legal_format_and_type()Brian Paul2006-09-111-4/+7
|
* init accum buffer fields in _mesa_update_framebuffer_visual()Brian Paul2006-09-111-1/+14
|
* Redefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problemsBrian Paul2006-09-101-4/+20
| | | | | | converting 0 to exactly 0.0 This goes against the OpenGL spec (see table 2.6) but solves problems when doing byte -> float -> ubyte conversion for particular texture formats.
* Add some asserts, fix some not-quite-bugs.Keith Whitwell2006-09-071-4/+12
|
* get rid of GL_BOOLEAN definition (bug 8113)Brian Paul2006-09-041-5/+1
|
* _mesa_debug() should be a no-op when not compiled with DEBUG defined.Brian Paul2006-08-291-1/+4
|
* Error detection/reporting was broken in several places.Brian Paul2006-08-251-45/+70
|
* Remove XFree86 CVS keyword.Brian Paul2006-08-251-3/+3
|
* Add missing enums for GL_SGI_color_table.Ian Romanick2006-08-251-2559/+2579
|
* According to GL_NV_fragment_program, max frag prog length is 1024 instructions.Brian Paul2006-08-241-1/+1
| | | | Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024.
* GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.Ian Romanick2006-08-242-26/+26
| | | | | | | | | | The functions for GL_EXT_paletted_texture that do not share GLX protocol with GL_ARB_imaging are supposed to alias the similar functions from GL_SGI_color_table. They didn't. This patch corrects this problem and enables GLX protocol for both extensions. Since this removes 3 entries from the dispatch table, this change creates a lot of changes in the generated files.