summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* Rather than always allocating 100 instructions, put instructions into aBrian Paul2006-10-291-18/+42
| | | | | temporary buffer, then copy into a malloc'd array of the correct size. According to Glean texCombine, we never need more than 21 instructions.
* Change _mesa_init_instruction() to initialize an array of instructions.Brian Paul2006-10-291-1/+1
|
* s/GLchan/GLubyte/Brian Paul2006-10-241-4/+4
|
* whitespace clean-upBrian Paul2006-10-242-4/+4
|
* Color clamping fixes.Brian Paul2006-10-224-2/+40
|
* minor re-org, doxygen commentsBrian Paul2006-10-181-11/+13
|
* Don't pass x/y/width/height to ctx->Driver.Accum().Brian Paul2006-10-182-8/+3
| | | | | Compute the region after we've locked (and possibly updated the buffer's size). Same thing is needed for ctx->Driver.Clear().
* Move struct atifs_machine into s_atifragshader.cBrian Paul2006-10-171-12/+0
| | | | Add support for runtime colorbuffer types.
* check if ctx->Driver.GetBufferSize==NULL and no-opBrian Paul2006-10-172-5/+10
|
* Set _NEW_BUFFERS in _mesa_resize_framebuffer(). This makes sure the swrastBrian Paul2006-10-161-2/+7
| | | | | module updates its state (CLIP_BIT) upon resizes. The driver could do this instead, but doing it here is safer.
* Added #if / #else / #endif around code related to framebuffer initializationBrian Paul2006-10-151-0/+20
| | | | to describe what should be changed in the drivers.
* updated comments, mark GetBufferSize() and ResizeBuffers() as obsoleteBrian Paul2006-10-152-11/+20
|
* 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
|