summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* mesa: comments for _mesa_generate_mipmap_level()Brian Paul2009-05-181-0/+3
|
* softpipe: add texture target sanity check assertionBrian Paul2009-05-181-0/+5
|
* st: fix incorrect target parameter to screen->is_format_supported()Brian Paul2009-05-181-1/+1
| | | | We were passing a GL texture target instead of a pipe_texture_target enum.
* mesa: added linux-osmesa-static configBrian Paul2009-05-182-0/+38
| | | | Contributed by Nicolas Noble. See SF bug #2792536
* docs: link to 7.5 relnotesBrian Paul2009-05-181-0/+1
|
* docs: emphasize the incomplete status of the nouveau/R300 gallium driversBrian Paul2009-05-181-3/+5
|
* Initialize psp->waitX/waitGL for swrast_dri.so.Aidan Thornton2009-05-181-0/+2
| | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21053 .
* mesa: bump version to 7.5-rc2mesa_7_5_rc2Brian Paul2009-05-152-2/+2
|
* docs: updates from the 7.4 branchBrian Paul2009-05-153-5/+80
|
* r300: Make sure to drop current hardware state reference to texture objects.Michel Dänzer2009-05-142-8/+21
| | | | Fixes potential texture object leaks.
* intel: added null ptr checkBrian Paul2009-05-131-1/+2
| | | | Fixes segfault in context tear-down when glClear was never called.
* intel: create a private gl_array_object for intel_clear_tris(), fix bug 21638Brian Paul2009-05-133-29/+75
| | | | | | | | | gl_array_object encapsulates a set of vertex arrays (see the GL_APPLE_vertex_array_object extension). Create a private gl_array_object for drawing the quad for intel_clear_tris() so we don't have to worry about the user's vertex array state. This fixes the no-op glClear bug #21638 and removes the need to call _mesa_PushClientAttrib() and _mesa_PopClientAttrib().
* mesa: delete array objects before buffer objects during context tear-downBrian Paul2009-05-131-1/+2
| | | | The former may point to the later.
* mesa: clean-up vertex array object VBO unbinding and delete/refcountingBrian Paul2009-05-131-31/+33
| | | | | | Don't really delete vertex array objects until the refcount hits zero. At that time, unbind any pointers to VBOs. (cherry picked from commit 32b851c80792623195069d7a41a5808cff3b2f6f)
* mesa: reference counting for gl_array_objectBrian Paul2009-05-134-13/+84
| | | | | | Every kind of object that can be shared by multiple contexts should be refcounted. (cherry picked from commit 1030bf0ded2a88a5e27f7a4d393c11cfde3d3c5a)
* glXChooseVisual: Only consider fbconfig if we can get the corresponding visual.Michel Dänzer2009-05-121-16/+17
| | | | | | | This can fail, e.g. when XLIB_SKIP_ARGB_VISUALS=1 is set. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524794 and http://bugs.freedesktop.org/show_bug.cgi?id=21600 .
* Test either GL_FRONT_LEFT or GL_FRONT for front-buffer renderingIan Romanick2009-05-111-1/+2
| | | | | | | | | | | | For non-stereo visuals, which is all we support, we treat GL_FRONT_LEFT as GL_FRONT. However, they are technically different, and they have different enum values. Test for either one to determine if we're in front-buffer rendering mode. This fix was suggested by Pierre Willenbrock. Signed-off-by: Ian Romanick <[email protected]> (cherry picked from commit 2085cf24628be7cd297ab0f9ef5ce02bd5a006e2)
* st: do proper refcounting for framebuffer surfacesBrian Paul2009-05-112-6/+17
|
* trivial: destroy window upon exitBrian Paul2009-05-111-0/+1
|
* mesa: Fixed a texture memory leakBrian Paul2009-05-111-0/+3
| | | | | | | | | | | | | | The current texture for any particular texture unit is given an additional reference in update_texture_state(); but if the context is closed before that texture can be released (which is quite frequent in normal use, unless a program unbinds and deletes the texture and renders without it to force a call to update_texture_state(), the memory is lost. This affects general Mesa; but the i965 is particularly affected because it allocates a considerable amount of additional memory for each allocated texture. (cherry picked from master, commit c230767d6956b63a2b101acb48f98823bb5dd31a)
* mesa: added more gallium Makefiles to tarball listBrian Paul2009-05-091-0/+1
|
* gallium: replace lib with $(LIB_DIR)Hanno Böck2009-05-091-2/+2
|
* mesa: omit files that were removed from gitmesa_7_5_rc1Brian Paul2009-05-081-7/+0
|
* mesa: set version to 7.5-rc1Brian Paul2009-05-082-2/+2
|
* wgl: Grow the maximum number of pixel formats to cope with the new accum ↵José Fonseca2009-05-081-1/+1
| | | | | | pixel formats. Fix a segfault when using softpipe.
* mesa/st: keep surface_copy arguments positiveKeith Whitwell2009-05-082-3/+68
| | | | | | | The src/dest x,y, and w,h arguments of the pipe->surface_copy function are unsigned and the drivers aren't expecting negative (or extremly-large unsigned) values as inputs. Trim the requests at the state-tracker level before passing down.
* mesa/st: remove redundant call to st_finish in CopyTexSubImageKeith Whitwell2009-05-081-3/+0
| | | | | Rendering should already have been flushed, any synchronization will be done by the driver or memory manager.
* wgl: Export pixelformats with accumulation bits.José Fonseca2009-05-081-6/+8
|
* mesa/st: cope with non-ibo index data in st_draw_feedback.cKeith Whitwell2009-05-081-8/+15
| | | | | | Previously only non-indexed or indicies-in-a-vbo cases were handled in this code. This change adds the missing regular indices-in-memory case.
* util/upload: catch failures to map_range and return errorKeith Whitwell2009-05-081-13/+17
| | | | Caller may be able to do something about this - eg flush and retry.
* scons: mingw is broken with -O1 and higherKeith Whitwell2009-05-082-0/+4
|
* stw: fix potential uninitialized use of curctxKeith Whitwell2009-05-081-1/+1
|
* wgl: Enforce a minimum 1x1 framebuffer size.José Fonseca2009-05-081-8/+19
|
* wgl: Add assertion for missing function.José Fonseca2009-05-081-0/+1
|
* wgl: Remove unused variable.José Fonseca2009-05-081-1/+0
|
* mesa: Make _mesa_share_state thread safe.José Fonseca2009-05-081-2/+9
|
* wgl: Implement ShareLists.José Fonseca2009-05-084-7/+28
|
* progs/trivial: add test for vertex program invarient transformKeith Whitwell2009-05-083-0/+149
|
* mesa: more complete fix for transform_invarient glitchesKeith Whitwell2009-05-086-11/+153
| | | | | | Add a new flag mvp_with_dp4 in the context, and use that to switch both ffvertex.c and programopt.c vertex transformation code to either DP4 or MUL/MAD implementations.
* mesa/main: set PREFER_DP4 to match position_invarient codeKeith Whitwell2009-05-081-1/+1
| | | | | | | | This is a quick fix for z fighting in quake4 caused by the mismatch between vertex transformation here and in the position_invarient code. Full fix would be to make this driver-tunable and adjust both position_invarient and ffvertex_prog.c code to respect driver preferences.
* wgl: Implemente SwapLayerBuffers.José Fonseca2009-05-084-5/+17
|
* scons: Don't use deprecated Options.José Fonseca2009-05-082-9/+9
|
* util: Limit the stack walk to avoid referencing undefined memory.José Fonseca2009-05-081-1/+10
|
* gallium/tgsi: hack around linker/archiver breakageKeith Whitwell2009-05-081-0/+27
| | | | | | | Add a dummy function which exists only so that tgsi_text_translate() doesn't get magic-ed out of the libtgsi.a archive by the build system. Don't remove unless you know this has been fixed - check on mingw/scons builds as well.