summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* nv30: Move some structures and functions from context to screenPatrice Mandin2008-04-116-226/+303
|
* nv30: Do flipPatrice Mandin2008-04-111-2/+14
|
* nv30: Set pipe status on clearPatrice Mandin2008-04-111-0/+1
|
* nv40: use vb/ve counts rather than shader inputs for related loopsBen Skeggs2008-04-092-28/+6
|
* Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1Ben Skeggs2008-04-0942-1079/+1424
|\
| * cell: keep track of num_vertex_attribs/buffers for shorter loopsBrian2008-04-083-13/+13
| |
| * i915: keep track of num_vertex_attribs/buffers for shorter loopsBrian2008-04-083-13/+14
| |
| * gallium: keep track of num_vertex_attribs/buffers for shorter loopsBrian2008-04-083-13/+13
| |
| * gallium: Fix overzealous assert.José Fonseca2008-04-081-1/+5
| |
| * gallium: get rid of bufloop quad stageBrian2008-04-075-6/+0
| |
| * gallium: begin reworking quad stages for multiple color outputsBrian2008-04-0711-671/+734
| |
| * gallium: Allow to debug memory leaks in nested scopes.José Fonseca2008-04-082-11/+11
| |
| * draw: strip edgeflags out of fetch-emit pathKeith Whitwell2008-04-071-1/+1
| |
| * draw: fix edgeflag handling on the pt pathsKeith Whitwell2008-04-064-175/+253
| | | | | | | | | | | | | | | | | | Encode edgeflags (and reset_stipple info) into the top two bits of the fetch elements. This info could be moved elsewhere, but for now we can live with a 1<<30 maximum element size... Also use the primitive decomposition code from draw_prim.c verbatim, as it includes all this stuff and is known to work.
| * draw: Use debug_printf().Michal Krol2008-04-051-2/+2
| |
| * gallium: Keep fenced buffers list ordered.José Fonseca2008-04-051-53/+99
| | | | | | | | This allows to keep the list small without the overhead of full walks.
| * gallium: Fix typo.José Fonseca2008-04-051-1/+1
| |
| * gallium: Use the custom snprintf implementation everywhere (for Win32).José Fonseca2008-04-052-8/+12
| | | | | | | | Because winddk's implemenation does not handle floats.
| * gallium: new debug code, disabledBrian Paul2008-04-041-0/+15
| |
| * gallium: Handle client-supplied edgeflags.Keith Whitwell2008-04-047-28/+71
| | | | | | | | | | | | | | | | Also, implement support in the draw module. We were hardwiring these to one for quite a long time... Currently using a draw_set_edgeflags() function, may be better to push the argument into the draw_arrays() function. TBD.
| * draw: move code to run pipeline from pt to new fileKeith Whitwell2008-04-046-99/+196
| | | | | | | | | | Add facility for draw_vbuf.c to reset these vertex ids on flushes. Pre-initialize vertex ids correctly.
| * gallium: fix two-side stencil handlingRoland Scheidegger2008-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | Previously all drivers were in twosided mode since they checked for stencil.enable[1] flag which was a copy of stencil.enable[0]. Note that drivers should not reference stencil[1] state (other than the enable) if twosided stenciling is disabled (for now the stencil state is still copied but for instance clear_with_quads won't provide useful values in there). Also, use _TestTwoSide instead of TestTwoSide since results would be bogus otherwise if using APIs with implicit two side stencil enable (i.e. core ogl 2.0).
* | nv40: implement user clip planesBen Skeggs2008-04-077-112/+87
| | | | | | | | | | | | | | | | | | It turns out the user planes handed to the driver are already in clip space. Hence, we no longer need to transform incoming vertices before computing the clip distance, and no longer need to change the interface provided by gallium. Yay :) The clip state change handling could be better, but this works.
* | nv40: kill some warningsBen Skeggs2008-04-041-2/+0
| |
* | Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1Ben Skeggs2008-04-0416-116/+600
|\|
| * gallium: make msvc less unhappyKeith Whitwell2008-04-041-7/+8
| |
| * cell: added some comments/ideas about better texture samplingBrian2008-04-031-1/+17
| |
| * cell: minor texture improvementsBrian2008-04-033-11/+26
| | | | | | | | Precompute tiles_per_row. Use ushort multiplies in a few places. New comments.
| * gallium: implement ycbcr->rgba tile conversionBrian2008-04-031-0/+71
| |
| * gallium: Only build softpipe driver by default for xlib winsys with scons.Michel Dänzer2008-04-031-2/+0
| |
| * draw: add passthrough path to the pipelineKeith Whitwell2008-04-038-67/+424
| | | | | | | | | | | | | | This handles the case where bypass_vs is set, but vertices need to go through the pipeline for some reason - eg unfilled polygon mode. Demonstrates how to drive the pipeline from inside one of these things.
| * draw: add missing break statementKeith Whitwell2008-04-021-0/+1
| |
| * draw: Set the backend prim in the pt 'prepare' operationKeith Whitwell2008-04-024-28/+31
| | | | | | | | | | | | | | Leaving it until 'run' is bad as the primitive is pretty much state for some drivers and so needs to get set early. In some drivers this is used to determine things like vertex format, etc -- by the time we get to 'run', it's too late to change this.
| * gallium: add a flag to turn on gl rasterization rulesKeith Whitwell2008-04-022-6/+14
| | | | | | | | | | | | | | Use this to set up hardware rasterization (if your hardware can do it) or otherwise turn on various tweaks in the draw module. Currently only hooked up to point biasing code.
| * gallium: add temporary facility for rasterization-time clamping of point sizesKeith Whitwell2008-04-022-1/+15
| |
* | nouveau: create swizzled surface + scaled image objectsBen Skeggs2008-04-043-1/+56
| |
* | nv40: have test for hw idxbuf in single placeBen Skeggs2008-04-041-2/+2
| |
* | nouveau: in some cases don't create the buffer in local mem initially.Ben Skeggs2008-04-0410-4/+62
| |
* | nv40: remove redundant state_emit() callsBen Skeggs2008-04-041-3/+0
| |
* | nv40: static attribs -> stateobjBen Skeggs2008-04-043-30/+38
| |
* | nv40: convert the inline idxbuf paths alsoBen Skeggs2008-04-041-48/+111
| |
* | nv40: need to resubmit buffers if pushbuf gets flushed during drawBen Skeggs2008-04-042-44/+140
| |
* | nv10: emit dummy zeta size when no zbuffer is used.Stephane Marchesin2008-04-031-1/+1
| |
* | nv10: fix more vertex stuffStephane Marchesin2008-04-034-8/+25
| |
* | don't push "pouets"Stephane Marchesin2008-04-021-2/+0
| |
* | nv10: fix some more state, work on the vertex emission code.Stephane Marchesin2008-04-027-67/+68
| |
* | nv10: set rasterizer state.Stephane Marchesin2008-04-022-0/+6
| |
* | Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1Ben Skeggs2008-04-0211-66/+85
|\|
| * cell: more multi-texture fixes (mostly working now)Brian2008-04-014-16/+17
| |
| * cell: turn off some debug outputBrian2008-04-011-1/+1
| |