Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: use new color packing utility functions | Brian | 2008-03-18 | 1 | -55/+6 |
| | |||||
* | gallium: use new gallium utility code for generating mipmaps | Brian | 2008-03-17 | 2 | -230/+8 |
| | |||||
* | gallium: set min_mip_filter = PIPE_TEX_MIPFILTER_NEAREST | Brian Paul | 2008-03-17 | 1 | -10/+5 |
| | | | | Plus, comments, clean-ups. | ||||
* | gallium: in gen_mipmap, also set sampler lod_bias and do a flush() after ↵ | Brian Paul | 2008-03-17 | 1 | -0/+6 |
| | | | | rendering each level | ||||
* | only set InputsRead bit if input is really used | Markus Amsler | 2008-03-17 | 1 | -3/+5 |
| | |||||
* | mesa: clamp point size in vertex program when computing attenuated size | Brian Paul | 2008-03-14 | 1 | -3/+4 |
| | |||||
* | gallium: if point size not computed per vertex, apply size clamp immediately. | Brian Paul | 2008-03-14 | 1 | -1/+6 |
| | | | | Fixes glean pointAtten failure. | ||||
* | mesa: init tmpNode to zeros | Brian Paul | 2008-03-14 | 1 | -0/+1 |
| | |||||
* | mesa: fix emit_clamp() so that we don't use an output register as temporary | Brian Paul | 2008-03-14 | 1 | -3/+12 |
| | | | | | | 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). | ||||
* | mesa: revert fast-track glColor and similar calls when not immediate mode ↵ | Brian | 2008-03-14 | 1 | -9/+2 |
| | | | | | | | | | | 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. | ||||
* | gallium: in st_program_string_notify() free shader tokens. | Brian | 2008-03-14 | 1 | -0/+10 |
| | | | | | | 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. | ||||
* | gallium: for TEST_DRAW_PASSTHROUGH, pass inClipCoords=FALSE to ↵ | Brian | 2008-03-13 | 1 | -1/+7 |
| | | | | | | st_draw_vertices() When pass-through mode is fully supported we'll clean this up more. | ||||
* | gallium: add some temporary code for testing draw module vertex passthrough | Brian | 2008-03-13 | 1 | -1/+16 |
| | | | | Set TEST_DRAW_PASSTHROUGH=1, run progs/trivial/clear-scissor | ||||
* | gallium: remove semantic info from pipe_shader_state | Brian Paul | 2008-03-13 | 4 | -78/+99 |
| | | | | Brian's patch to clean up the shader interfaces. | ||||
* | mesa: fix (harmless?) assignment in assert | Keith Whitwell | 2008-03-13 | 1 | -1/+1 |
| | |||||
* | gallium: in clear_stencil_buffer() check surface format to determine stencil ↵ | Brian | 2008-03-12 | 1 | -0/+9 |
| | | | | | | clear value ... as we do for the Z and Z+stencil cases | ||||
* | mesa: set SamplersUsed bitmask when parsing ARB fragment programs | Brian | 2008-03-12 | 1 | -1/+4 |
| | |||||
* | gallium: pass NULL to cso_single_sampler() when the sampler isn't used. | Brian | 2008-03-12 | 1 | -2/+5 |
| | | | | | This fixes an AA line crash/regression. The aaline stage needs to find a free/unused sampler to do its thing. | ||||
* | gallium: use TXP rather than ExtDivide flag | Brian | 2008-03-12 | 1 | -2/+1 |
| | |||||
* | gallium: Add TEX_FILTER_ANISO img filter | Keith Whitwell | 2008-03-12 | 1 | -0/+4 |
| | | | | | | 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. | ||||
* | gallium: rework CSO-related code in state tracker | Brian | 2008-03-11 | 19 | -294/+284 |
| | | | | | | | | | | 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... | ||||
* | fix Height2/Depth2 init problem when using texture borders | Brian | 2008-03-10 | 1 | -6/+17 |
| | |||||
* | gallium: disable an unneeded assertion (hit with texwrap.c) | Brian | 2008-03-10 | 1 | -1/+2 |
| | |||||
* | mesa: fast-track glColor and similar calls when not immediate mode rendering | Keith Whitwell | 2008-03-10 | 1 | -2/+9 |
| | | | | | | 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. | ||||
* | gallium: michel's patch to rework texture/sampler binding interface | Keith Whitwell | 2008-03-05 | 5 | -25/+33 |
| | | | | | Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand. | ||||
* | gallium: Add missing file for scons build. | Michel Dänzer | 2008-03-04 | 1 | -0/+1 |
| | |||||
* | gallium: change st->state.sampler_texture[] to store pipe_texture pointers | Brian Paul | 2008-02-29 | 4 | -13/+9 |
| | | | | | This is a better fix for the previous check-in. Fixes texadd.c conform test, and probably other bugs. | ||||
* | gallium: fix update_textures() bug in pipe_texture binding logic | Brian Paul | 2008-02-29 | 1 | -1/+3 |
| | | | | | The 'st' pointer might not have changed, but st->pt might have. The dirtyData flag will indicate when that's happened, so check it. | ||||
* | gallium: fix glCopyPixels(GL_DEPTH) when Z format conversion is needed | Brian Paul | 2008-02-29 | 1 | -1/+8 |
| | |||||
* | gallium: fix surface/texture format conversion in st_CopyPixels | Brian Paul | 2008-02-28 | 1 | -5/+35 |
| | | | | | If the src buffer's format isn't supported as a texture format, find a different texture format. | ||||
* | gallium: added a texture format sanity check/assertion in st_texture_create() | Brian Paul | 2008-02-28 | 1 | -0/+1 |
| | | | | make sure the tex format is actually supported by the driver. | ||||
* | galliums: s/uint/enum pipe_format/ | Brian Paul | 2008-02-28 | 1 | -1/+1 |
| | |||||
* | gallium: in GL_SELECT mode, update hitflag in rasterpos | Brian Paul | 2008-02-28 | 1 | -0/+5 |
| | |||||
* | gallium: State tracker cleanups wrt clears. | Keith Whitwell | 2008-02-28 | 1 | -24/+16 |
| | |||||
* | Convert crlf->lf line endings. | José Fonseca | 2008-02-28 | 19 | -7025/+7025 |
| | | | | Windows/DOS users should enable core.autocrlf from now on. | ||||
* | gallium: Convert CRLF -> LF. | Jose Fonseca | 2008-02-28 | 1 | -64/+64 |
| | | | | | | | DOS/Windows users should not commit text files with CRLF line endings but use instead git config --global core.autocrlf true | ||||
* | scons: Build mesa source with c99. | José Fonseca | 2008-02-28 | 1 | -0/+5 |
| | |||||
* | gallium: remove pipe_context->texture_create/release/get_tex_surface() | Brian | 2008-02-27 | 5 | -30/+38 |
| | | | | These functions are now per-screen, not per-context. | ||||
* | gallium: move is_format_supported() to pipe_screen struct | Brian | 2008-02-27 | 3 | -23/+30 |
| | |||||
* | gallium: start removing pipe_context->get_name/vendor/param/paramf | Brian | 2008-02-27 | 3 | -29/+31 |
| | | | | | These are now per-screen functions, not per-context. State tracker updated, code in drivers and p_context.h disabled. | ||||
* | mesa: set input read only on success | Jerome Glisse | 2008-02-27 | 1 | -2/+3 |
| | |||||
* | mesa: Add copyright headers. | José Fonseca | 2008-02-27 | 2 | -23/+45 |
| | |||||
* | gallium: use pipe_texture_reference() instead of pipe->texture_release() | Brian | 2008-02-26 | 1 | -3/+3 |
| | |||||
* | gallium: remove pipe parameter from pipe_texture_reference() | Brian | 2008-02-26 | 1 | -3/+3 |
| | | | | | Added pipe field to pipe_texture (temporary, see comments). First step toward context-less texture creation... | ||||
* | gallium: #includes to silence warnings | Brian | 2008-02-26 | 1 | -0/+2 |
| | |||||
* | gallium: fix zero-sized viewport bug | Brian | 2008-02-26 | 1 | -0/+11 |
| | | | | | | 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. | ||||
* | gallium: fix off by one rasterpos bug | Brian | 2008-02-26 | 1 | -1/+1 |
| | |||||
* | gallium: remove input_map[] from pipe_shader_state | Brian | 2008-02-26 | 3 | -2/+5 |
| | |||||
* | gallium: Add missing copyright headers. | José Fonseca | 2008-02-26 | 2 | -0/+57 |
| | |||||
* | add an explicit callback decleration and use it to silence warnings | Zack Rusin | 2008-02-26 | 1 | -6/+6 |
| |