Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: rework CSO-related code in state tracker | Brian | 2008-03-11 | 23 | -298/+292 |
| | | | | | | | | | | 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... | ||||
* | gallium: Silence MSVC warnings. | José Fonseca | 2008-03-12 | 3 | -12/+13 |
| | |||||
* | gallium: Conditional debugging output. | José Fonseca | 2008-03-12 | 2 | -0/+98 |
| | | | | | Generalize the conditional debugging output code found trhought the gallium drivers. | ||||
* | tgsi: Map OPCODE_TEXKILL to OPCODE_KILP. | Michal Krol | 2008-03-11 | 1 | -1/+1 |
| | |||||
* | gallium: fix some cso_state_callback cast warnings | Brian | 2008-03-11 | 1 | -8/+8 |
| | |||||
* | gallium: fix fs/vs typo in cso_set_vertex_shader() | Brian | 2008-03-11 | 1 | -1/+1 |
| | |||||
* | draw: don't free our copy of the render stage -- just borrowing it from vbuf ↵ | Keith Whitwell | 2008-03-11 | 1 | -0/+3 |
| | | | | stage | ||||
* | gallium: missing file | Keith Whitwell | 2008-03-11 | 1 | -0/+222 |
| | |||||
* | fix double deletion | Zack Rusin | 2008-03-10 | 2 | -8/+4 |
| | | | | | plus, if the current hash is bigger than max size make sure we delete enough from it | ||||
* | fix compilation | Zack Rusin | 2008-03-10 | 1 | -1/+0 |
| | |||||
* | 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 |
| | |||||
* | Move SPE register allocator to rtasm code | Ian Romanick | 2008-03-10 | 3 | -72/+92 |
| | | | | | Move the register allocator to a common location. There is more code on the way that will make use of this interface. | ||||
* | draw: placeholder/prototype code for a passthrough draw path | Keith Whitwell | 2008-03-10 | 6 | -0/+52 |
| | |||||
* | 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: fix compiler warning | Keith Whitwell | 2008-03-10 | 1 | -2/+1 |
| | |||||
* | gallium: use the same bypass_clipping logic on all vs paths | Keith Whitwell | 2008-03-10 | 2 | -33/+53 |
| | |||||
* | gallium: enable bug workaround in draw_vertex_cache_invalidate | Keith Whitwell | 2008-03-10 | 1 | -1/+5 |
| | |||||
* | gallium: new surface/context tracker (sct) module | Brian | 2008-03-10 | 5 | -0/+658 |
| | | | | | Will be used for tracking the surfaces and textures which are bound/used by contexts. | ||||
* | cell: sync up with sampler/texture state-setting changes | Brian | 2008-03-10 | 3 | -12/+28 |
| | |||||
* | gallium: Use hardcoded breakpoints on x86 targets. | José Fonseca | 2008-03-10 | 1 | -7/+10 |
| | |||||
* | Some notes about debugging | José Fonseca | 2008-03-10 | 1 | -1/+2 |
| | |||||
* | gallium: Import Dennis Smit cpu detection code. | José Fonseca | 2008-03-10 | 2 | -0/+584 |
| | | | | | | It still needs a slight code massasing to integrate with the rest of gallium (namely mapping the OS_* ARCH_* defines), but I'm commiting anyway so that it is available to be used when somebody needs it. | ||||
* | gallium: WinCE portability fixes. | José Fonseca | 2008-03-10 | 6 | -6/+24 |
| | |||||
* | gallium: avoid deleting currently-bound CSO's on cache destruction | Keith Whitwell | 2008-03-09 | 1 | -10/+24 |
| | |||||
* | draw: cope with binding NULL vertex shader (on context delete, for instance) | Keith Whitwell | 2008-03-09 | 1 | -5/+12 |
| | |||||
* | cso: fix line endings | Keith Whitwell | 2008-03-09 | 1 | -340/+340 |
| | |||||
* | cso: Use MALLOC | Keith Whitwell | 2008-03-09 | 1 | -6/+6 |
| | |||||
* | cso: add a higher-level interface which does all pipe interactions to set a ↵ | Keith Whitwell | 2008-03-09 | 4 | -0/+427 |
| | | | | given state | ||||
* | gallium: add some commonly implemented bits of hw state | Keith Whitwell | 2008-03-09 | 1 | -1/+3 |
| | |||||
* | gallium: Document debug_printf usage. | José Fonseca | 2008-03-08 | 2 | -1/+16 |
| | |||||
* | gallium: Surround externs with extern "C". | Michal Krol | 2008-03-06 | 1 | -6/+12 |
| | |||||
* | gallium: michel's patch to rework texture/sampler binding interface | Keith Whitwell | 2008-03-05 | 25 | -2449/+2561 |
| | | | | | Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand. | ||||
* | gallium: Use custom vsnprintf in WINDDK. | José Fonseca | 2008-03-05 | 3 | -1/+1502 |
| | | | | | EngDebugPrint does not handle float point arguments, so we need to use our own vsnprintf implementation. | ||||
* | draw: dont' compute clipmask or apply viewport when not clipping (rename ↵ | Keith Whitwell | 2008-03-04 | 1 | -14/+24 |
| | | | | bypass_clipping to coords_in_window_space? | ||||
* | gallium: Add missing file for scons build. | Michel Dänzer | 2008-03-04 | 1 | -0/+1 |
| | |||||
* | gallium: Fix scons condition for building the xlib winsys. | Michel Dänzer | 2008-03-04 | 1 | -1/+1 |
| | |||||
* | gallium: Make scons build gallivm before other auxiliary modules. | Michel Dänzer | 2008-03-04 | 1 | -3/+3 |
| | | | | | This ensures that the gallivm symbols referenced by the draw module are resolved properly. | ||||
* | win32: don't prepend all debug with gallium3d | Keith Whitwell | 2008-03-03 | 1 | -1/+1 |
| | |||||
* | draw: add fetch for bgra ubyte surfaces | Keith Whitwell | 2008-03-03 | 1 | -15/+29 |
| | |||||
* | gallium: remove obsolete comment | Keith Whitwell | 2008-03-03 | 1 | -2/+0 |
| | |||||
* | gallium: document user_buffer_create a little | Keith Whitwell | 2008-03-03 | 1 | -4/+27 |
| | |||||
* | refactor code calling builtins and implement dp4 | Zack Rusin | 2008-03-01 | 4 | -27/+116 |
| | |||||
* | make the first builtin work (dp3) | Zack Rusin | 2008-03-01 | 2 | -18/+33 |
| | |||||
* | start implementing start of bultins | Zack Rusin | 2008-03-01 | 9 | -67/+239 |
| | |||||
* | 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 line emit order for unfilled tris | Brian Paul | 2008-02-29 | 1 | -1/+1 |
| | | | | | A tri drawn with GL_LINE_LOOP and GL_POLYGON w/ fillmode=GL_LINE should produce the same results when line stipple is enabled. Results are correct now. | ||||
* | gallium: point rast coord tweak | Brian Paul | 2008-02-29 | 1 | -7/+11 |
| | |||||
* | gallium: need precalc_flat=1 for wide lines | Brian Paul | 2008-02-29 | 1 | -0/+1 |
| |