Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove needless condition | Brian Paul | 2006-10-13 | 1 | -3/+1 |
| | |||||
* | Consolidate, move, fix code related to color index and stencil image transfer | Brian Paul | 2006-10-13 | 4 | -147/+122 |
| | | | | operations (shift, offset, table lookup, etc). | ||||
* | In _mesa_pack_rgba_span_float() we don't need to make a temporary copy of | Brian Paul | 2006-10-13 | 6 | -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 Paul | 2006-10-13 | 2 | -14/+14 |
| | |||||
* | s/GL_FALSE/0x0/ | Brian Paul | 2006-10-13 | 1 | -1/+1 |
| | |||||
* | removed obsolete _mesa_pack_rgba_span_chan() | Brian Paul | 2006-10-13 | 2 | -80/+0 |
| | |||||
* | Revamp color table code. | Brian Paul | 2006-10-13 | 6 | -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 Paul | 2006-10-12 | 2 | -76/+6 |
| | |||||
* | _mesa_map_ci_to_rgba_chan() no longer used | Brian Paul | 2006-10-12 | 2 | -53/+4 |
| | |||||
* | don't use temp storage in _mesa_convert_colors() when possible | Brian Paul | 2006-10-12 | 1 | -47/+60 |
| | |||||
* | Fix bug #4681. | Ian Romanick | 2006-10-11 | 2 | -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 Paul | 2006-10-11 | 2 | -15/+153 |
| | | | | _mesa_clip_drawpixels() now handles Pixel.ZoomY==-1. | ||||
* | sources for X.org xserver build | Brian Paul | 2006-10-11 | 1 | -0/+64 |
| | |||||
* | a step toward moving run-time vertex program state out of GLcontext | Brian Paul | 2006-10-10 | 1 | -14/+25 |
| | |||||
* | Move the fp_machine struct into s_nvfragmprog.c since (except for program | Brian Paul | 2006-10-10 | 2 | -21/+9 |
| | | | | debug) it's only used there. | ||||
* | minor formatting fix | Brian Paul | 2006-10-04 | 1 | -1/+1 |
| | |||||
* | return null if no context | Brian Paul | 2006-10-02 | 1 | -2/+5 |
| | |||||
* | include mipmap.h | Brian Paul | 2006-09-29 | 1 | -0/+1 |
| | |||||
* | Move mipmap generation functions, texture scaling functions into new | Brian Paul | 2006-09-29 | 7 | -1135/+1211 |
| | | | | mipmap.c file. | ||||
* | Fix and re-enable swizzling paths for big endian platforms. | Michel Dänzer | 2006-09-25 | 1 | -12/+10 |
| | |||||
* | Flush driver, not just tnl module. | Keith Whitwell | 2006-09-22 | 1 | -0/+26 |
| | |||||
* | resize buffers in MakeCurrent | Keith Whitwell | 2006-09-22 | 3 | -4/+14 |
| | |||||
* | Remove unused variable. | Keith Whitwell | 2006-09-22 | 1 | -2/+0 |
| | |||||
* | bump version to 6.5.2 | Brian Paul | 2006-09-21 | 1 | -3/+3 |
| | |||||
* | move a conditional into an assertion | Brian Paul | 2006-09-21 | 1 | -3/+6 |
| | |||||
* | replace assert(0) with error report, improved comments, etc | Brian Paul | 2006-09-21 | 1 | -16/+27 |
| | |||||
* | Fix incorrect byteswap_mapping(). Disable swizzle path on bigEndian | Keith Whitwell | 2006-09-21 | 1 | -24/+25 |
| | | | | until someone can figure out whats wrong there. | ||||
* | use new _mesa_little_endian() function | Brian Paul | 2006-09-21 | 1 | -22/+10 |
| | |||||
* | added _mesa_little_endian() | Brian Paul | 2006-09-21 | 1 | -1/+12 |
| | |||||
* | Fix the dstMap for rgb888 and bgr888 texture formats, which are the | Keith Whitwell | 2006-09-21 | 1 | -4/+4 |
| | | | | opposite to what you'd naively expect. | ||||
* | Deal with the overloading of _mesa_texstore_rgba, which is actually | Keith Whitwell | 2006-09-20 | 1 | -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 texture | Keith Whitwell | 2006-09-20 | 1 | -76/+260 |
| | | | | destination formats. | ||||
* | Support both big and little endian, more source types and more | Keith Whitwell | 2006-09-20 | 1 | -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 Scheidegger | 2006-09-20 | 1 | -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 Whitwell | 2006-09-20 | 1 | -12/+28 |
| | |||||
* | Enhance compute_component_mapping() to convert to and from any of the | Keith Whitwell | 2006-09-20 | 1 | -85/+119 |
| | | | | color base formats. | ||||
* | Fix _mesa_swizzle_ubyte_image() to deal with RGBA->RGB->RGBA | Keith Whitwell | 2006-09-20 | 1 | -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_rgba8888 | Roland Scheidegger | 2006-09-13 | 1 | -1/+19 |
| | |||||
* | added GL_CURRENT_RASTER_SECONDARY_COLOR query (OpenGL 2.1) | Brian Paul | 2006-09-13 | 2 | -1/+24 |
| | |||||
* | undo some accidental changes in _mesa_is_legal_format_and_type() | Brian Paul | 2006-09-11 | 1 | -4/+7 |
| | |||||
* | init accum buffer fields in _mesa_update_framebuffer_visual() | Brian Paul | 2006-09-11 | 1 | -1/+14 |
| | |||||
* | Redefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problems | Brian Paul | 2006-09-10 | 1 | -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 Whitwell | 2006-09-07 | 1 | -4/+12 |
| | |||||
* | get rid of GL_BOOLEAN definition (bug 8113) | Brian Paul | 2006-09-04 | 1 | -5/+1 |
| | |||||
* | _mesa_debug() should be a no-op when not compiled with DEBUG defined. | Brian Paul | 2006-08-29 | 1 | -1/+4 |
| | |||||
* | Error detection/reporting was broken in several places. | Brian Paul | 2006-08-25 | 1 | -45/+70 |
| | |||||
* | Remove XFree86 CVS keyword. | Brian Paul | 2006-08-25 | 1 | -3/+3 |
| | |||||
* | Add missing enums for GL_SGI_color_table. | Ian Romanick | 2006-08-25 | 1 | -2559/+2579 |
| | |||||
* | According to GL_NV_fragment_program, max frag prog length is 1024 instructions. | Brian Paul | 2006-08-24 | 1 | -1/+1 |
| | | | | Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024. | ||||
* | GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions. | Ian Romanick | 2006-08-24 | 2 | -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. |