Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rather than always allocating 100 instructions, put instructions into a | Brian Paul | 2006-10-29 | 1 | -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 Paul | 2006-10-29 | 1 | -1/+1 |
| | |||||
* | s/GLchan/GLubyte/ | Brian Paul | 2006-10-24 | 1 | -4/+4 |
| | |||||
* | whitespace clean-up | Brian Paul | 2006-10-24 | 2 | -4/+4 |
| | |||||
* | Color clamping fixes. | Brian Paul | 2006-10-22 | 4 | -2/+40 |
| | |||||
* | minor re-org, doxygen comments | Brian Paul | 2006-10-18 | 1 | -11/+13 |
| | |||||
* | Don't pass x/y/width/height to ctx->Driver.Accum(). | Brian Paul | 2006-10-18 | 2 | -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.c | Brian Paul | 2006-10-17 | 1 | -12/+0 |
| | | | | Add support for runtime colorbuffer types. | ||||
* | check if ctx->Driver.GetBufferSize==NULL and no-op | Brian Paul | 2006-10-17 | 2 | -5/+10 |
| | |||||
* | Set _NEW_BUFFERS in _mesa_resize_framebuffer(). This makes sure the swrast | Brian Paul | 2006-10-16 | 1 | -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 initialization | Brian Paul | 2006-10-15 | 1 | -0/+20 |
| | | | | to describe what should be changed in the drivers. | ||||
* | updated comments, mark GetBufferSize() and ResizeBuffers() as obsolete | Brian Paul | 2006-10-15 | 2 | -11/+20 |
| | |||||
* | 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 |
| |