Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-03-18 | gallium: fix typos | Brian | |
2008-03-18 | gallium: restore additional state after clearing with quad | Brian | |
2008-03-18 | gallium: use new color packing utility functions | Brian | |
2008-03-17 | gallium: use new gallium utility code for generating mipmaps | Brian | |
2008-03-17 | gallium: set min_mip_filter = PIPE_TEX_MIPFILTER_NEAREST | Brian Paul | |
Plus, comments, clean-ups. | |||
2008-03-17 | gallium: in gen_mipmap, also set sampler lod_bias and do a flush() after ↵ | Brian Paul | |
rendering each level | |||
2008-03-17 | only set InputsRead bit if input is really used | Markus Amsler | |
2008-03-14 | mesa: clamp point size in vertex program when computing attenuated size | Brian Paul | |
2008-03-14 | gallium: if point size not computed per vertex, apply size clamp immediately. | Brian Paul | |
Fixes glean pointAtten failure. | |||
2008-03-14 | mesa: init tmpNode to zeros | Brian Paul | |
2008-03-14 | mesa: fix emit_clamp() so that we don't use an output register as temporary | Brian Paul | |
IR_CLAMP is decomposed into OPCODE_MIN+OPCODE_MAX. Allocate a temporary register for the intermediate value so we don't inadvertantly use an output register (which are write-only on some GPUs). | |||
2008-03-14 | mesa: revert fast-track glColor and similar calls when not immediate mode ↵ | Brian | |
rendering Revert commit d08cd68d3f5456b69ad504ede2b090c0bb6474db This change caused some glean tests to fail. The alpha value of colors was always 1.0 instead of the value from glColor4fv(). The mesa color array found in st_draw() has size=3 instead of size=4. | |||
2008-03-14 | gallium: in st_program_string_notify() free shader tokens. | Brian | |
When the shader instructions change, free the TGSI tokens. This signals the state tracker to recompile the shader. Fixes a regression caused by recent shader/state-tracker changes. | |||
2008-03-13 | gallium: for TEST_DRAW_PASSTHROUGH, pass inClipCoords=FALSE to ↵ | Brian | |
st_draw_vertices() When pass-through mode is fully supported we'll clean this up more. | |||
2008-03-13 | gallium: add some temporary code for testing draw module vertex passthrough | Brian | |
Set TEST_DRAW_PASSTHROUGH=1, run progs/trivial/clear-scissor | |||
2008-03-13 | gallium: remove semantic info from pipe_shader_state | Brian Paul | |
Brian's patch to clean up the shader interfaces. | |||
2008-03-13 | mesa: fix (harmless?) assignment in assert | Keith Whitwell | |
2008-03-12 | gallium: in clear_stencil_buffer() check surface format to determine stencil ↵ | Brian | |
clear value ... as we do for the Z and Z+stencil cases | |||
2008-03-12 | mesa: set SamplersUsed bitmask when parsing ARB fragment programs | Brian | |
2008-03-12 | gallium: 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-12 | gallium: use TXP rather than ExtDivide flag | Brian | |
2008-03-12 | gallium: Add TEX_FILTER_ANISO img filter | Keith 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-11 | gallium: rework CSO-related code in state tracker | Brian | |
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-10 | fix Height2/Depth2 init problem when using texture borders | Brian | |
2008-03-10 | gallium: disable an unneeded assertion (hit with texwrap.c) | Brian | |
2008-03-10 | mesa: fast-track glColor and similar calls when not immediate mode rendering | Keith 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-05 | gallium: michel's patch to rework texture/sampler binding interface | Keith Whitwell | |
Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand. | |||
2008-03-04 | gallium: Add missing file for scons build. | Michel Dänzer | |
2008-02-29 | gallium: change st->state.sampler_texture[] to store pipe_texture pointers | Brian Paul | |
This is a better fix for the previous check-in. Fixes texadd.c conform test, and probably other bugs. | |||
2008-02-29 | gallium: fix update_textures() bug in pipe_texture binding logic | Brian 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-29 | gallium: fix glCopyPixels(GL_DEPTH) when Z format conversion is needed | Brian Paul | |
2008-02-28 | gallium: fix surface/texture format conversion in st_CopyPixels | Brian Paul | |
If the src buffer's format isn't supported as a texture format, find a different texture format. | |||
2008-02-28 | gallium: 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-28 | galliums: s/uint/enum pipe_format/ | Brian Paul | |
2008-02-28 | gallium: in GL_SELECT mode, update hitflag in rasterpos | Brian Paul | |
2008-02-28 | gallium: State tracker cleanups wrt clears. | Keith Whitwell | |
2008-02-28 | Convert crlf->lf line endings. | José Fonseca | |
Windows/DOS users should enable core.autocrlf from now on. | |||
2008-02-28 | gallium: 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-28 | scons: Build mesa source with c99. | José Fonseca | |
2008-02-27 | gallium: remove pipe_context->texture_create/release/get_tex_surface() | Brian | |
These functions are now per-screen, not per-context. | |||
2008-02-27 | gallium: move is_format_supported() to pipe_screen struct | Brian | |
2008-02-27 | gallium: start removing pipe_context->get_name/vendor/param/paramf | Brian | |
These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled. | |||
2008-02-27 | mesa: set input read only on success | Jerome Glisse | |
2008-02-27 | mesa: Add copyright headers. | José Fonseca | |
2008-02-26 | gallium: use pipe_texture_reference() instead of pipe->texture_release() | Brian | |
2008-02-26 | gallium: 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-26 | gallium: #includes to silence warnings | Brian | |
2008-02-26 | gallium: fix zero-sized viewport bug | Brian | |
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-26 | gallium: fix off by one rasterpos bug | Brian | |
2008-02-26 | gallium: remove input_map[] from pipe_shader_state | Brian | |