aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe
Commit message (Collapse)AuthorAgeFilesLines
* Combing depth and stencil objects and making them immutable.Zack Rusin2007-09-189-63/+70
| | | | | Converting depth and stencil objects into a single state object (d3d10 like) and making it immutable.
* Fix the warning.Zack Rusin2007-09-181-1/+1
| | | | | | The const is there to enforce the immutable state of the object, which is in reality owned by the pipe so just cast away the constness.
* Make sampler an immutable state object.Zack Rusin2007-09-184-11/+36
| | | | Switch the sample to be an immutable state object.
* First stab at immutable state objects (create/bind/delete)Zack Rusin2007-09-187-19/+42
| | | | | | | We want our state objects to be immutable, handled via the create/bind/delete calls instead of struct propagation. Only implementing the blend state to see how it would look like and work.
* Remove non-meaningful region_idle() interfaceKeith Whitwell2007-09-171-7/+0
| | | | This is already handled by the semanics of map(), etc.
* Implement query object interface.Brian2007-09-113-13/+39
| | | | | | This replaces the temporary occlusion counter functions we had before. Added new ctx->Driver.WaitQuery() function which should block until the result is ready. Sketch out some code for vertex transformation feedback counters.
* vertex feedback functionsBrian2007-09-101-0/+72
|
* merge buffer_unreference(), buffer_reference()Brian2007-09-102-4/+5
|
* More work on vertex feedback / glRasterPos. Basic rasterpos works now.Brian2007-09-105-0/+41
|
* Define attrib_format and interp_mode enum typedefs and use where appropriate.Brian2007-08-312-5/+5
|
* Consolidate vertex-related code in new draw_vertex.cBrian2007-08-301-32/+14
| | | | | | | A few functions which were basically duplicated between softpipe and the i915 driver are now re-used: draw_emit_vertex_attr() draw_compute_vertex_size()
* Remove dependency on TGSI_ATTRIB_x tokens in draw_twoside.cBrian2007-08-301-6/+19
| | | | | Added a new draw_set_twoside_attributes() function for specifying which vertex attributes are to be copied/replaced when a polygon is back-facing.
* fix unhandled switch/case warningBrian2007-08-301-0/+4
|
* In draw_flatshade.c use vertex_info->interp_mode[] to choose attribs/colors ↵Brian2007-08-303-8/+7
| | | | | | | to cpy. One less dependency on the TGSI_ATTRIB_x flags. This requires setting the vertex_info->interp_mode[] values in the i915 driver and passing them to draw_set_vertex_attributes().
* Sketch out per-vertex point size.Brian2007-08-302-3/+16
| | | | | | | The code is all in place, but mostly disabled for now: In t_vp_build.c, write the VERT_RESULT_PSIZE register In sp_state_derived.c, need to emit vertex point size if drawing points. In setup_point() use the point size from the vertex.
* Fix fragment program color output mapping (0=depth, 1=color)Brian2007-08-241-2/+2
|
* Add support for more surface types in sp_surface.cBrian2007-08-241-0/+364
| | | | replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8
* Fixup include paths after renameKeith Whitwell2007-08-244-4/+4
|
* Use vertex_info struct for softpipe - lots of clean-up.Brian2007-08-233-62/+51
|
* Vertex shader outputs are now tightly packed into the output slots.Brian2007-08-231-30/+3
| | | | | Fix softpipe vertex attribute setup. Also, update vs constants when the projection matrix changes (fixes samples/prim.c)
* Checkpoint: new vertex/fragment attribute namingBrian2007-08-233-46/+46
| | | | | | | Replace VF_ATTRIB_x with TGSI_ATTRIB_x When converting mesa programs to TGSI programs, also convert the InputsRead and OutputsWritten to a mask of TGSI_ATTRIB_ bits. Still need to do conversion for vertex programs...
* Checkpoint commit: i915 texture works, use new vertex_info structBrian2007-08-231-61/+1
| | | | | Basic i915 2D texturing seems to work now. The vertex format is determined from the current fragment shader.
* For the time being, interpolate Z in shade_quad() rather in the shader.Brian2007-08-231-0/+43
| | | | This was causing trouble for the i915 driver.
* Rework of shader constant buffers.Brian2007-08-226-3/+68
| | | | | They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects.
* Silence compiler warnings.michal2007-08-211-1/+1
|
* First pass at a fallback concept for pipe devices.Keith Whitwell2007-08-212-10/+12
| | | | | | | Creates a new pipe driver that feeds commands to either a hardware or software pipe depending on fallback state. Untested concept checkpoint. At this point it compiles.
* move ALIGN16-related macros into p_compiler.hBrian2007-08-201-23/+4
|
* include draw_context.hBrian2007-08-201-0/+1
|
* minor clean-upsBrian2007-08-201-7/+6
|
* remove some of the #ifndef MESA stuffBrian2007-08-201-2/+2
|
* Checkpoint: remove more of the old draw_vb() code.Brian2007-08-202-42/+4
|
* Start to remove the temporary draw_vb() and draw_vertices() code.Brian2007-08-201-0/+6
| | | | new st_draw_vertices() utility used by glClear and glDrawPixels
* Move guts of vertex array drawing into the 'draw' module.Brian2007-08-204-348/+22
|
* implement draw_elements()Brian2007-08-203-8/+46
|
* remove debug printfBrian2007-08-201-1/+0
|
* call draw_trim()Brian2007-08-201-4/+8
|
* Fix some draw_arrays issues.Brian2007-08-193-129/+38
| | | | | | We weren't mapping all the needed vertex array buffers. Move array state that was temporarily in draw_context to softpipe_context. Remove a bunch of dead code.
* more work on vertex shaders, now using vertex shaders instead of TnL module ↵Brian2007-08-182-7/+59
| | | | by default
* pack output vertex attributes in sequential slotsBrian2007-08-171-6/+16
|
* write outputs according to vs.outputs_writtenBrian2007-08-171-4/+13
|
* load machine.Inputs based on vs.inputs_readBrian2007-08-171-26/+15
|
* added pipe ptr to draw_contextBrian2007-08-171-8/+2
|
* compute clipmaskBrian2007-08-171-16/+51
|
* shade four vertices at a timeBrian2007-08-171-79/+92
|
* assertionsBrian2007-08-172-1/+10
|
* Break mesa dependencies.michal2007-08-161-6/+66
| | | | Silence compiler warnings.
* Silence compiler warnings.michal2007-08-161-55/+63
|
* Break mesa dependencies.michal2007-08-161-3/+1
| | | | Silence compiler warnings.
* Remove many dependencies on mesa headers.Brian2007-08-162-0/+10
| | | | To build with mesa, need -DMESA in makefile/config file.
* misc changes to support vertex shaders (disabled by default)Brian2007-08-161-0/+1
|