summaryrefslogtreecommitdiff
path: root/src/mesa/pipe
AgeCommit message (Collapse)Author
2007-08-06Add pipe buffer managment functions.Keith Whitwell
The state_tracker driver needs these to implement, eg. pixel buffer objects, vertex buffer objects.
2007-08-05Add a new interface between softpipe and the window system / buffer manager.Keith Whitwell
This interface is defined by softpipe and any window system (eg i915pipe) wishing to use softpipe is required to implement the interface. Currently the interface is all about buffer management. Generalizing, each pipe driver will advertise an interface in a similar spirit to this, and again any window system driver wishing to use that rendering pipeline will have to implement the interface it defines. It clearly isn't a one-way street however, as softpipe could just do its own buffer management with malloc. The interaction with a buffer manager is desired to allow us to exercise the hardware swapbuffers functionality of the i915pipe driver, and also to get a feel for the way hardware drivers which really need a buffer manager will work.
2007-08-03Remove "static region" support.Keith Whitwell
The frontbuffer/driBufMgr interactions are handled as a special case in the intel_screen code.
2007-08-02added pipe->supported_formats()Brian
2007-08-02more formatsBrian
2007-08-02pipe->clear() now takes a surface, rather than color/depth/stencil flags.Brian
pipe->clear() only used to clear whole buffers (no scissor) w/out masking. Draw a colored quadrilateral in all other cases.
2007-08-02Fix make recursion.Keith Whitwell
Unfortunately means you can't just type make in softpipe any more.
2007-08-02Implement new draw_vertices() path for simple vertex array drawing, use it ↵Brian
for glClear.
2007-08-02Remove references to accum buffers in softpipe.Keith Whitwell
Also some minor clear fixes.
2007-08-02add PIPE_MASK_RGBABrian
2007-08-02Merge branch 'softpipe_0_1_branch' of ↵Brian
git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
2007-08-02Remove remnants of i915 texture-from-pbo code.Keith Whitwell
2007-08-02Reroute some clear functionality.Keith Whitwell
Still require the intelClear() call to flush batchbuffers. That will be removed later...
2007-08-01implement masking in sp_region_fill()Brian
2007-08-01get cliprect bounds after softpipe_update_derived()Brian
2007-08-01Re-implement intelClear() in terms of softpipe_clear(). Pretty simple/small ↵Brian
now. Note: softpipe_clear() should really be renamed to something like pipe_clear_with_blits() and put into a driver-indepedent module...
2007-08-01More work on glClear.Brian
Add a 'mask' param to region_fill() to help with clearing combined Z/stencil buffers, glColorMask, etc.
2007-08-01s/Z24_S8/S8_Z24/ (stencil is in the high byte)Brian
2007-08-01Checkpoint: glClear changes - working, bug very rough.Brian
2007-08-01Build libsoftpipe.aKeith Whitwell
Each pipe driver will build to a .a library, as these will optionally be included in the various DRI drivers (this will make more sense once there is at least one hardware driver...). Not strictly necessary for softpipe, but want to minimize the differences between it and actual hw implementations.
2007-07-31Obsolete.Brian
2007-07-31Redesign pipe_surface in terms of pipe_region.Brian
struct pipe_buffer goes away. Added basic region functions to softpipe to allocate/release malloc'd regions. Surface-related code is fairly coherent now.
2007-07-31Lift region-related functions up to the pipe interface.Brian
Some of these functions probably should be driver-private. Note: intel_buffer_object is in p_state.h and should be fixed/removed. There are just a few i915 dependencies in intel_region.c
2007-07-3032 and z24s8 softpipe buffersBrian
2007-07-30Merge branch 'softpipe_0_1_branch' of ↵Brian
git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
2007-07-30Lots of improvements to the surface-related code.Brian
Z testing now works with i915 driver. Add gl_renderbuffer::surface pointer (and reverse pointer). Remove intel_surface and xmesa_surface types - no longer used.
2007-07-30compute scale for Z24 buffersBrian
2007-07-30Merge branch 'softpipe_0_1_branch' of ↵Brian
git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch
2007-07-30map/unmap surfaces before/after renderingBrian
2007-07-30remove old commentsBrian
2007-07-27renaming, comments, clean-upBrian
2007-07-27Clip triangles against softpipe->cliprect which includes scissor and surface ↵Brian
bounds. This prevents rendering out of bounds when the viewport is partially outside the surface bounds.
2007-07-27remove obsolete commentsBrian
2007-07-27Maintain cliprect (scissor) info in sp_state_derived.c.Brian
The cliprect depends on the scissor rect (if enabled), otherwise the drawing surface bounds.
2007-07-27Implement point/line quad clipping. Not quite as efficient as it probably ↵Brian
could be, but sufficient for now.
2007-07-27s/SP_TILE_H/SP_QUAD_H/Brian
2007-07-27init quad.coverage values to 1.0 in case line AA is enabled so that we see ↵Brian
something
2007-07-27Avoid unnecessary input attrib copy by aligning exec_machine attribs.michal
2007-07-25Implement line stippling.Brian
Also added draw_stage::reset_line_stipple(). There may be a better way of doing that though.
2007-07-25rename some varsBrian
2007-07-25implement DDX, DDY instructionsBrian
2007-07-25Fix pinterp() to compute 1 / FRAG_ATTRIB_WPOS.w Update comments too.Brian
2007-07-25patch things up enough to allow texture sampling to workBrian
2007-07-24use consistent indentationBrian
2007-07-24check return value of tgsi_parse_init()Brian
2007-07-24added PROGRAM_NAMED_PARAM in map_register_file()Brian
2007-07-24Add VF_ATTRIB_VAR0..7 for varying variables.Brian
The demos/fslight.c demo runs now.
2007-07-24added PROGRAM_UNIFORM to map_register_file()Brian
2007-07-24commentsBrian
2007-07-24s/GLuint/GLbitfield/Brian