summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-09-21replace assert(0) with error report, improved comments, etcBrian Paul
2006-09-21Fix incorrect byteswap_mapping(). Disable swizzle path on bigEndianKeith Whitwell
until someone can figure out whats wrong there.
2006-09-21use new _mesa_little_endian() functionBrian Paul
2006-09-21added _mesa_little_endian()Brian Paul
2006-09-21GLUT_FORCE_VISUAL env var to force glut to use a particular visual (debug only)Brian Paul
2006-09-21new code to init DirectColor colormapsBrian Paul
2006-09-21Fix the dstMap for rgb888 and bgr888 texture formats, which are theKeith Whitwell
opposite to what you'd naively expect.
2006-09-21Do a better job of choosing texture formats to avoid image conversions.Keith Whitwell
2006-09-21use the requested internal texture format where possibleKeith Whitwell
2006-09-21Catch a couple of cases where we would have to delete and recreate theKeith Whitwell
miptree object.
2006-09-20Deal with the overloading of _mesa_texstore_rgba, which is actuallyKeith Whitwell
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??
2006-09-20Extend swizzle support to all remaining source formats and textureKeith Whitwell
destination formats.
2006-09-20try to use a 8888 texture format which will result in only a memcopy in ↵Roland Scheidegger
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.
2006-09-20Support both big and little endian, more source types and moreKeith Whitwell
destination formats through the swizzle path. It would be great to see this tested on eg, PPC machines...
2006-09-20reenable code in _mesa_texstore_rgba8888 to avoid the generic copy path if ↵Roland Scheidegger
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).
2006-09-20Fix various typos to pass glean pixelFormats test.Keith Whitwell
2006-09-20Enhance compute_component_mapping() to convert to and from any of theKeith Whitwell
color base formats.
2006-09-20Add a comment about the interactions of negative pitches, overlappingKeith Whitwell
blits and the different ways of specifying a blit on this hardware.
2006-09-20remove some dead codeKeith Whitwell
2006-09-20Fix some warningsKeith Whitwell
2006-09-20fix mixed texgen/non-texgen with texgen modes requiring plane parameters ↵Roland Scheidegger
(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).
2006-09-20Support ARB_texture_rectangle.Keith Whitwell
2006-09-201) Add a new flag in the sarea (coopting the unused texAge value) toKeith Whitwell
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.
2006-09-20Broadwater seems to prefer this style of blitting.Keith Whitwell
2006-09-20make current GLX context per-threadBrian Paul
2006-09-20fix a memleak in DestroyContext()Brian Paul
2006-09-20add accelerated glCopyPixels pathKeith Whitwell
2006-09-20Add a new internal program parameter value STATE_TEXRECT_SCALE whichKeith Whitwell
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.
2006-09-20Fix _mesa_swizzle_ubyte_image() to deal with RGBA->RGB->RGBAKeith Whitwell
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.
2006-09-20Export _mesa_print_alu_instruction() to allow drivers to roll theirKeith Whitwell
own debug code for programs with driver-private opcodes. Remove redundant loop in _mesa_num_inst_src_regs().
2006-09-20restore debug output after brw_wm_fp compilation stageKeith Whitwell
2006-09-20Use DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps.Keith Whitwell
2006-09-18change make depend output redirection to 2>&1 (bug 8344)Brian Paul
2006-09-18check for n <= 1 in compute_min_mag_ranges(), bug 8320Brian Paul
2006-09-18set lambda to zero for textured points (bug 8320)Brian Paul
2006-09-15replace GLAPI w/ static and init var to 0 (Michel Donais)Brian Paul
2006-09-14Use correct opcodes for GLX_EXT_texture_from_pixmap.Ian Romanick
Set the correct opcodes for GLX_EXT_texture_from_pixmap functions. Changes to the glproto package and the core X server are also required.
2006-09-14Fallback if ColorLogicOp is enabled. Cleanup a bit the fallbackJerome Glisse
function.
2006-09-14Remove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian.Michel Dänzer
2006-09-14VS nr of urb entries is constrained to be one of a fixed set of values,Keith Whitwell
specifically {8,16,32}.
2006-09-13always use argb8888 instead of rgba8888, this is far more likely to hit a ↵Roland Scheidegger
faster memcopy path in mesa (at least on little endian systems, possibly on big endian too)
2006-09-13detect some more cases which can use straight memcpy for _mesa_texstore_rgba8888Roland Scheidegger
2006-09-13Always mark tex state atom as dirty when the texture image is dirty, this ↵Roland Scheidegger
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).
2006-09-13updated commentBrian Paul
2006-09-13don't use derived value _ColorLogicOpEnabled as it's not current by the time ↵Roland Scheidegger
we call the blend/logic op functions. Fixes glean logicOp test on r200.
2006-09-13added GL_CURRENT_RASTER_SECONDARY_COLOR query (OpenGL 2.1)Brian Paul
2006-09-13just comments and const qualifiersBrian Paul
2006-09-13fix broken do_EXP()Brian Paul
2006-09-13fix GL_REFLECTION_MAP texgen by not using tex matrix negation when lighting ↵Roland Scheidegger
is not enabled (?). This fixes demos/cubemap as well as glean texCube test.
2006-09-13make sure we upload the new vertex program if the program string changes.Roland Scheidegger