Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glXChooseVisual: Only consider fbconfig if we can get the corresponding visual. | Michel Dänzer | 2009-05-12 | 1 | -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 rendering | Ian Romanick | 2009-05-11 | 1 | -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 surfaces | Brian Paul | 2009-05-11 | 2 | -6/+17 |
| | |||||
* | trivial: destroy window upon exit | Brian Paul | 2009-05-11 | 1 | -0/+1 |
| | |||||
* | mesa: Fixed a texture memory leak | Brian Paul | 2009-05-11 | 1 | -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 list | Brian Paul | 2009-05-09 | 1 | -0/+1 |
| | |||||
* | gallium: replace lib with $(LIB_DIR) | Hanno Böck | 2009-05-09 | 1 | -2/+2 |
| | |||||
* | mesa: omit files that were removed from gitmesa_7_5_rc1 | Brian Paul | 2009-05-08 | 1 | -7/+0 |
| | |||||
* | mesa: set version to 7.5-rc1 | Brian Paul | 2009-05-08 | 2 | -2/+2 |
| | |||||
* | wgl: Grow the maximum number of pixel formats to cope with the new accum ↵ | José Fonseca | 2009-05-08 | 1 | -1/+1 |
| | | | | | | pixel formats. Fix a segfault when using softpipe. | ||||
* | mesa/st: keep surface_copy arguments positive | Keith Whitwell | 2009-05-08 | 2 | -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 CopyTexSubImage | Keith Whitwell | 2009-05-08 | 1 | -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é Fonseca | 2009-05-08 | 1 | -6/+8 |
| | |||||
* | mesa/st: cope with non-ibo index data in st_draw_feedback.c | Keith Whitwell | 2009-05-08 | 1 | -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 error | Keith Whitwell | 2009-05-08 | 1 | -13/+17 |
| | | | | Caller may be able to do something about this - eg flush and retry. | ||||
* | scons: mingw is broken with -O1 and higher | Keith Whitwell | 2009-05-08 | 2 | -0/+4 |
| | |||||
* | stw: fix potential uninitialized use of curctx | Keith Whitwell | 2009-05-08 | 1 | -1/+1 |
| | |||||
* | wgl: Enforce a minimum 1x1 framebuffer size. | José Fonseca | 2009-05-08 | 1 | -8/+19 |
| | |||||
* | wgl: Add assertion for missing function. | José Fonseca | 2009-05-08 | 1 | -0/+1 |
| | |||||
* | wgl: Remove unused variable. | José Fonseca | 2009-05-08 | 1 | -1/+0 |
| | |||||
* | mesa: Make _mesa_share_state thread safe. | José Fonseca | 2009-05-08 | 1 | -2/+9 |
| | |||||
* | wgl: Implement ShareLists. | José Fonseca | 2009-05-08 | 4 | -7/+28 |
| | |||||
* | progs/trivial: add test for vertex program invarient transform | Keith Whitwell | 2009-05-08 | 3 | -0/+149 |
| | |||||
* | mesa: more complete fix for transform_invarient glitches | Keith Whitwell | 2009-05-08 | 6 | -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 code | Keith Whitwell | 2009-05-08 | 1 | -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é Fonseca | 2009-05-08 | 4 | -5/+17 |
| | |||||
* | scons: Don't use deprecated Options. | José Fonseca | 2009-05-08 | 2 | -9/+9 |
| | |||||
* | util: Limit the stack walk to avoid referencing undefined memory. | José Fonseca | 2009-05-08 | 1 | -1/+10 |
| | |||||
* | gallium/tgsi: hack around linker/archiver breakage | Keith Whitwell | 2009-05-08 | 1 | -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. | ||||
* | progs/trivial: add vbo-noninterleaved test | Keith Whitwell | 2009-05-08 | 3 | -0/+141 |
| | |||||
* | wgl: Include alpha bits in pixel format's cColorBits field. | José Fonseca | 2009-05-08 | 1 | -1/+1 |
| | |||||
* | gallium/draw: cope with unused vertex_elements | Keith Whitwell | 2009-05-08 | 3 | -2/+9 |
| | |||||
* | trivial: add line-flat.c | Keith Whitwell | 2009-05-08 | 3 | -0/+149 |
| | |||||
* | wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL. | José Fonseca | 2009-05-08 | 1 | -2/+2 |
| | |||||
* | pb: Save the stack backtrace when creating/mapping a debug buffer. | José Fonseca | 2009-05-08 | 1 | -1/+101 |
| | |||||
* | pb: Dump the fenced buffer sizes. | José Fonseca | 2009-05-08 | 1 | -4/+6 |
| | |||||
* | swrast: fix span clipping bug | Brian Paul | 2009-05-07 | 2 | -22/+71 |
| | | | | | If a horizontal span of pixels was located at x < 0 we could sometimes read/write outside of renderbuffer bounds. | ||||
* | mesa: unmap buffer objects during context tear-down | Brian Paul | 2009-05-07 | 1 | -0/+4 |
| | |||||
* | gallium: fix texcoords for cubemap mipmap generation | Brian Paul | 2009-05-05 | 1 | -10/+86 |
| | | | | | We need to use (s,t,r) cubemap coords when sampling from the cubemap texture so the rendered quad gets texture samples from the correct cube face. | ||||
* | glx: replace Xmalloc() calls with Xcalloc() | Brian Paul | 2009-05-04 | 2 | -2/+2 |
| | | | | Fixes a bug where psp->WaitX was uninitialized. Reported by Chris Clayton. | ||||
* | st: create renderbuffer's pipe_surface in st_render_texture() | Brian Paul | 2009-05-01 | 1 | -1/+11 |
| | | | | | | Previously we created the pipe_surface during framebuffer validation. But if we did a glCopyTex[Sub]Image() before anything else we wouldn't yet have the surface. This fixes that. | ||||
* | mesa: fix state validation bug for glCopyTex[Sub]Image() | Brian Paul | 2009-05-01 | 1 | -5/+16 |
| | | | | | We need to make sure the framebuffer state is up to date to make sure we read pixels from the right buffer when doing a texture image copy. | ||||
* | Fix symbol list for mangled Mesa on Darwin. | Tom Fogal | 2009-05-01 | 1 | -59/+59 |
| | | | | | | | | | | | | | | When building mangled Mesa on Darwin, the exported symbols are named `_mgluWhatever' instead of simply `_gluWhatever'. When using a list of exported symbols via the system ld's `-exported_symbols_list' command line option (as done by mklib), this resulted in error messages about exporting symbols which do not exist. Fortunately the file format accepts simple wildcards. This throws a wildcard so that the symbol list will match both the mangled and non-mangled names, preventing the warning and actually exporting the correct symbols in one shot. | ||||
* | mesa: remove -devel suffix from version | Brian Paul | 2009-05-01 | 1 | -1/+1 |
| | |||||
* | configs: bump MESA_MINOR to 5 | Brian Paul | 2009-05-01 | 1 | -1/+1 |
| | |||||
* | docs: fix typo | Brian Paul | 2009-05-01 | 1 | -1/+1 |
| | |||||
* | radeon: Don't even bother with things too big to fit into our card. | Corbin Simpson | 2009-05-01 | 1 | -1/+3 |
| | |||||
* | r300-gallium, radeon-winsys: Hide radeon_cs from r300 pipe. | Corbin Simpson | 2009-05-01 | 4 | -20/+36 |
| | |||||
* | r300-gallium, radeon-winsys: Space accounting. | Corbin Simpson | 2009-05-01 | 7 | -9/+126 |
| | | | | | It is no longer optional in current libdrm, so it was time to actually start counting our BOs. | ||||
* | r300-gallium, radeon-winsys: Reorganize r300_winsys header, break ABI. | Corbin Simpson | 2009-05-01 | 3 | -47/+70 |
| | | | | Make things more consistent, prepare for more function hooks. |