summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-19Convert the i915 driver blend state to the new semantics.Zack Rusin
2007-09-19Redo the cso cache to map driver data in a lot more pleasing way.Zack Rusin
Drivers can now create whatever they want from the state template. We use cso_state object to store the template (necessary during lookups), and the driver data. Convert blend state to the new semantics.
2007-09-19grab vertex program pointer after state validationBrian
2007-09-19Only generate vertex shader code when necessary.Michel Dänzer
2007-09-19Finish up conversions of shaders to immutable objects.Zack Rusin
Create/Delete calls should be split since in create we'll be compiling them so we want to know which one it is (vertex/fragment).
2007-09-18Checkpoint: rework shader input/output register mapping.Brian
This is a step toward removing TGSI_ATTRIB_ tokens. Basically, when translating Mesa programs to TGSI programs, pass in input and output register re-maps, plus interpolation info. There's some known breakage (cubemap.c) so more to be done...
2007-09-18temporarily set the FRAG_BIT_FOGC bit in InputsRead when fog is enabledBrian
2007-09-18intel_winsys: Disable scheduled buffer swaps for now.Michel Dänzer
They don't work with private back buffers yet. This gets vsync working.
2007-09-18Fix linux-dri-x86 target.Michel Dänzer
2007-09-18use perspective projection, press r/R to rotate the quadBrian
2007-09-18Fix some issues with perspective-corrected interpolation.Brian
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.
2007-09-18additional comments for tri_persp_coeff()Brian
2007-09-18Convert shader to an immutable state object.Zack Rusin
2007-09-18Add emacs dirvars file with Mesa indention definition.Zack Rusin
2007-09-18Finishing up rename of the setup state to the rasterizer state.Zack Rusin
2007-09-18move cso cache to the pipe directoryZack Rusin
2007-09-18Fix a silly bug on setting samplers.Zack Rusin
Bind when the currently bound state is /not/ the one we just found/created.
2007-09-18converting the setup state to immutable object and renaming it to rasterizer ↵Zack Rusin
state
2007-09-18Combing depth and stencil objects and making them immutable.Zack Rusin
Converting depth and stencil objects into a single state object (d3d10 like) and making it immutable.
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