Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove rgb[] array from span_arrays_struct - was only used in a few places | Brian Paul | 2006-09-21 | 3 | -29/+29 |
| | |||||
* | new comments, indentation fixes | Brian Paul | 2006-09-21 | 1 | -11/+25 |
| | |||||
* | 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 |
| | |||||
* | GLUT_FORCE_VISUAL env var to force glut to use a particular visual (debug only) | Brian Paul | 2006-09-21 | 1 | -0/+17 |
| | |||||
* | new code to init DirectColor colormaps | Brian Paul | 2006-09-21 | 1 | -1/+22 |
| | |||||
* | 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. | ||||
* | Do a better job of choosing texture formats to avoid image conversions. | Keith Whitwell | 2006-09-21 | 1 | -5/+16 |
| | |||||
* | use the requested internal texture format where possible | Keith Whitwell | 2006-09-21 | 2 | -12/+32 |
| | |||||
* | Catch a couple of cases where we would have to delete and recreate the | Keith Whitwell | 2006-09-21 | 1 | -3/+6 |
| | | | | miptree object. | ||||
* | 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. | ||||
* | try to use a 8888 texture format which will result in only a memcopy in ↵ | Roland Scheidegger | 2006-09-20 | 5 | -23/+171 |
| | | | | mesa's texstore functions whenever possible for r200 and r300. r200 can use hw formats argb8888, rgba8888 and abgr8888 (or the opposite on big endian), r300 can use argb8888, bgra8888, rgba8888 and abgr8888 regardless of endian, as it supports free component swizzling. | ||||
* | 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. | ||||
* | Add a comment about the interactions of negative pitches, overlapping | Keith Whitwell | 2006-09-20 | 1 | -0/+8 |
| | | | | blits and the different ways of specifying a blit on this hardware. | ||||
* | remove some dead code | Keith Whitwell | 2006-09-20 | 3 | -39/+0 |
| | |||||
* | Fix some warnings | Keith Whitwell | 2006-09-20 | 1 | -1/+2 |
| | |||||
* | fix mixed texgen/non-texgen with texgen modes requiring plane parameters ↵ | Roland Scheidegger | 2006-09-20 | 1 | -4/+89 |
| | | | | (GL_OBJECT_LINEAR, GL_EYE_LINEAR). This is a chip limitation, try to hack it up regardless or use a tcl fallback in some cases. Might still produce wrong results if fixed up, but so far this corrects celestia ring shadows (in multitexture mode), doom3 (arb renderer), quake4 (arb renderer and some less visible bugs in r200 renderer), and even the remaining texgenmix broken case (this is pure luck though, it is easy to construct artifical cases where it will break). | ||||
* | Support ARB_texture_rectangle. | Keith Whitwell | 2006-09-20 | 5 | -4/+49 |
| | |||||
* | 1) Add a new flag in the sarea (coopting the unused texAge value) to | Keith Whitwell | 2006-09-20 | 5 | -8/+39 |
| | | | | | | | | | | identify context switches between members of a share group - ie. multiple contexts in a single application, possibly on different threads. In this case the contexts share a bufmgr instance and there is no need to evict textures - so don't. 2) Use a new flag 'need_flush' to ensure hardware rendering is flushed prior to starting a software fallback. | ||||
* | Broadwater seems to prefer this style of blitting. | Keith Whitwell | 2006-09-20 | 1 | -4/+1 |
| | |||||
* | make current GLX context per-thread | Brian Paul | 2006-09-20 | 1 | -4/+33 |
| | |||||
* | fix a memleak in DestroyContext() | Brian Paul | 2006-09-20 | 1 | -5/+6 |
| | |||||
* | add accelerated glCopyPixels path | Keith Whitwell | 2006-09-20 | 4 | -23/+256 |
| | |||||
* | Add a new internal program parameter value STATE_TEXRECT_SCALE which | Keith Whitwell | 2006-09-20 | 2 | -0/+12 |
| | | | | | | provides 1/width and 1/height of the active texture, useful for implementing ARB_texture_rectangle support on hardware which only supports ARB_npot-style texturing. | ||||
* | 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. | ||||
* | Export _mesa_print_alu_instruction() to allow drivers to roll their | Keith Whitwell | 2006-09-20 | 2 | -41/+43 |
| | | | | | | own debug code for programs with driver-private opcodes. Remove redundant loop in _mesa_num_inst_src_regs(). | ||||
* | restore debug output after brw_wm_fp compilation stage | Keith Whitwell | 2006-09-20 | 2 | -1/+23 |
| | |||||
* | Use DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps. | Keith Whitwell | 2006-09-20 | 1 | -1/+1 |
| | |||||
* | change make depend output redirection to 2>&1 (bug 8344) | Brian Paul | 2006-09-18 | 1 | -1/+1 |
| | |||||
* | check for n <= 1 in compute_min_mag_ranges(), bug 8320 | Brian Paul | 2006-09-18 | 1 | -3/+3 |
| | |||||
* | set lambda to zero for textured points (bug 8320) | Brian Paul | 2006-09-18 | 1 | -7/+11 |
| | |||||
* | replace GLAPI w/ static and init var to 0 (Michel Donais) | Brian Paul | 2006-09-15 | 1 | -1/+1 |
| | |||||
* | Use correct opcodes for GLX_EXT_texture_from_pixmap. | Ian Romanick | 2006-09-14 | 1 | -2/+2 |
| | | | | | Set the correct opcodes for GLX_EXT_texture_from_pixmap functions. Changes to the glproto package and the core X server are also required. | ||||
* | Fallback if ColorLogicOp is enabled. Cleanup a bit the fallback | Jerome Glisse | 2006-09-14 | 1 | -29/+53 |
| | | | | function. | ||||
* | Remove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian. | Michel Dänzer | 2006-09-14 | 1 | -2/+0 |
| | |||||
* | VS nr of urb entries is constrained to be one of a fixed set of values, | Keith Whitwell | 2006-09-14 | 1 | -2/+2 |
| | | | | specifically {8,16,32}. | ||||
* | always use argb8888 instead of rgba8888, this is far more likely to hit a ↵ | Roland Scheidegger | 2006-09-13 | 1 | -4/+4 |
| | | | | faster memcopy path in mesa (at least on little endian systems, possibly on big endian too) | ||||
* | detect some more cases which can use straight memcpy for _mesa_texstore_rgba8888 | Roland Scheidegger | 2006-09-13 | 1 | -1/+19 |
| | |||||
* | Always mark tex state atom as dirty when the texture image is dirty, this ↵ | Roland Scheidegger | 2006-09-13 | 2 | -8/+13 |
| | | | | ensures texture cache gets flushed in case the new texture has the same offset as the old one (fixes glean pixelFormat test at least on r200). | ||||
* | updated comment | Brian Paul | 2006-09-13 | 1 | -1/+1 |
| | |||||
* | don't use derived value _ColorLogicOpEnabled as it's not current by the time ↵ | Roland Scheidegger | 2006-09-13 | 2 | -5/+8 |
| | | | | we call the blend/logic op functions. Fixes glean logicOp test on r200. | ||||
* | added GL_CURRENT_RASTER_SECONDARY_COLOR query (OpenGL 2.1) | Brian Paul | 2006-09-13 | 2 | -1/+24 |
| |