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
Brian
23f71f2ea5
add OSMESA_LIB_NAME
2007-08-03 10:08:39 -06:00
Brian
002942913d
added -lm
2007-08-03 07:24:11 -06: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
792b882cf6
fix missing backslash
2007-08-02 20:26:49 -06:00
Eric Anholt
101563a838
Don't try to use kernel BO flags in dri_bufmgr_fake internals.
2007-08-02 15:55:42 -07: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
2d72da5692
added bluegene-osmesa
2007-08-02 14:22:13 -06:00
Brian
2457f4cf67
OSmesa on BlueGene (Alexander Neundorf)
2007-08-02 14:22:02 -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
Brian
2c3cb693cc
fix stencil value masking bug 11805, and fix sizeof() bug
2007-08-02 09:08:29 -06:00
Brian
e2556b7487
remove unnecessary null check (bug 11814)
2007-08-02 08:44:34 -06:00
Brian
85421351e6
fix invalid pointer usage in bezierPatchDeleteList(), bug 11807
2007-08-02 08:40:29 -06:00
Brian
89cad79b41
fix double free()s (bug 11808)
2007-08-02 08:38:01 -06:00
Brian
6e6a02261a
s/MAX_TEXTURE_LEVELS/SIS_MAX_TEXTURE_LEVELS/ and add assertion (bug 11806)
2007-08-02 08:35:13 -06:00
Brian
6dae3f8c88
move code to prevent NULL ptr dereference (bug 11810)
2007-08-02 08:31:44 -06:00
Brian
c3e6bfc9e2
Remove some code that was never hit (bug 11811).
...
Also added an assertion to check that NR_MAT_ATTRIBS == MAT_ATTRIB_MAX.
In the unlikely event this ever changes, maybe restore the code.
2007-08-02 08:29:55 -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