summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-05-08i965: const qualifiersBrian Paul
2009-05-08mesa: raise MAX_VARYING (number of shader varying vars) to 16Brian Paul
16 is the limit for now because of various 32-bit bitfields.
2009-05-08mesa: assertions to check for too many vertex outputs or fragment inputsBrian Paul
2009-05-08glsl: check number of varying variables against the limitBrian Paul
Link fails if too many varying vars.
2009-05-08mesa: issue warning for out of bounds array indexesBrian Paul
2009-05-08i965: don't use GRF regs 126,127 for WM programsBrian 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-08glsl: set vertex/fragment program Ids to aid with debuggingBrian Paul
2009-05-08mesa: more shader debug code (disabled)Brian Paul
2009-05-08wgl: 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-08mesa/st: keep surface_copy arguments positiveKeith 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-08mesa/st: remove redundant call to st_finish in CopyTexSubImageKeith Whitwell
Rendering should already have been flushed, any synchronization will be done by the driver or memory manager.
2009-05-08wgl: Export pixelformats with accumulation bits.José Fonseca
2009-05-08mesa/st: cope with non-ibo index data in st_draw_feedback.cKeith 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-08util/upload: catch failures to map_range and return errorKeith Whitwell
Caller may be able to do something about this - eg flush and retry.
2009-05-08stw: fix potential uninitialized use of curctxKeith Whitwell
2009-05-08wgl: Enforce a minimum 1x1 framebuffer size.José Fonseca
2009-05-08wgl: Add assertion for missing function.José Fonseca
2009-05-08wgl: Remove unused variable.José Fonseca
2009-05-08mesa: Make _mesa_share_state thread safe.José Fonseca
2009-05-08wgl: Implement ShareLists.José Fonseca
2009-05-08mesa: more complete fix for transform_invarient glitchesKeith 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-08mesa/main: set PREFER_DP4 to match position_invarient codeKeith 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-08wgl: Implemente SwapLayerBuffers.José Fonseca
2009-05-08util: Limit the stack walk to avoid referencing undefined memory.José Fonseca
2009-05-08gallium/tgsi: hack around linker/archiver breakageKeith 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-08wgl: Include alpha bits in pixel format's cColorBits field.José Fonseca
2009-05-08gallium/draw: cope with unused vertex_elementsKeith Whitwell
2009-05-08wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL.José Fonseca
2009-05-08pb: Save the stack backtrace when creating/mapping a debug buffer.José Fonseca
2009-05-08pb: Dump the fenced buffer sizes.José Fonseca
2009-05-08mesa/st: keep surface_copy arguments positiveKeith 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-08mesa/st: remove redundant call to st_finish in CopyTexSubImageKeith Whitwell
Rendering should already have been flushed, any synchronization will be done by the driver or memory manager.
2009-05-08wgl: Export pixelformats with accumulation bits.José Fonseca
2009-05-08mesa/st: cope with non-ibo index data in st_draw_feedback.cKeith 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-08util/upload: catch failures to map_range and return errorKeith Whitwell
Caller may be able to do something about this - eg flush and retry.
2009-05-08stw: fix potential uninitialized use of curctxKeith Whitwell
2009-05-08wgl: Enforce a minimum 1x1 framebuffer size.José Fonseca
2009-05-08wgl: Add assertion for missing function.José Fonseca
2009-05-08wgl: Remove unused variable.José Fonseca
2009-05-08mesa: Make _mesa_share_state thread safe.José Fonseca
2009-05-08wgl: Implement ShareLists.José Fonseca
2009-05-08nouveau: respect GALLIUM_STATE_TRACKERS_DIRSBen Skeggs
2009-05-08nouveau: remove dri1 code now we're using the dri state trackerBen Skeggs
2009-05-08nouveau: use dri state tracker for dri1Ben Skeggs
2009-05-07mesa: make the array object save/remove functions staticBrian Paul
2009-05-07mesa: clean-up vertex array object VBO unbinding and delete/refcountingBrian Paul
Don't really delete vertex array objects until the refcount hits zero. At that time, unbind any pointers to VBOs.
2009-05-07mesa: reference counting for gl_array_objectBrian Paul
Every kind of object that can be shared by multiple contexts should be refcounted.
2009-05-07mesa: array object commentsBrian Paul
2009-05-07mesa: move the NullBufferObj from GLcontext to gl_shared_stateBrian Paul
Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state.
2009-05-07mesa: fix comments, s/texture/buffer/Brian Paul