Commit Graph

11347 Commits

Author SHA1 Message Date
Brian 2dd4506de3 disable/remove intel dependencies 2007-08-06 13:42:18 -06:00
Brian d49cee1a74 more intel_context removal 2007-08-06 13:31:23 -06:00
Brian f42feca075 disable some PBO code, remove intel dependencies 2007-08-06 13:24:54 -06:00
Brian e3ad58975b remove timing code 2007-08-06 13:17:38 -06:00
Brian b9f4b0ce4e Replace intel_texture_object with st_texture_object, intel_texture_image with st_texture_image 2007-08-06 13:12:24 -06:00
Brian bc3b608317 minor renaming 2007-08-06 12:41:39 -06:00
Brian 307fe0702e Lift intel_mipmap_tree.c to st_mipmap_tree.c 2007-08-06 12:40:51 -06:00
Brian bdd3ccf959 More code movement, removal of intel dependencies 2007-08-06 12:32:16 -06:00
Brian 24ddf1169d remove more intel dependencies 2007-08-06 12:28:33 -06:00
Brian 681f04f6d3 remove intel dependencies from intel_mipmap_tree.c 2007-08-06 12:07:48 -06:00
Brian e6c8691b1a checkpoint: move some texture layout code 2007-08-06 11:51:16 -06:00
Brian d9605cdf7c Checkpoint lifting of intel_mipmap_tree (intel_mipmap_tree -> pipe_mipmap_tree and move some code) 2007-08-06 11:22:00 -06:00
Keith Whitwell 95794abec4 Add pipe buffer managment functions.
The state_tracker driver needs these to implement, eg. pixel buffer objects,
vertex buffer objects.
2007-08-06 10:15:30 +01:00
Keith Whitwell 1d1b9e6be4 Add a new interface between softpipe and the window system / buffer manager.
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-05 17:25:36 +01:00
Brian 5e7921b778 remove intel_pixel.c 2007-08-03 13:31:56 -06:00
Brian 16682fee0a added st_cb_fbo.c 2007-08-03 13:30:55 -06:00
Brian fdedc4fec0 more work on st_choose_pipe_format() 2007-08-03 13:29:02 -06:00
Brian 4b87d37e90 framebuffer object functions 2007-08-03 13:28:35 -06:00
Keith Whitwell ec471e9f07 Remove dead files 2007-08-03 18:58:41 +01:00
Keith Whitwell db70498462 Rip out more dead drawing-related code. 2007-08-03 18:56:12 +01:00
Keith Whitwell 7d5c25c8a7 Remove "static region" support.
The frontbuffer/driBufMgr interactions are handled as a special case
in the intel_screen code.
2007-08-03 13:22:30 +01:00
Keith Whitwell b8846a5be9 Simplify frontbuffer / sarea / rotation management.
Remove lots of old cruft.
2007-08-03 13:14:27 +01:00
Keith Whitwell 389b1d1a3f Workaround wierd oops on gutsy when building mesa. 2007-08-03 12:28:03 +01:00
Brian c358a39af5 added pipe->supported_formats() 2007-08-02 20:40:33 -06:00
Brian 61d0215d7b hook in teximage bits 2007-08-02 20:40:19 -06:00
Brian 66ae07854e more formats 2007-08-02 20:39:45 -06:00
Brian fc9ff31298 trim #includes 2007-08-02 20:36:36 -06:00
Brian 4ab3bbba29 beginings of teximage functions 2007-08-02 20:36:06 -06:00
Brian 47fdaf0ed9 pipe->clear() now takes a surface, rather than color/depth/stencil flags.
pipe->clear() only used to clear whole buffers (no scissor) w/out masking.
Draw a colored quadrilateral in all other cases.
2007-08-02 16:08:18 -06:00
Brian 184b6a1f04 call st_init_cb_drawpixels 2007-08-02 14:21:16 -06:00
Brian 4df8e90a01 added st_cb_drawpixels.c 2007-08-02 14:21:02 -06:00
Brian d09f4e2007 initial work for textured-quad glDrawPixels 2007-08-02 14:20:40 -06:00
Brian 566ae9196b remove st_draw.h include 2007-08-02 14:20:13 -06:00
Brian 406da44da3 setup more state for clear_with_quad() 2007-08-02 13:48:02 -06:00
Brian 7b274b4318 Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch 2007-08-02 13:46:47 -06:00
Brian 3ab0210c31 get rid of accum param 2007-08-02 13:38:38 -06:00
Keith Whitwell 877478e6fc Remove all references to swrast.
The one place the functionality continues to be needed is as last-ditch
implementations of TexCopyImage, etc.  TBD what to do about that, but
that will be an issue for state_tracker, not for here.
2007-08-02 20:35:50 +01:00
Keith Whitwell d878bdc7a1 Fix make recursion.
Unfortunately means you can't just type make in softpipe any more.
2007-08-02 20:33:58 +01:00
Brian bf64be2268 added clear-scissor.c 2007-08-02 12:14:16 -06:00
Brian 65cc3d29a6 test glClear w/ scissor 2007-08-02 12:14:05 -06:00
Brian 55314f8f31 Implement new draw_vertices() path for simple vertex array drawing, use it for glClear. 2007-08-02 12:12:48 -06:00
Keith Whitwell 0e067f1fb2 Remove references to accum buffers in softpipe.
Also some minor clear fixes.
2007-08-02 18:25:10 +01:00
Keith Whitwell 3dfe125861 Remove intel_state.c, intel_rotate.[ch] 2007-08-02 17:45:54 +01:00
Brian 107206bbbe New header file. 2007-08-02 10:30:32 -06:00
Brian 51b300c54d include st_cb_clear.h 2007-08-02 10:29:50 -06:00
Brian e415dced44 sketch out clearing with quads 2007-08-02 10:29:42 -06:00
Brian 5936b439e8 add PIPE_MASK_RGBA 2007-08-02 10:29:04 -06:00
Brian a6dd731656 comment follow-up 2007-08-02 10:01:14 -06:00
Brian d747bf14dd Merge branch 'softpipe_0_1_branch' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa into softpipe_0_1_branch 2007-08-02 09:17:56 -06:00
Keith Whitwell a4a0189ed6 Remove intelClear() hack.
Have added intel_batchbuffer_flush calls to the blit functions.  We
still shouldn't be calling back into this remnant intel code from the
softpipe driver, though, so that will go too at some point.
2007-08-02 14:53:08 +01:00