summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2008-03-12mesa: set SamplersUsed bitmask when parsing ARB fragment programsBrian
2008-03-12gallium: pass NULL to cso_single_sampler() when the sampler isn't used.Brian
This fixes an AA line crash/regression. The aaline stage needs to find a free/unused sampler to do its thing.
2008-03-12gallium: use TXP rather than ExtDivide flagBrian
2008-03-12gallium: Add TEX_FILTER_ANISO img filterKeith Whitwell
Hardware almost universally expects us to set a special filtering mode when anisotropic filtering is enabled, as opposed to varying a max-aniso values. Do this once in the state tracker & simplify the driver code.
2008-03-11gallium: rework CSO-related code in state trackerBrian
Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers...
2008-03-10fix Height2/Depth2 init problem when using texture bordersBrian
2008-03-10gallium: disable an unneeded assertion (hit with texwrap.c)Brian
2008-03-10mesa: fast-track glColor and similar calls when not immediate mode renderingKeith Whitwell
Often these are mixed in with draw arrays calls, etc. Try not to get the whole immediate rendering state machine going when we receive one of these on their own.
2008-03-05gallium: michel's patch to rework texture/sampler binding interfaceKeith Whitwell
Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand.
2008-03-04gallium: Add missing file for scons build.Michel Dänzer
2008-02-29gallium: change st->state.sampler_texture[] to store pipe_texture pointersBrian Paul
This is a better fix for the previous check-in. Fixes texadd.c conform test, and probably other bugs.
2008-02-29gallium: fix update_textures() bug in pipe_texture binding logicBrian Paul
The 'st' pointer might not have changed, but st->pt might have. The dirtyData flag will indicate when that's happened, so check it.
2008-02-29gallium: fix glCopyPixels(GL_DEPTH) when Z format conversion is neededBrian Paul
2008-02-28gallium: fix surface/texture format conversion in st_CopyPixelsBrian Paul
If the src buffer's format isn't supported as a texture format, find a different texture format.
2008-02-28gallium: added a texture format sanity check/assertion in st_texture_create()Brian Paul
make sure the tex format is actually supported by the driver.
2008-02-28galliums: s/uint/enum pipe_format/Brian Paul
2008-02-28gallium: in GL_SELECT mode, update hitflag in rasterposBrian Paul
2008-02-28gallium: State tracker cleanups wrt clears.Keith Whitwell
2008-02-28Convert crlf->lf line endings.José Fonseca
Windows/DOS users should enable core.autocrlf from now on.
2008-02-28gallium: Convert CRLF -> LF.Jose Fonseca
DOS/Windows users should not commit text files with CRLF line endings but use instead git config --global core.autocrlf true
2008-02-28scons: Build mesa source with c99.José Fonseca
2008-02-27gallium: remove pipe_context->texture_create/release/get_tex_surface()Brian
These functions are now per-screen, not per-context.
2008-02-27gallium: move is_format_supported() to pipe_screen structBrian
2008-02-27gallium: start removing pipe_context->get_name/vendor/param/paramfBrian
These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled.
2008-02-27mesa: set input read only on successJerome Glisse
2008-02-27mesa: Add copyright headers.José Fonseca
2008-02-26gallium: use pipe_texture_reference() instead of pipe->texture_release()Brian
2008-02-26gallium: remove pipe parameter from pipe_texture_reference()Brian
Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation...
2008-02-26gallium: #includes to silence warningsBrian
2008-02-26gallium: fix zero-sized viewport bugBrian
If st_create_framebuffer() is called with width=0, height=0 and the program never called glViewport, the viewport wasn't properly initalized. This fixes that.
2008-02-26gallium: fix off by one rasterpos bugBrian
2008-02-26gallium: remove input_map[] from pipe_shader_stateBrian
2008-02-26gallium: Add missing copyright headers.José Fonseca
2008-02-26add an explicit callback decleration and use it to silence warningsZack Rusin
2008-02-26implement deleting of driver side cached state in cso'sZack Rusin
2008-02-25gallium: clamp line width when creating raster state objectBrian
2008-02-25Remove files of unsupported build systems.José Fonseca
2008-02-21gallium: fill in some blend/rasterizer template fields to make sure they're ↵Brian
all valid, even if not relevant
2008-02-20gallium: replace some ordinary assignments with pipe_reference_texture()Brian
This fixes at least one instance of dereferencing an invalid texture pointer.
2008-02-20gallium: new pipe->texture_update() functionBrian
Called whenever texture data is changed (glTexImage, glTexSubImage, glCopyTexSubImage, etc).
2008-02-20gallium: mark texture object data dirty in do_copy_texsubimage()Brian
2008-02-20gallium: re-enable GenerateMipmap callsBrian
2008-02-20gallium: state tracker didn't always notify drivers of texobj data changesBrian
Calling glTexSubImage() or glTexImage() to replace texture data didn't reliably cause pipe->set_sampler_texture() to get called so drivers didn't always get notified of new texture data. The st_texture_object->pt pointer doesn't always indicate changed data so added a dirtyData field.
2008-02-19Remove src/mesa and src/mesa/main from gallium source include paths.José Fonseca
2008-02-19Bring in ppc spe rtasm into gallium's rtasm module.José Fonseca
Moving files since these are not being used outside gallium.
2008-02-19Simplify makefile boilerplate code.José Fonseca
Don't define ASM_SOURCES variable globally -- reserve that variable to be defined locally by makefiles, together with C_SOURCES and CPP_SOURCES.
2008-02-19Use gallium's rtasm module.José Fonseca
2008-02-18Update for llvm -> gallivm rename.José Fonseca
2008-02-18Update scons build for new code layout.José Fonseca
2008-02-18Code reorganization: split gallium and mesa makefiles.José Fonseca
In other words, don't build src/gallium source code from within src/mesa/Makefile. Also, allow to customize which gallium auxiliary dirs, driver driver, winsys dirs get built from the config/* files.