Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Combing depth and stencil objects and making them immutable. | Zack Rusin | 2007-09-18 | 9 | -63/+70 |
| | | | | | Converting depth and stencil objects into a single state object (d3d10 like) and making it immutable. | ||||
* | Fix the warning. | Zack Rusin | 2007-09-18 | 1 | -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 Rusin | 2007-09-18 | 4 | -11/+36 |
| | | | | Switch the sample to be an immutable state object. | ||||
* | First stab at immutable state objects (create/bind/delete) | Zack Rusin | 2007-09-18 | 7 | -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() interface | Keith Whitwell | 2007-09-17 | 1 | -7/+0 |
| | | | | This is already handled by the semanics of map(), etc. | ||||
* | Implement query object interface. | Brian | 2007-09-11 | 3 | -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 functions | Brian | 2007-09-10 | 1 | -0/+72 |
| | |||||
* | merge buffer_unreference(), buffer_reference() | Brian | 2007-09-10 | 2 | -4/+5 |
| | |||||
* | More work on vertex feedback / glRasterPos. Basic rasterpos works now. | Brian | 2007-09-10 | 5 | -0/+41 |
| | |||||
* | Define attrib_format and interp_mode enum typedefs and use where appropriate. | Brian | 2007-08-31 | 2 | -5/+5 |
| | |||||
* | Consolidate vertex-related code in new draw_vertex.c | Brian | 2007-08-30 | 1 | -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.c | Brian | 2007-08-30 | 1 | -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 warning | Brian | 2007-08-30 | 1 | -0/+4 |
| | |||||
* | In draw_flatshade.c use vertex_info->interp_mode[] to choose attribs/colors ↵ | Brian | 2007-08-30 | 3 | -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. | Brian | 2007-08-30 | 2 | -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) | Brian | 2007-08-24 | 1 | -2/+2 |
| | |||||
* | Add support for more surface types in sp_surface.c | Brian | 2007-08-24 | 1 | -0/+364 |
| | | | | replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8 | ||||
* | Fixup include paths after rename | Keith Whitwell | 2007-08-24 | 4 | -4/+4 |
| | |||||
* | Use vertex_info struct for softpipe - lots of clean-up. | Brian | 2007-08-23 | 3 | -62/+51 |
| | |||||
* | Vertex shader outputs are now tightly packed into the output slots. | Brian | 2007-08-23 | 1 | -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 naming | Brian | 2007-08-23 | 3 | -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 struct | Brian | 2007-08-23 | 1 | -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. | Brian | 2007-08-23 | 1 | -0/+43 |
| | | | | This was causing trouble for the i915 driver. | ||||
* | Rework of shader constant buffers. | Brian | 2007-08-22 | 6 | -3/+68 |
| | | | | | They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects. | ||||
* | Silence compiler warnings. | michal | 2007-08-21 | 1 | -1/+1 |
| | |||||
* | First pass at a fallback concept for pipe devices. | Keith Whitwell | 2007-08-21 | 2 | -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.h | Brian | 2007-08-20 | 1 | -23/+4 |
| | |||||
* | include draw_context.h | Brian | 2007-08-20 | 1 | -0/+1 |
| | |||||
* | minor clean-ups | Brian | 2007-08-20 | 1 | -7/+6 |
| | |||||
* | remove some of the #ifndef MESA stuff | Brian | 2007-08-20 | 1 | -2/+2 |
| | |||||
* | Checkpoint: remove more of the old draw_vb() code. | Brian | 2007-08-20 | 2 | -42/+4 |
| | |||||
* | Start to remove the temporary draw_vb() and draw_vertices() code. | Brian | 2007-08-20 | 1 | -0/+6 |
| | | | | new st_draw_vertices() utility used by glClear and glDrawPixels | ||||
* | Move guts of vertex array drawing into the 'draw' module. | Brian | 2007-08-20 | 4 | -348/+22 |
| | |||||
* | implement draw_elements() | Brian | 2007-08-20 | 3 | -8/+46 |
| | |||||
* | remove debug printf | Brian | 2007-08-20 | 1 | -1/+0 |
| | |||||
* | call draw_trim() | Brian | 2007-08-20 | 1 | -4/+8 |
| | |||||
* | Fix some draw_arrays issues. | Brian | 2007-08-19 | 3 | -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 ↵ | Brian | 2007-08-18 | 2 | -7/+59 |
| | | | | by default | ||||
* | pack output vertex attributes in sequential slots | Brian | 2007-08-17 | 1 | -6/+16 |
| | |||||
* | write outputs according to vs.outputs_written | Brian | 2007-08-17 | 1 | -4/+13 |
| | |||||
* | load machine.Inputs based on vs.inputs_read | Brian | 2007-08-17 | 1 | -26/+15 |
| | |||||
* | added pipe ptr to draw_context | Brian | 2007-08-17 | 1 | -8/+2 |
| | |||||
* | compute clipmask | Brian | 2007-08-17 | 1 | -16/+51 |
| | |||||
* | shade four vertices at a time | Brian | 2007-08-17 | 1 | -79/+92 |
| | |||||
* | assertions | Brian | 2007-08-17 | 2 | -1/+10 |
| | |||||
* | Break mesa dependencies. | michal | 2007-08-16 | 1 | -6/+66 |
| | | | | Silence compiler warnings. | ||||
* | Silence compiler warnings. | michal | 2007-08-16 | 1 | -55/+63 |
| | |||||
* | Break mesa dependencies. | michal | 2007-08-16 | 1 | -3/+1 |
| | | | | Silence compiler warnings. | ||||
* | Remove many dependencies on mesa headers. | Brian | 2007-08-16 | 2 | -0/+10 |
| | | | | To build with mesa, need -DMESA in makefile/config file. | ||||
* | misc changes to support vertex shaders (disabled by default) | Brian | 2007-08-16 | 1 | -0/+1 |
| |