summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add a comment about the interactions of negative pitches, overlappingKeith Whitwell2006-09-201-0/+8
| | | | blits and the different ways of specifying a blit on this hardware.
* remove some dead codeKeith Whitwell2006-09-203-39/+0
|
* Fix some warningsKeith Whitwell2006-09-201-1/+2
|
* fix mixed texgen/non-texgen with texgen modes requiring plane parameters ↵Roland Scheidegger2006-09-201-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 Whitwell2006-09-205-4/+49
|
* 1) Add a new flag in the sarea (coopting the unused texAge value) toKeith Whitwell2006-09-205-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 Whitwell2006-09-201-4/+1
|
* make current GLX context per-threadBrian Paul2006-09-201-4/+33
|
* fix a memleak in DestroyContext()Brian Paul2006-09-201-5/+6
|
* add accelerated glCopyPixels pathKeith Whitwell2006-09-204-23/+256
|
* Add a new internal program parameter value STATE_TEXRECT_SCALE whichKeith Whitwell2006-09-202-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->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.
* Export _mesa_print_alu_instruction() to allow drivers to roll theirKeith Whitwell2006-09-202-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 stageKeith Whitwell2006-09-202-1/+23
|
* Use DEBUG_SYNC to switch between per-primitive and per-frame aubfile dumps.Keith Whitwell2006-09-201-1/+1
|
* change make depend output redirection to 2>&1 (bug 8344)Brian Paul2006-09-181-1/+1
|
* check for n <= 1 in compute_min_mag_ranges(), bug 8320Brian Paul2006-09-181-3/+3
|
* set lambda to zero for textured points (bug 8320)Brian Paul2006-09-181-7/+11
|
* replace GLAPI w/ static and init var to 0 (Michel Donais)Brian Paul2006-09-151-1/+1
|
* Use correct opcodes for GLX_EXT_texture_from_pixmap.Ian Romanick2006-09-141-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 fallbackJerome Glisse2006-09-141-29/+53
| | | | function.
* Remove MESA_LITTLE_ENDIAN guard for code that seems to work fine on big endian.Michel Dänzer2006-09-141-2/+0
|
* VS nr of urb entries is constrained to be one of a fixed set of values,Keith Whitwell2006-09-141-2/+2
| | | | specifically {8,16,32}.
* always use argb8888 instead of rgba8888, this is far more likely to hit a ↵Roland Scheidegger2006-09-131-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_rgba8888Roland Scheidegger2006-09-131-1/+19
|
* Always mark tex state atom as dirty when the texture image is dirty, this ↵Roland Scheidegger2006-09-132-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 commentBrian Paul2006-09-131-1/+1
|
* don't use derived value _ColorLogicOpEnabled as it's not current by the time ↵Roland Scheidegger2006-09-132-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 Paul2006-09-132-1/+24
|
* just comments and const qualifiersBrian Paul2006-09-131-12/+11
|
* fix broken do_EXP()Brian Paul2006-09-131-7/+2
|
* fix GL_REFLECTION_MAP texgen by not using tex matrix negation when lighting ↵Roland Scheidegger2006-09-132-5/+9
| | | | is not enabled (?). This fixes demos/cubemap as well as glean texCube test.
* make sure we upload the new vertex program if the program string changes.Roland Scheidegger2006-09-131-0/+2
|
* make triangle smoothing a sw fallback (Martign van Oosterhout)Brian Paul2006-09-131-1/+1
|
* Fix compilation warning.Jerome Glisse2006-09-121-9/+12
|
* Removing some of r200 dependency, cleaning up code a bit,Jerome Glisse2006-09-1211-191/+142
| | | | | | | and fixing a couple of warning. More cleanup and shuffle to come. I have tested this change they might broke things especialy with r300_texstate.c change (format_x doesn't seems to be use at all by r300).
* quieten debugKeith Whitwell2006-09-122-4/+4
|
* Potential fix for doom3 lockups. Seems that there is a conflictKeith Whitwell2006-09-123-6/+7
| | | | | | | | | | between the vertex cache, the vertex shader and the clipping stages, all of which are competitors for URB entries assigned to the VS unit. This change reduces the maximum number of clip and VS threads by enough to ensure that they cannot consume all the available URB entries, and then reduces the number somewhat more up to an arbitary amount I discovered by trial and error. Unfortunately trial and error solutions don't inspire total confidence...
* Disassemble active program when DEBUG_VS is set.Keith Whitwell2006-09-121-0/+7
|
* Add code to tweak aubfile state and primitives on replay.Keith Whitwell2006-09-121-14/+296
|
* Encode a unique id in the aub header date fields.Keith Whitwell2006-09-121-4/+8
|
* Win32 fixes (SF bug 1554931)Brian Paul2006-09-111-4/+4
|
* undo some accidental changes in _mesa_is_legal_format_and_type()Brian Paul2006-09-111-4/+7
|
* init accum buffer fields in _mesa_update_framebuffer_visual()Brian Paul2006-09-111-1/+14
|
* remove code to deal with non-normalized texture coordinates for tex rect ↵Roland Scheidegger2006-09-105-168/+42
| | | | targets (swtcl tex coord translation stage, tcl tex matrix adaption) and use the chip's native handling of such coords instead (!!!). Seems noone noticed those bits in the se_coord_fmt reg, even though it works fairly similar to r200 (except it's set per-unit and always active, so only enable it for texture rectangles).
* Redefine the BYTE_TO_FLOAT() and SHORT_TO_FLOAT() macros to avoid problemsBrian Paul2006-09-101-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.