Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabled | Brian | 2007-09-18 | 1 | -0/+1 |
| | |||||
* | intel_winsys: Disable scheduled buffer swaps for now. | Michel Dänzer | 2007-09-18 | 1 | -1/+2 |
| | | | | | | They don't work with private back buffers yet. This gets vsync working. | ||||
* | Fix linux-dri-x86 target. | Michel Dänzer | 2007-09-18 | 1 | -5/+2 |
| | |||||
* | Fix some issues with perspective-corrected interpolation. | Brian | 2007-09-18 | 3 | -6/+6 |
| | | | | | | | | | | In mesa_to_tgsi.c, use TGSI_INTERPOLATE_PERSPECTIVE by default (to match post-transform vertex info convention). More to be done there... In sp_quad_fs.c, interpolate W in addition to Z. This fixes the divide by zero happening in perspective_interpolation() tgsi_exec.c As it was, we were only getting perspective correction of texture coords used by the TGSI_TEX instruction since it does a homogeneous divide. Other coords/varyings were incorrect. | ||||
* | additional comments for tri_persp_coeff() | Brian | 2007-09-18 | 1 | -0/+4 |
| | |||||
* | Convert shader to an immutable state object. | Zack Rusin | 2007-09-18 | 27 | -85/+176 |
| | |||||
* | Finishing up rename of the setup state to the rasterizer state. | Zack Rusin | 2007-09-18 | 12 | -21/+21 |
| | |||||
* | move cso cache to the pipe directory | Zack Rusin | 2007-09-18 | 7 | -5/+5 |
| | |||||
* | Fix a silly bug on setting samplers. | Zack Rusin | 2007-09-18 | 1 | -1/+1 |
| | | | | | Bind when the currently bound state is /not/ the one we just found/created. | ||||
* | converting the setup state to immutable object and renaming it to rasterizer ↵ | Zack Rusin | 2007-09-18 | 36 | -159/+245 |
| | | | | state | ||||
* | Combing depth and stencil objects and making them immutable. | Zack Rusin | 2007-09-18 | 30 | -384/+337 |
| | | | | | 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 | 18 | -53/+133 |
| | | | | Switch the sample to be an immutable state object. | ||||
* | Implementing a better hash, removing state_tracker dependency from the cache. | Zack Rusin | 2007-09-18 | 10 | -116/+627 |
| | | | | | Replacing mesa's main hash with one that handles collisions, moving state_tracker related caching to the state tracker to keep cso cache independent of it. Cleanups. | ||||
* | First stab at immutable state objects (create/bind/delete) | Zack Rusin | 2007-09-18 | 23 | -59/+382 |
| | | | | | | | 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. | ||||
* | Replace GL_TEXTURE_* tokens with PIPE_TEXTURE_* | Brian | 2007-09-17 | 1 | -2/+6 |
| | | | | Must have missed this a while back. This fixes cube mapping. | ||||
* | Plug in selection/feedback code. | Brian | 2007-09-17 | 5 | -9/+205 |
| | | | | | | | Not quite finished yet. Selection/feedback are done with a private instance of the 'draw' module in the state tracker. Not quite all the draw context's state is set yet, namely vertex format info. Hold off on that for a bit... | ||||
* | selection/feedback support | Brian | 2007-09-17 | 2 | -0/+343 |
| | |||||
* | s/bugmgr/bufgr/ | Brian | 2007-09-17 | 1 | -1/+1 |
| | |||||
* | Merge branch 'softpipe_0_1_branch' of ↵ | Brian | 2007-09-17 | 6 | -41/+2 |
|\ | | | | | | | git+ssh://[email protected]/git/mesa/mesa into softpipe_0_1_branch | ||||
| * | Remove non-meaningful region_idle() interface | Keith Whitwell | 2007-09-17 | 5 | -39/+0 |
| | | | | | | | | This is already handled by the semanics of map(), etc. | ||||
| * | Fix linux-dri-x86 build. | Michel Dänzer | 2007-09-17 | 1 | -2/+2 |
| | | |||||
* | | silence warning | Brian | 2007-09-17 | 1 | -0/+1 |
| | | |||||
* | | update begin/end_query() functions | Brian | 2007-09-17 | 1 | -4/+4 |
|/ | |||||
* | intel_winsys: Fix intel_buffer_reference. | Michel Daenzer | 2007-09-14 | 1 | -3/+5 |
| | | | | | Correctly clear the pointer to the old buffer (not sure how this could build at all before...) and only reference the new one when its pointer is non-NULL. | ||||
* | intel_winsys: Adapt to recent drm changes (s/pipes/planes/). | Michel Daenzer | 2007-09-14 | 2 | -20/+20 |
| | |||||
* | Implement query object interface. | Brian | 2007-09-11 | 14 | -84/+232 |
| | | | | | | 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 | 9 | -46/+45 |
| | |||||
* | clean-ups, comments | Brian | 2007-09-10 | 1 | -6/+14 |
| | |||||
* | s/xm_softpipe.c/xm_winsys.c/ | Brian | 2007-09-10 | 1 | -1/+1 |
| | |||||
* | Rename | Brian | 2007-09-10 | 1 | -0/+0 |
| | |||||
* | More work on vertex feedback / glRasterPos. Basic rasterpos works now. | Brian | 2007-09-10 | 10 | -7/+69 |
| | |||||
* | added st_cb_rasterpos.c | Brian | 2007-09-10 | 1 | -0/+1 |
| | |||||
* | plug in rasterpos/feedback code | Brian | 2007-09-10 | 2 | -0/+3 |
| | |||||
* | glRasterPos function | Brian | 2007-09-10 | 2 | -0/+383 |
| | |||||
* | move FLUSH_CURRENT | Brian | 2007-09-10 | 2 | -3/+3 |
| | |||||
* | Initial work for post-transformed vertex feedback buffers. | Brian | 2007-09-06 | 7 | -32/+93 |
| | | | | | | | This will be used for: GL_NV_transform_feedback, or similar GL3 functionality glRasterPos GL selection/feedback modes | ||||
* | Initial work for post-transform vertex feedback buffers. | Brian | 2007-09-06 | 1 | -0/+247 |
| | | | | | | | This will be used for: GL_NV_transform_feedback, or GL3 equivalent. RasterPos GL select/feedback modes | ||||
* | Move guts of glRasterPos down into T&L module. | Brian | 2007-09-06 | 5 | -530/+44 |
| | |||||
* | Move guts of glRasterPos into tnl module, called via new ↵ | Brian | 2007-09-06 | 1 | -0/+508 |
| | | | | ctx->Driver.RasterPos() function. | ||||
* | move some protos from draw_vertex.h to draw_private.h | Brian | 2007-08-31 | 2 | -17/+16 |
| | |||||
* | Define attrib_format and interp_mode enum typedefs and use where appropriate. | Brian | 2007-08-31 | 7 | -38/+51 |
| | |||||
* | Consolidate vertex-related code in new draw_vertex.c | Brian | 2007-08-30 | 8 | -207/+215 |
| | | | | | | | 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 | 6 | -26/+95 |
| | | | | | 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 breakage from prev commit | Brian | 2007-08-30 | 1 | -1/+1 |
| | |||||
* | 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 | 8 | -57/+56 |
| | | | | | | | 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(). | ||||
* | Fix lost edge flags problem when clipping. | Brian | 2007-08-30 | 2 | -2/+16 |
| | | | | | | In emit_poly() we need to compute header.edgeflags from the vertex edge flags. Also need to set header.det so later stages can determine front/back orientation. | ||||
* | Sketch out per-vertex point size. | Brian | 2007-08-30 | 4 | -4/+31 |
| | | | | | | | 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. |