summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_context.c
AgeCommit message (Collapse)Author
2007-08-22Rework of shader constant buffers.Brian
They're now totally independent of the actual shaders. Also, implemented in terms of pipe_buffer_handles/objects.
2007-08-20Checkpoint: remove more of the old draw_vb() code.Brian
2007-08-20Start to remove the temporary draw_vb() and draw_vertices() code.Brian
new st_draw_vertices() utility used by glClear and glDrawPixels
2007-08-20implement draw_elements()Brian
2007-08-19Fix some draw_arrays issues.Brian
We weren't mapping all the needed vertex array buffers. Move array state that was temporarily in draw_context to softpipe_context. Remove a bunch of dead code.
2007-08-16Remove many dependencies on mesa headers.Brian
To build with mesa, need -DMESA in makefile/config file.
2007-08-16misc changes to support vertex shaders (disabled by default)Brian
2007-08-15Hook in new draw_arrays() code, disabled for now.Brian
2007-08-14Continue reducing dependencies on core mesa include files.Keith Whitwell
Mainly down to the support for legacy TNL processing now.
2007-08-13map stencil buffer tooBrian
2007-08-10Move string functions to state_tracker, add queries to pipe, winsys.Keith Whitwell
2007-08-10use winsys supported_formats() querykeithw
2007-08-10added pipe->max_texture_size() query, use it in st_drawpixels()Brian
2007-08-10Lift common winsys functions into pipe's new p_winsys.Keith Whitwell
2007-08-10Handle glFlush/glFinish through the state tracker.Keith Whitwell
2007-08-09added null ptr checksBrian
2007-08-09Add flush/finish functionality to pipe.Keith Whitwell
Not sure if finish() is the right interface yet.
2007-08-07map/unmap texturesBrian
2007-08-07sketch out new pipe surface/sampler typesBrian
2007-08-06added softpipe_mipmap_tree_layoutBrian
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-02added pipe->supported_formats()Brian
2007-08-02Implement new draw_vertices() path for simple vertex array drawing, use it ↵Brian
for glClear.
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-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-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-30map/unmap surfaces before/after renderingBrian
2007-07-13Implement AA points and AA coverage application in quad pipeline.Brian
2007-07-13Added basic occlusion countingBrian
2007-07-12Add a quad 'bufloop' stage to handle glDrawBuffer(GL_FRONT_AND_BACK).Brian
This removes the notion of multiple color buffers from all other stages. Will need a bit more work when shaders with multiple render targets arrive.
2007-07-12s/prim_setup/sp_draw_render_stage/, new commentsBrian
2007-07-12Rename prim_stage -> draw_stageBrian
2007-07-12Added colormask, dither, multisample state. Implement colormasking stage.Brian
2007-07-11Implement polygon stipple state tracking, application.Brian
2007-07-10Checkpoint: stencil roughly working, some bugs to fix...Brian
2007-07-10Begin hooking up stenciling.Brian
2007-07-09New 'draw' module for primitive drawing (clipping, culling, etc).Brian
2007-07-03hook in state tracking for blend colorBrian
2007-07-02rename a few structs (use _state suffix consistantly), reorder/sort fields ↵Brian
in some structs
2007-06-26consolidate point/line state into pipe_setup_stateBrian
2007-06-22initial texture object, texture format codeBrian
2007-06-22more texture sampler workBrian
2007-06-20checkpoint: implement z/depth testingBrian
2007-06-20quad blending works now, but many blend terms need to be added in blend_quad().Brian
2007-06-20Initial implementation of a software pipeline for quad rasterization ↵Brian
(fragment ops). This is very much like the clipper/setup pipeline for primitives.
2007-06-20Initial work for glClear(), clear color state.Brian
2007-06-19hook up point stateBrian
2007-06-19Re-org of surface/framebuffer state.Brian
We should be able to render to any depth/format of X window now.
2007-06-15framebuffer stateBrian