summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* gallium: rework CSO-related code in state trackerBrian2008-03-1123-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é Fonseca2008-03-123-12/+13
|
* gallium: Conditional debugging output.José Fonseca2008-03-122-0/+98
| | | | | Generalize the conditional debugging output code found trhought the gallium drivers.
* tgsi: Map OPCODE_TEXKILL to OPCODE_KILP.Michal Krol2008-03-111-1/+1
|
* gallium: fix some cso_state_callback cast warningsBrian2008-03-111-8/+8
|
* gallium: fix fs/vs typo in cso_set_vertex_shader()Brian2008-03-111-1/+1
|
* draw: don't free our copy of the render stage -- just borrowing it from vbuf ↵Keith Whitwell2008-03-111-0/+3
| | | | stage
* gallium: missing fileKeith Whitwell2008-03-111-0/+222
|
* fix double deletionZack Rusin2008-03-102-8/+4
| | | | | plus, if the current hash is bigger than max size make sure we delete enough from it
* fix compilationZack Rusin2008-03-101-1/+0
|
* fix Height2/Depth2 init problem when using texture bordersBrian2008-03-101-6/+17
|
* gallium: disable an unneeded assertion (hit with texwrap.c)Brian2008-03-101-1/+2
|
* Move SPE register allocator to rtasm codeIan Romanick2008-03-103-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 pathKeith Whitwell2008-03-106-0/+52
|
* mesa: fast-track glColor and similar calls when not immediate mode renderingKeith Whitwell2008-03-101-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 warningKeith Whitwell2008-03-101-2/+1
|
* gallium: use the same bypass_clipping logic on all vs pathsKeith Whitwell2008-03-102-33/+53
|
* gallium: enable bug workaround in draw_vertex_cache_invalidateKeith Whitwell2008-03-101-1/+5
|
* gallium: new surface/context tracker (sct) moduleBrian2008-03-105-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 changesBrian2008-03-103-12/+28
|
* gallium: Use hardcoded breakpoints on x86 targets.José Fonseca2008-03-101-7/+10
|
* Some notes about debuggingJosé Fonseca2008-03-101-1/+2
|
* gallium: Import Dennis Smit cpu detection code.José Fonseca2008-03-102-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é Fonseca2008-03-106-6/+24
|
* gallium: avoid deleting currently-bound CSO's on cache destructionKeith Whitwell2008-03-091-10/+24
|
* draw: cope with binding NULL vertex shader (on context delete, for instance)Keith Whitwell2008-03-091-5/+12
|
* cso: fix line endingsKeith Whitwell2008-03-091-340/+340
|
* cso: Use MALLOCKeith Whitwell2008-03-091-6/+6
|
* cso: add a higher-level interface which does all pipe interactions to set a ↵Keith Whitwell2008-03-094-0/+427
| | | | given state
* gallium: add some commonly implemented bits of hw stateKeith Whitwell2008-03-091-1/+3
|
* gallium: Document debug_printf usage.José Fonseca2008-03-082-1/+16
|
* gallium: Surround externs with extern "C".Michal Krol2008-03-061-6/+12
|
* gallium: michel's patch to rework texture/sampler binding interfaceKeith Whitwell2008-03-0525-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é Fonseca2008-03-053-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 Whitwell2008-03-041-14/+24
| | | | bypass_clipping to coords_in_window_space?
* gallium: Add missing file for scons build.Michel Dänzer2008-03-041-0/+1
|
* gallium: Fix scons condition for building the xlib winsys.Michel Dänzer2008-03-041-1/+1
|
* gallium: Make scons build gallivm before other auxiliary modules.Michel Dänzer2008-03-041-3/+3
| | | | | This ensures that the gallivm symbols referenced by the draw module are resolved properly.
* win32: don't prepend all debug with gallium3dKeith Whitwell2008-03-031-1/+1
|
* draw: add fetch for bgra ubyte surfacesKeith Whitwell2008-03-031-15/+29
|
* gallium: remove obsolete commentKeith Whitwell2008-03-031-2/+0
|
* gallium: document user_buffer_create a littleKeith Whitwell2008-03-031-4/+27
|
* refactor code calling builtins and implement dp4Zack Rusin2008-03-014-27/+116
|
* make the first builtin work (dp3)Zack Rusin2008-03-012-18/+33
|
* start implementing start of bultinsZack Rusin2008-03-019-67/+239
|
* gallium: change st->state.sampler_texture[] to store pipe_texture pointersBrian Paul2008-02-294-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 logicBrian Paul2008-02-291-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 trisBrian Paul2008-02-291-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 tweakBrian Paul2008-02-291-7/+11
|
* gallium: need precalc_flat=1 for wide linesBrian Paul2008-02-291-0/+1
|