Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-05-08 | i965: fix segfault on low memory conditions | Robert Ellison | |
When out of memory (in at least one case, triggered by a longrunning memory leak), this code will segfault and crash. By checking for the out-of-memory condition, the system can continue, and will report the out-of-memory error later, a much preferable outcome. | |||
2009-05-08 | mesa: Fixed a texture memory leak | Robert Ellison | |
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. | |||
2009-05-08 | intel: Add a metaops version of glGenerateMipmapEXT/SGIS_generate_mipmaps. | Eric Anholt | |
In addition to being HW accelerated, it avoids the incorrect (black) rendering of the mipmaps that SW was doing in fbo-generatemipmap. Improves the performance of the mipmap generation and drawing in fbo-generatemipmap by 30%. | |||
2009-05-08 | intel: Put the constant texcoords used in metaops into a vbo. | Eric Anholt | |
Make this be its own function for setup/teardown of the binding of these texcoords. No performance difference in the engine demo (I just felt dirty not using a VBO for this), and I think it should be more resilient to interference from current GL state. | |||
2009-05-08 | mesa: set version to 7.5-rc1 | Brian Paul | |
2009-05-08 | i965: const qualifiers | Brian Paul | |
2009-05-08 | mesa: raise MAX_VARYING (number of shader varying vars) to 16 | Brian Paul | |
16 is the limit for now because of various 32-bit bitfields. | |||
2009-05-08 | mesa: assertions to check for too many vertex outputs or fragment inputs | Brian Paul | |
2009-05-08 | glsl: check number of varying variables against the limit | Brian Paul | |
Link fails if too many varying vars. | |||
2009-05-08 | mesa: issue warning for out of bounds array indexes | Brian Paul | |
2009-05-08 | i965: don't use GRF regs 126,127 for WM programs | Brian Paul | |
They seem to be used for something else and using them for shader temps seems to lead to GPU lock-ups. Call _mesa_warning() when we run out of temps. Also, clean up some debug code. | |||
2009-05-08 | glsl: set vertex/fragment program Ids to aid with debugging | Brian Paul | |
2009-05-08 | mesa: more shader debug code (disabled) | Brian Paul | |
2009-05-08 | wgl: Grow the maximum number of pixel formats to cope with the new accum ↵ | José Fonseca | |
pixel formats. Fix a segfault when using softpipe. | |||
2009-05-08 | mesa/st: keep surface_copy arguments positive | Keith Whitwell | |
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. | |||
2009-05-08 | mesa/st: remove redundant call to st_finish in CopyTexSubImage | Keith Whitwell | |
Rendering should already have been flushed, any synchronization will be done by the driver or memory manager. | |||
2009-05-08 | wgl: Export pixelformats with accumulation bits. | José Fonseca | |
2009-05-08 | mesa/st: cope with non-ibo index data in st_draw_feedback.c | Keith Whitwell | |
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. | |||
2009-05-08 | util/upload: catch failures to map_range and return error | Keith Whitwell | |
Caller may be able to do something about this - eg flush and retry. | |||
2009-05-08 | stw: fix potential uninitialized use of curctx | Keith Whitwell | |
2009-05-08 | wgl: Enforce a minimum 1x1 framebuffer size. | José Fonseca | |
2009-05-08 | wgl: Add assertion for missing function. | José Fonseca | |
2009-05-08 | wgl: Remove unused variable. | José Fonseca | |
2009-05-08 | mesa: Make _mesa_share_state thread safe. | José Fonseca | |
2009-05-08 | wgl: Implement ShareLists. | José Fonseca | |
2009-05-08 | mesa: more complete fix for transform_invarient glitches | Keith Whitwell | |
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. | |||
2009-05-08 | mesa/main: set PREFER_DP4 to match position_invarient code | Keith Whitwell | |
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. | |||
2009-05-08 | wgl: Implemente SwapLayerBuffers. | José Fonseca | |
2009-05-08 | util: Limit the stack walk to avoid referencing undefined memory. | José Fonseca | |
2009-05-08 | gallium/tgsi: hack around linker/archiver breakage | Keith Whitwell | |
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. | |||
2009-05-08 | wgl: Include alpha bits in pixel format's cColorBits field. | José Fonseca | |
2009-05-08 | gallium/draw: cope with unused vertex_elements | Keith Whitwell | |
2009-05-08 | wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL. | José Fonseca | |
2009-05-08 | pb: Save the stack backtrace when creating/mapping a debug buffer. | José Fonseca | |
2009-05-08 | pb: Dump the fenced buffer sizes. | José Fonseca | |
2009-05-08 | mesa/st: keep surface_copy arguments positive | Keith Whitwell | |
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. | |||
2009-05-08 | mesa/st: remove redundant call to st_finish in CopyTexSubImage | Keith Whitwell | |
Rendering should already have been flushed, any synchronization will be done by the driver or memory manager. | |||
2009-05-08 | wgl: Export pixelformats with accumulation bits. | José Fonseca | |
2009-05-08 | mesa/st: cope with non-ibo index data in st_draw_feedback.c | Keith Whitwell | |
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. | |||
2009-05-08 | util/upload: catch failures to map_range and return error | Keith Whitwell | |
Caller may be able to do something about this - eg flush and retry. | |||
2009-05-08 | stw: fix potential uninitialized use of curctx | Keith Whitwell | |
2009-05-08 | wgl: Enforce a minimum 1x1 framebuffer size. | José Fonseca | |
2009-05-08 | wgl: Add assertion for missing function. | José Fonseca | |
2009-05-08 | wgl: Remove unused variable. | José Fonseca | |
2009-05-08 | mesa: Make _mesa_share_state thread safe. | José Fonseca | |
2009-05-08 | wgl: Implement ShareLists. | José Fonseca | |
2009-05-08 | nouveau: respect GALLIUM_STATE_TRACKERS_DIRS | Ben Skeggs | |
2009-05-08 | nouveau: remove dri1 code now we're using the dri state tracker | Ben Skeggs | |
2009-05-08 | nouveau: use dri state tracker for dri1 | Ben Skeggs | |
2009-05-07 | mesa: make the array object save/remove functions static | Brian Paul | |