aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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-1818-53/+133
| | | | Switch the sample to be an immutable state object.
* Implementing a better hash, removing state_tracker dependency from the cache.Zack Rusin2007-09-1810-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 Rusin2007-09-1823-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_*Brian2007-09-171-2/+6
| | | | Must have missed this a while back. This fixes cube mapping.
* Plug in selection/feedback code.Brian2007-09-175-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 supportBrian2007-09-172-0/+343
|
* s/bugmgr/bufgr/Brian2007-09-171-1/+1
|
* Merge branch 'softpipe_0_1_branch' of ↵Brian2007-09-176-41/+2
|\ | | | | | | git+ssh://[email protected]/git/mesa/mesa into softpipe_0_1_branch
| * Remove non-meaningful region_idle() interfaceKeith Whitwell2007-09-175-39/+0
| | | | | | | | This is already handled by the semanics of map(), etc.
| * Fix linux-dri-x86 build.Michel Dänzer2007-09-171-2/+2
| |
* | silence warningBrian2007-09-171-0/+1
| |
* | update begin/end_query() functionsBrian2007-09-171-4/+4
|/
* intel_winsys: Fix intel_buffer_reference.Michel Daenzer2007-09-141-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 Daenzer2007-09-142-20/+20
|
* Implement query object interface.Brian2007-09-1114-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 functionsBrian2007-09-101-0/+72
|
* merge buffer_unreference(), buffer_reference()Brian2007-09-109-46/+45
|
* clean-ups, commentsBrian2007-09-101-6/+14
|
* s/xm_softpipe.c/xm_winsys.c/Brian2007-09-101-1/+1
|
* RenameBrian2007-09-101-0/+0
|
* More work on vertex feedback / glRasterPos. Basic rasterpos works now.Brian2007-09-1010-7/+69
|
* added st_cb_rasterpos.cBrian2007-09-101-0/+1
|
* plug in rasterpos/feedback codeBrian2007-09-102-0/+3
|
* glRasterPos functionBrian2007-09-102-0/+383
|
* move FLUSH_CURRENTBrian2007-09-102-3/+3
|
* Initial work for post-transformed vertex feedback buffers.Brian2007-09-067-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.Brian2007-09-061-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.Brian2007-09-065-530/+44
|
* Move guts of glRasterPos into tnl module, called via new ↵Brian2007-09-061-0/+508
| | | | ctx->Driver.RasterPos() function.
* move some protos from draw_vertex.h to draw_private.hBrian2007-08-312-17/+16
|
* Define attrib_format and interp_mode enum typedefs and use where appropriate.Brian2007-08-317-38/+51
|
* Consolidate vertex-related code in new draw_vertex.cBrian2007-08-308-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.cBrian2007-08-306-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 commitBrian2007-08-301-1/+1
|
* fix unhandled switch/case warningBrian2007-08-301-0/+4
|
* In draw_flatshade.c use vertex_info->interp_mode[] to choose attribs/colors ↵Brian2007-08-308-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.Brian2007-08-302-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.Brian2007-08-304-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.
* Add p_compiler.h.michal2007-08-291-0/+1
|
* Break GL dependencies.michal2007-08-291-1/+1
|
* Break GL dependencies.michal2007-08-291-2/+3
|
* Break GL dependencies.michal2007-08-292-32/+32
|
* Break GL dependencies.michal2007-08-291-105/+105
|
* Fix ffs().michal2007-08-291-2/+7
|
* Split out vertex shader/cache/fetch functionality from draw_prim.cKeith Whitwell2007-08-277-410/+513
|
* add missing fileskeithw2007-08-252-0/+195
|
* fix frag vs vertex typokeithw2007-08-251-2/+2
|
* add names to tracked state atoms to improve debugkeithw2007-08-2517-1/+24
|
* checkpoint in constant tracking reworkKeith Whitwell2007-08-2510-254/+134
|