summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-18Fix the warning.Zack Rusin
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.
2007-09-18Make sampler an immutable state object.Zack Rusin
Switch the sample to be an immutable state object.
2007-09-18Implementing a better hash, removing state_tracker dependency from the cache.Zack Rusin
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.
2007-09-18First stab at immutable state objects (create/bind/delete)Zack Rusin
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.
2007-09-17Replace GL_TEXTURE_* tokens with PIPE_TEXTURE_*Brian
Must have missed this a while back. This fixes cube mapping.
2007-09-17Plug in selection/feedback code.Brian
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...
2007-09-17selection/feedback supportBrian
2007-09-17s/bugmgr/bufgr/Brian
2007-09-17Merge branch 'softpipe_0_1_branch' of ↵Brian
git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
2007-09-17Remove non-meaningful region_idle() interfaceKeith Whitwell
This is already handled by the semanics of map(), etc.
2007-09-17silence warningBrian
2007-09-17update begin/end_query() functionsBrian
2007-09-17Fix linux-dri-x86 build.Michel Dänzer
2007-09-14intel_winsys: Fix intel_buffer_reference.Michel Daenzer
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.
2007-09-14intel_winsys: Adapt to recent drm changes (s/pipes/planes/).Michel Daenzer
2007-09-11Implement query object interface.Brian
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.
2007-09-10vertex feedback functionsBrian
2007-09-10merge buffer_unreference(), buffer_reference()Brian
2007-09-10clean-ups, commentsBrian
2007-09-10s/xm_softpipe.c/xm_winsys.c/Brian
2007-09-10RenameBrian
2007-09-10More work on vertex feedback / glRasterPos. Basic rasterpos works now.Brian
2007-09-10added st_cb_rasterpos.cBrian
2007-09-10plug in rasterpos/feedback codeBrian
2007-09-10glRasterPos functionBrian
2007-09-10move FLUSH_CURRENTBrian
2007-09-06Initial work for post-transformed vertex feedback buffers.Brian
This will be used for: GL_NV_transform_feedback, or similar GL3 functionality glRasterPos GL selection/feedback modes
2007-09-06Initial work for post-transform vertex feedback buffers.Brian
This will be used for: GL_NV_transform_feedback, or GL3 equivalent. RasterPos GL select/feedback modes
2007-09-06Move guts of glRasterPos down into T&L module.Brian
2007-09-06Move guts of glRasterPos into tnl module, called via new ↵Brian
ctx->Driver.RasterPos() function.
2007-08-31move some protos from draw_vertex.h to draw_private.hBrian
2007-08-31Define attrib_format and interp_mode enum typedefs and use where appropriate.Brian
2007-08-30Consolidate vertex-related code in new draw_vertex.cBrian
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()
2007-08-30Remove dependency on TGSI_ATTRIB_x tokens in draw_twoside.cBrian
Added a new draw_set_twoside_attributes() function for specifying which vertex attributes are to be copied/replaced when a polygon is back-facing.
2007-08-30fix breakage from prev commitBrian
2007-08-30fix unhandled switch/case warningBrian
2007-08-30more usage infoBrian
2007-08-30test flat shading w/ clippingBrian
2007-08-30In draw_flatshade.c use vertex_info->interp_mode[] to choose attribs/colors ↵Brian
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().
2007-08-30Fix lost edge flags problem when clipping.Brian
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.
2007-08-30Sketch out per-vertex point size.Brian
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.
2007-08-29Add p_compiler.h.michal
2007-08-29Break GL dependencies.michal
2007-08-29Break GL dependencies.michal
2007-08-29Break GL dependencies.michal
2007-08-29Break GL dependencies.michal
2007-08-29Fix ffs().michal
2007-08-27Split out vertex shader/cache/fetch functionality from draw_prim.cKeith Whitwell
2007-08-25add missing fileskeithw
2007-08-25fix frag vs vertex typokeithw