Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: fix issues around multisample enable | Roland Scheidegger | 2008-07-02 | 5 | -3/+21 |
| | | | | | multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer. | ||||
* | generate a link error if the vertex shader references too many textures | Brian Paul | 2008-07-02 | 1 | -0/+6 |
| | |||||
* | set ctx->Const.MaxVertexTextureImageUnits = 0 | Brian Paul | 2008-07-02 | 1 | -1/+1 |
| | | | | This disallows vertex shader texture sampling. See bugs 16157, 13838. | ||||
* | VBO: Regenerate files based on recent changes to gl_API.xml | Ian Romanick | 2008-07-02 | 2 | -2955/+2951 |
| | | | | | Since GL_ARB_vertex_buffer_object protocol isn't supported yet, these changes are innocuous. | ||||
* | Bring over commit 8d4d0b47a07a298a20ffae9fefe96c8c7ca9dccc from xserver tree | Paulo Cesar Pereira de Andrade | 2008-07-02 | 1 | -0/+3 |
| | |||||
* | VBO: Add missing functions related to VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB | Ian Romanick | 2008-07-01 | 1 | -0/+2 |
| | |||||
* | VBO: add GLX related annotations | Ian Romanick | 2008-07-01 | 1 | -29/+59 |
| | |||||
* | mesa: fix a GLSL vector subscript/writemask bug | Brian Paul | 2008-07-01 | 1 | -47/+90 |
| | | | | | | | | | This fixes a failure for cases like: vec4 v; v[1] *= 2.0; The v[1] actually acts like a writemask, equivalent to v.y The fix is a bit convoluted, but will do for now. | ||||
* | mesa: move some functions | Brian Paul | 2008-07-01 | 1 | -99/+99 |
| | |||||
* | mesa: make _slang_swizzle_swizzle() non-private | Brian Paul | 2008-07-01 | 2 | -9/+16 |
| | |||||
* | mesa: better function inlining in the presence of 'return' statements | Brian Paul | 2008-07-01 | 1 | -23/+105 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, the presence of a 'return' statement always prevented inlining a function. This was because we didn't want to accidentally return from the _calling_ function. We still need the semantic of 'return' when inlining but we can't always use unconditional branches/jumps (GPUs don't always support arbitrary branching). Now, we allow inlining functions w/ return if the return is the last statement in the function. This fixes the common case of a function that returns a value, such as: vec4 square(const in vec4 x) { return x * x; } which effectively compiles into: vec4 square(const in vec4 x) { __retVal = x * x; return; } The 'return' can be no-op'd now and we can inline the function. | ||||
* | mesa: add/fix some IrInfo entries for debugging purposes | Brian Paul | 2008-07-01 | 1 | -3/+5 |
| | |||||
* | init machine->Samplers (fixes vertex program texture fetches) | Brian Paul | 2008-07-01 | 1 | -0/+2 |
| | |||||
* | dri: drop asserts to make build against stable libdrm | Dave Airlie | 2008-07-01 | 1 | -11/+0 |
| | | | | These asserts are of questionable use at the moment with things in flux. | ||||
* | dri: Take the base image size into account when computing | Xiang, Haihao | 2008-07-01 | 2 | -0/+2 |
| | | | | first level of the mipmap. fix #16210 | ||||
* | r3xx/r5xx: Enable ARB_point_parameters. | Corbin Simpson | 2008-06-30 | 2 | -0/+30 |
| | | | | | | This isn't complete yet. It does cover the two most common usage cases, though, and at least the third one (POINT_DISTANCE_ATTENUATION) is possible, so I'll do that later. | ||||
* | r300: Fix dumb mistake in LOD bias translation | Nicolai Haehnle | 2008-06-30 | 1 | -1/+1 |
| | |||||
* | r300: Cleanup LodBias support | Nicolai Haehnle | 2008-06-30 | 5 | -115/+25 |
| | | | | | | | | | | | | | | . There is both a per-texture unit and a per-texture object (at least for OpenGL 1.4); this should now be supported properly. . The LOD bias calculation in r300_state has been simplified and corrected (need to multiply by 32 instead of 31, and ensure clamping) . do not clamp LOD bias in TexEnv, as that behaviour conflicts with what the spec says . set Const.MaxTextureLodBias properly . remove the no_neg_lod_bias property; if somebody can explain what it's good for, we can add it back in, but according to Google, nobody seems to use it . removed some dead code and unused variables | ||||
* | r300: Change LOD bias emission to more closely follow per-tex rules. | Corbin Simpson | 2008-06-29 | 2 | -4/+12 |
| | | | | Okay, this time it's for real, and for good. This should be a perma-fix. | ||||
* | r300: Fix wrap mode for 1D textures | Nicolai Haehnle | 2008-06-29 | 3 | -103/+36 |
| | |||||
* | s/GL_INVALID_VALUE/GL_INVALID_OPERATION/ in _mesa_get_uniformfv() | Brian Paul | 2008-06-28 | 1 | -4/+6 |
| | |||||
* | mesa: added null ptr checks | Brian Paul | 2008-06-28 | 1 | -2/+2 |
| | |||||
* | DRI-specific pkg-config file | Dan Nicholson | 2008-06-27 | 2 | -1/+22 |
| | | | | | | | Since the gl pkg-config file doesn't convey any specifics about the backend in use, this adds a new pkg-config file for when DRI is in use. This can be used by the xserver build to determine if the DRI and/or GLX extensions are appropriate. | ||||
* | Check in SwapBuffers for any new pending dri2 events | Alan Hourihane | 2008-06-26 | 1 | -2/+5 |
| | |||||
* | intel: Fix glCopyPixels when x or y are < 0 in hw coordinates. | Eric Anholt | 2008-06-24 | 1 | -14/+10 |
| | | | | | | Nothing would get drawn as the negative coordinates broke the rectangle intersection code that used unsigned ints. Tested with copypix demo and sliding the copy to the upper left. | ||||
* | i965: Use the shared intel_pixel_copy.c. | Eric Anholt | 2008-06-24 | 2 | -322/+5 |
| | | | | | | | | This disables the textured copy implementation on 965, which didn't appear to work (mesa copypix demo, disable the blit path, move so that regions don't overlap and textured is used, and you get garbage). If we resurrect this for i965, I'd rather it used the 915-style metaops instead. Current metaops code left in place so that whoever picks it up has a reference. | ||||
* | intel: Same pixel function init for everyone now. | Eric Anholt | 2008-06-24 | 4 | -10/+1 |
| | |||||
* | intel: Avoid glBitmap software fallback for blending when no blending occurs. | Eric Anholt | 2008-06-24 | 5 | -6/+26 |
| | | | | | Mesa demos tend to leave blending on but in GL_ONE/GL_ZERO, or GL_SRC_ALPHA/GL_ONE_MINUS_SRC_ALPHA with a source alpha of 1.0. | ||||
* | intel: Merge check_blit_fragment_ops between i915/i965. | Eric Anholt | 2008-06-24 | 4 | -28/+9 |
| | | | | Both had some useful bits for the other. | ||||
* | intel: Note reasons for blit pixel op fallbacks under INTEL_DEBUG=pix. | Eric Anholt | 2008-06-24 | 1 | -15/+56 |
| | |||||
* | i915: Add support for accelerated glBitmap, shared from 965. | Eric Anholt | 2008-06-24 | 4 | -354/+8 |
| | |||||
* | i915: Fix read != draw drawable for glCopyPixels. | Eric Anholt | 2008-06-24 | 1 | -2/+3 |
| | | | | Taken from commit bad6e175cf59cce630c37d73f6e71f3a4de50ae6. | ||||
* | i915: Allow accelerated pixel ops to be disabled with INTEL_NO_BLIT. | Eric Anholt | 2008-06-24 | 1 | -4/+6 |
| | | | | This matches 965. | ||||
* | Ensure all objects are built when installing DRI | Dan Nicholson | 2008-06-22 | 1 | -1/+1 |
| | |||||
* | Don't make libmesa.a or libglapi.a depend on asm_subdirs | Dan Nicholson | 2008-06-22 | 1 | -2/+2 |
| | | | | | | | | | | Since the asm_subdirs target does not actually create a file, make will always consider that it needs to be rebuilt. If libmesa.a and libglapi.a have asm_subdirs as a prerequisite, then they will always need to be rebuilt, too. The correct order will be preserved by the default target, though. This should fix #16358. | ||||
* | replace __inline and __inline__ with INLINE macro | Brian Paul | 2008-06-21 | 2 | -3/+3 |
| | |||||
* | replace __inline and __inline__ with INLINE macro | Brian Paul | 2008-06-21 | 1 | -1/+1 |
| | |||||
* | replace __inline and __inline__ with INLINE macro | Brian Paul | 2008-06-21 | 3 | -65/+65 |
| | |||||
* | replace __inline and __inline__ with INLINE macro | Brian Paul | 2008-06-21 | 14 | -56/+56 |
| | |||||
* | #undef DEBUG to silence warnings | Brian Paul | 2008-06-21 | 1 | -0/+1 |
| | |||||
* | replace __inline and __inline__ with INLINE macro | Brian Paul | 2008-06-21 | 8 | -19/+19 |
| | |||||
* | replace __inline and __inline__ with INLINE macro | Brian Paul | 2008-06-21 | 5 | -22/+22 |
| | |||||
* | replace __inline and __inline__ with INLINE macro | Brian Paul | 2008-06-21 | 6 | -17/+17 |
| | |||||
* | replace __inline and __inline__ with INLINE macro | Brian Paul | 2008-06-21 | 9 | -19/+19 |
| | |||||
* | replace __inline and __inline__ with INLINE macro | Brian Paul | 2008-06-21 | 10 | -18/+14 |
| | |||||
* | s/inline/INLINE | Brian Paul | 2008-06-21 | 3 | -4/+4 |
| | |||||
* | remove old comments | Brian Paul | 2008-06-21 | 1 | -2/+0 |
| | |||||
* | Solaris port of Mesa 7.1 with autoconf support | Alan Coopersmith | 2008-06-21 | 4 | -5/+48 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | Rename quad function to quadr to avoid clash with Solaris quad typedef | Daniel Zhu | 2008-06-21 | 1 | -3/+3 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | R300: 1002:5657 is actually RV410 | Alex Deucher | 2008-06-21 | 2 | -2/+2 |
| | | | | See bug 14289 |