Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | just comments and const qualifiers | Brian Paul | 2006-09-13 | 1 | -12/+11 |
| | |||||
* | fix broken do_EXP() | Brian Paul | 2006-09-13 | 1 | -7/+2 |
| | |||||
* | fix GL_REFLECTION_MAP texgen by not using tex matrix negation when lighting ↵ | Roland Scheidegger | 2006-09-13 | 2 | -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 Scheidegger | 2006-09-13 | 1 | -0/+2 |
| | |||||
* | make triangle smoothing a sw fallback (Martign van Oosterhout) | Brian Paul | 2006-09-13 | 1 | -1/+1 |
| | |||||
* | Fix compilation warning. | Jerome Glisse | 2006-09-12 | 1 | -9/+12 |
| | |||||
* | Removing some of r200 dependency, cleaning up code a bit, | Jerome Glisse | 2006-09-12 | 11 | -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 debug | Keith Whitwell | 2006-09-12 | 2 | -4/+4 |
| | |||||
* | Potential fix for doom3 lockups. Seems that there is a conflict | Keith Whitwell | 2006-09-12 | 3 | -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 Whitwell | 2006-09-12 | 1 | -0/+7 |
| | |||||
* | Add code to tweak aubfile state and primitives on replay. | Keith Whitwell | 2006-09-12 | 1 | -14/+296 |
| | |||||
* | Encode a unique id in the aub header date fields. | Keith Whitwell | 2006-09-12 | 1 | -4/+8 |
| | |||||
* | Win32 fixes (SF bug 1554931) | Brian Paul | 2006-09-11 | 1 | -4/+4 |
| | |||||
* | 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 |
| | |||||
* | remove code to deal with non-normalized texture coordinates for tex rect ↵ | Roland Scheidegger | 2006-09-10 | 5 | -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 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. | ||||
* | don't use xmesa_DrawPixels_8R8G8B() if there's a software alpha channel | Brian Paul | 2006-09-10 | 1 | -1/+2 |
| | |||||
* | cause a raster fallback if a yuv texture is used on texture unit > 0 as yuv ↵ | Roland Scheidegger | 2006-09-10 | 1 | -0/+3 |
| | | | | conversion appears only to work on first unit. | ||||
* | Basic facility for playing back captured aubfiles. Requires a small | Keith Whitwell | 2006-09-08 | 8 | -0/+201 |
| | | | | | | hack to the drm to disable command verification on the cmd_buffer ioctl. Doesn't exactly replay as commands are normally delivered as batchbuffers but are captured and replayed as commands on the ring. | ||||
* | cause a vtxfmt fallback directly when hitting NewList for radeon and r200 ↵ | Roland Scheidegger | 2006-09-08 | 2 | -0/+20 |
| | | | | drivers, otherwise we'll mix up tcl and vtxfmt path for some reason. This fixes a warzone2100 asssertion failure. | ||||
* | Consistent return values from the bm* functions. | Keith Whitwell | 2006-09-07 | 5 | -12/+9 |
| | | | | Get aubfile generation working again. | ||||
* | Cope with memory pool fragmentation by allowing a second attempt at | Keith Whitwell | 2006-09-07 | 13 | -154/+321 |
| | | | | | | | | rendering operations to take place after evicting all resident buffers. Cope better with memory allocation failures throughout the driver and improve tracking of failures. | ||||
* | Add some asserts, fix some not-quite-bugs. | Keith Whitwell | 2006-09-07 | 1 | -4/+12 |
| | |||||
* | Fix glitch with pool alignments. | Keith Whitwell | 2006-09-07 | 2 | -2/+2 |
| | |||||
* | Use lower alignments where possible. Also pad out allocated blocks to | Keith Whitwell | 2006-09-07 | 7 | -12/+20 |
| | | | | a multiple of alignment to avoid accumulating unusable free blocks. | ||||
* | Make sure bmBufferOffset is called for all active buffers every time | Keith Whitwell | 2006-09-07 | 9 | -26/+20 |
| | | | | | we render. Currenly requires that some state be re-examined after every LOCK_HARDWARE(). | ||||
* | make really sure R200_VAP_PROG_VTX_SHADER_ENABLE is never set when we're ↵ | Roland Scheidegger | 2006-09-07 | 2 | -2/+1 |
| | | | | already in a tcl fallback, otherwise the chip will instantly lock up when vertex progs are enabled the next time not in a tcl fallback (fixes for instance guaranteed lockup running any program which uses vertex progs with tcl_mode=0 and then later with tcl_mode=1). | ||||
* | only allow VERT_ATTRIB_MAX instead of _TNL_ATTRIB_MAX for inputs of vertex ↵ | Roland Scheidegger | 2006-09-07 | 2 | -2/+2 |
| | | | | programs (fixes a segfault since the result of the shift is undefined otherwise, and it may happen that _TNL_ATTRIB_POINTSIZE will be tried to read, unlike all other attribs this however may be unitialized (might be a bug in itself)). | ||||
* | Fix a leak of the screen's option cache on cleanup (copied from radeon). | Eric Anholt | 2006-09-07 | 1 | -0/+3 |
| | |||||
* | Simplify the immediate and displaylist code. Treat VertexAttrib*ARB | Keith Whitwell | 2006-09-06 | 18 | -1091/+759 |
| | | | | | as non-aliasing and cope with the >32 attributes that result, taking materials into account. |