summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: bump version to 7.5-rc3mesa_7_5_rc3Brian Paul2009-06-052-2/+2
|
* osmesa: Link with -ldl for dlopen codeDan Nicholson2009-06-041-5/+2
| | | | | | | Now that the dlopen wrappers are built into libmesa.a, we need to link standalone libOSMesa with libdl to resolve dlopen and friends on platforms that need it. (cherry picked from commit 4795dd5950d4dcd7c8d421c8fb4851c193297ba1)
* osmesa: Allow building standalone in all three channel widthsDan Nicholson2009-06-041-27/+9
| | | | | | | | | | autoconf had been designating the 8 bit libOSMesa as the default standalone osmesa, but the Makefile expected it to be linked to libGL. Fix up the osmesa Makefile so that it allows any of the combinations of standalone and channel width to be built. Fixes bug #21980. (cherry picked from commit 7441dcd90b01df8351026af8bbb50e11bb86071a)
* softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()Brian Paul2009-06-041-2/+12
| | | | | | | Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN. This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a. (cherry picked from commit 086ecea179ed572c89aa77c5f465671a5cef87a7)
* softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON renderingBrian Paul2009-06-041-1/+1
| | | | | | This fixes incorrect front/back-face orientation. (cherry picked from commit a64bbdaa3e0b036a880d6db65ceb4a66205062f1)
* st/mesa: increase ST_MAX_SHADER_TOKENS to 8kBrian Paul2009-06-041-1/+1
|
* tgsi: increase MAX_LABELS to 4096Brian Paul2009-06-041-1/+1
|
* scons: Less aggressive optimizations for MSVC 64bit compiler.José Fonseca2009-06-021-4/+17
| | | | | | MSVC 64bit compiler takes forever on some of the files. Might want to revisit this again later.
* scons: Output nice summary messages instead of long command lines.José Fonseca2009-06-022-5/+10
| | | | You can still get the old behavior by passing the option quiet=no to scons.
* util: Unsaved change missing from last commit.José Fonseca2009-06-021-1/+1
|
* util: Support Z24S8/Z24X8 -> unsigned conversion.José Fonseca2009-06-021-0/+15
|
* util: Fix 24 to 32 bit expansion binary arithmetic expression.José Fonseca2009-06-021-1/+1
| | | | | | When approaching y = x * 0xffffffff / 0xffffff with bit arithmetic, the 8 least significant bits of y should come from the 8 most significant bits of x.
* mesa: release VBO and PBO references upon context destructionBrian Paul2009-06-021-0/+10
|
* mesa: add #define FEATURE_ARB_pixel_buffer_objectBrian Paul2009-06-021-0/+1
|
* intel: Clip to window after calling Driver.TexImage2DIan Romanick2009-06-021-9/+8
| | | | | | | | | | This prevents the width / height from being clipped to the window size before the texture is allocated. This matches intelCopyTexImage1D. This should fix bug #21227 Signed-off-by: Ian Romanick <[email protected]> (cherry picked from commit 129f311673c99eb912d659023e50bc5f0ef53249)
* gallium/draw: Free specialized versions of driver shadersKeith Whitwell2009-06-013-0/+13
| | | | | The pstipple, aaline and aapoint code would create specialized versions of shaders and upload them to the driver -- but never free them.
* draw: free more token arraysKeith Whitwell2009-06-012-5/+12
| | | | | The AA line and point code also needs to free token arrays after building driver shaders.
* draw: avoid leaking tokens when building pstipple fragment shaderKeith Whitwell2009-06-011-0/+1
| | | | Add missing FREE() after MALLOC().
* mesa/st: restore flush to copy_texsubimage (was previously finish)Keith Whitwell2009-06-011-0/+3
| | | | Need a flush here even though the original finish was overkill.
* wgl: Destroy the framebuffer when the window is destroyed.José Fonseca2009-06-011-24/+48
|
* progs/vpglsl: add similar support for point rendering as progs/vpKeith Whitwell2009-06-013-6/+64
|
* st/gl: Fix mip gen for compressed texturesJakob Bornecrantz2009-06-011-6/+8
|
* trivial/tri-z: add controls for depthrange min/maxKeith Whitwell2009-06-011-10/+40
| | | | | Also add key to set up quake-1 style ztrick rendering with clear depth 1.0, deptrange(1.0, 0.0) and depthfunc GL_GREATER.
* progs/wgl: Small cleanup to wglinfo.José Fonseca2009-06-011-5/+4
|
* progs/wgl: Use an invisible window in wglinfo.José Fonseca2009-06-011-1/+1
|
* st/mesa: fix incorrect sprite origin when drawing to FBO/textureBrian Paul2009-06-011-1/+2
| | | | | | | Need to take the draw buffer's up/down orientation into consideration when setting the sprite_coord_mode field. Fixes inverted sprites when drawing into an FBO.
* draw: reset extra_vp_outputs.slot to zero in widepoint_flush()Brian Paul2009-06-011-0/+1
| | | | | | | | | | | Fixes a crash when clearing the window with a quad after drawing large points. We were asking the draw module how many vertex shader outputs there were and got 3 instead of 2. This led to creating vertices with too many attributes and trying to read invalid memory. We reset extra_vp_outputs.slot to zero in the aaline/aapoint stage's flush functions already. This omission was just an oversight in the wide_point stage.
* demos: add missing dependencies for util filesBrian Paul2009-06-011-10/+11
|
* wgl: Cleanup framebuffer destruction logic.José Fonseca2009-05-311-9/+4
|
* wgl: Ensure we only create framebuffers for HDC associated with a window.José Fonseca2009-05-311-1/+7
|
* wgl: Use the right pixel format.José Fonseca2009-05-309-202/+301
| | | | | | | | There is no current pixel format. Each HDC has its pixelformat which is kept by gdi and set/get via the SetPixelFormat/GetPixelFormat functions. Now the HDC's pixelformat is kept in the stw_framebuffer, which is created during the SetPixelFormat.
* wgl: Fix debugging output.José Fonseca2009-05-301-9/+27
|
* wgl: Rename function.José Fonseca2009-05-301-2/+2
|
* wgl: Remove unused field.José Fonseca2009-05-302-2/+0
|
* mesa: Output warnings to debugger on Windows.José Fonseca2009-05-301-0/+10
| | | | | Stderr of Windows applications without console is not usually visible.
* mesa: Check/propagate return value on st_make_current.José Fonseca2009-05-302-8/+11
| | | | | Prevents segmentation fault when trying to set the viewport/scissor after a context/drawable visual mismatch.
* mesa: Add success/failures return value to _mesa_make_current.José Fonseca2009-05-302-4/+6
|
* softpipe: fix incorrect provoking vertex color for PIPE_PRIM_POLYGONBrian Paul2009-05-301-1/+15
| | | | | | | This fixes the incorrect colors seen when rendering flat-shaded polygons. Note that clipped polygons were correct, but unclipped polygons were wrong. See the glean/clipFlat test for regression testing.
* mesa: fix loop over generic attribs in update_arrays()Brian Paul2009-05-221-1/+1
|
* vbo: fix crash in vbo_exec_bind_arrays()Brian Paul2009-05-221-0/+1
| | | | | | | | | When a vertex shader uses generic vertex attribute 0, but not gl_Vertex, we need to set attribute[16] to point to attribute[0]. We were setting the attribute size, but not the pointer. Fixes crash in glsl/multitex.c when using the VertCoord attribute instead of gl_Vertex.
* demos: fix multitex.c VertCoord attribute mappingBrian Paul2009-05-221-1/+16
| | | | | | | | | | | | If the multitex.vert shader uses the VertCoord generic vertex attribute instead of the pre-defined gl_Vertex attribute, we need to make sure that VertCoord gets bound to generic vertex attribute zero. That's because we need to call glVertexAttrib2fv(0, xy) after all the other vertex attributes have been set since setting generic attribute 0 triggers vertex submission. Before, we wound up issuing the vertex attributes in the order 0, 1, 2 which caused the first vertex to be submitted before all the attributes were set. Now, the attributes are set in 1, 2, 0 order.
* mesa: allow GL_BITMAP type in _mesa_image_image_stride()Brian Paul2009-05-221-13/+23
| | | | | | | It's possible to hand a GL_COLOR_INDEX/GL_BITMAP image to glTexImage3D() which gets converted to RGBA via the glPixelMap tables. This fixes a failure with piglit/fdo10370 with Gallium.
* mesa: added commentBrian Paul2009-05-221-0/+1
|
* mesa: add missing glGet*() case for GL_VERTEX_ARRAY_BINDING_APPLEBrian Paul2009-05-212-1/+16
|
* vbo: fix incorrect loop limit in bind_array_obj()Brian Paul2009-05-211-1/+4
| | | | | | The generic_array[] is 16 elements in size, but the loop was doing 32 iterations. The out of bounds array write was clobbering the following inputs[] array but as luck would have it, that didn't matter.
* mesa: use MAX_ values instead of literalsBrian Paul2009-05-211-2/+2
|
* minstall: Don't copy over an identical fileCarl Worth2009-05-211-2/+5
| | | | | | | The rationale here is to avoid updating a timestamp for a file that hasn't changed. Needless updates of the timestamp can ripple into other projects, (xserver, etc.), useless recompiling due to a 'make install' in mesa that didn't actually change anything.
* mesa: allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENTMathias Fröhlich2009-05-191-4/+14
| | | | See sourceforge bug #2793846.
* mesa: assign trb->Base.StencilBits in update_wrapper().Brian Paul2009-05-191-0/+1
| | | | When we render to a depth/stencil texture there are stencil bits.
* st/mesa: fix incorrect src/dst stride params to _mesa_generate_mipmap_level()Brian Paul2009-05-181-2/+6
| | | | The stride needs to be in texels, not bytes.