Dave Airlie
23478f1c03
radeon: fix bocs wrapper
2009-04-07 15:08:56 +10:00
Jerome Glisse
741aaaa288
radeon: add support for new ttm
2009-04-06 11:58:08 +02:00
Dave Airlie
05304d41f2
radeon/r200/r300: fix up the whole buffer space checking.
...
This fixes up the buffer validation scheme, so that we keep a list
of buffers to validate so cmdbuf flushes during a pipeline get
all the buffers revalidated on the next emit.
This also fixes radeonFlush to not flush unless we have something
useful to send to the GPU, like a DMA buffer or something not state
2009-04-02 18:58:49 +10:00
Dave Airlie
4170216009
radeon/common: use glCtx not ctx
2009-04-02 14:47:51 +10:00
Dave Airlie
e00ef43d79
radeon/r200/r300: collapse context destruction down to a common path.
...
Context destruction was nearly the same over all the drivers,
so collapse it down.
2009-04-02 14:44:29 +10:00
Dave Airlie
104d542205
radeon: tiling support
2009-04-02 14:44:08 +10:00
Dave Airlie
617c5262c6
r300: fix qtdemo qt4 startup
2009-04-02 11:30:03 +11:00
Dave Airlie
f9d272fa41
radeon: go back and repick texture formats.
...
This might trip up some serious FBO users, will have to see, but
it avoids the slow paths for all the demos I have.
2009-04-01 16:13:30 +10:00
Dave Airlie
6e30fe4873
radeon: fixup render buffer cleanups
...
this fixes qtdemo-qt4 starting and a leak in glxgears exit
2009-04-01 15:41:58 +10:00
Dave Airlie
d81a48757a
radeon/dri2: if the depth buffer is 16-bit force cpp == 2
...
This is because the DDX always allocates using the drawable sizes.
which gives me twice the depth buffer I asked for, dumb.
2009-03-31 15:50:19 +10:00
Dave Airlie
2f3be8ab14
radeon: fix pixel readback for RGB8 tests
2009-03-31 14:43:14 +10:00
Dave Airlie
5ad32cfd21
r200: fix glean pixelFormats regression
2009-03-31 13:39:57 +10:00
Dave Airlie
5c7fc1cb8e
r300: fix stencil clears
2009-03-31 20:10:48 +10:00
Dave Airlie
226c876a52
r200: only set all dirty on kernel clears
2009-03-31 10:46:27 +10:00
Dave Airlie
e1d1657493
radeon/r200: fix glean failures on readPixSanity since EXT_DEPTH_STENCIL support
2009-03-31 10:36:06 +10:00
Dave Airlie
1570bde279
r200: fix veclinear emission
2009-03-31 10:35:16 +10:00
Dave Airlie
3b09f6544a
radeon: fix readback problem for piglit tests
2009-03-30 12:28:55 +10:00
Dave Airlie
8ed405cd37
radeon/r200/r300: set correct row stride for rbs
2009-03-26 13:24:21 +10:00
Dave Airlie
e757bf964f
r300: check buffer sizes in non-tcl case + set correct VRAM limits
2009-03-26 13:24:21 +10:00
Dave Airlie
258686a973
radeon: fixup map/unmap texture to work with override BOs
...
if you hit this you've already failed but we shouldn't crash
2009-03-26 13:24:21 +10:00
Dave Airlie
4d36a19c90
r200: add fbo files to the compile
2009-03-26 11:15:07 +10:00
Dave Airlie
f577c8e462
radeon/r200/r300: fix warnings
2009-03-24 18:32:46 +10:00
Dave Airlie
5021b47dd3
r300: remove lock.h link
2009-03-24 15:21:49 +10:00
Dave Airlie
20981c0a0b
radeon: fixup some issue with fbos and sw fallbacks
2009-03-24 15:06:19 +10:00
Dave Airlie
0a725db10c
radeon/r200/r300: set the texture depth correctly for DRI2
2009-03-24 11:19:09 +10:00
Dave Airlie
ccd18f462c
radeon: actual format is rgba8
2009-03-24 09:45:26 +10:00
Dave Airlie
2aa097f963
radeon: fix typo
2009-03-24 09:45:18 +10:00
Dave Airlie
28e082197d
radeon: setup pipes for r300
2009-03-24 09:28:52 +10:00
Dave Airlie
9f11b3311e
radeon: stupid mesa extension fail
2009-03-24 09:26:31 +10:00
Dave Airlie
f9d3de06bd
radeon: fixup wrapper bo name
2009-03-23 19:32:10 +10:00
Dave Airlie
cb68588c93
Merge branch 'radeon-fbo-hacking' into radeon-rewrite
2009-03-23 18:56:34 +10:00
Dave Airlie
8c7e30fb95
raedon/r200/r300: mega-FBO commits.
...
Re work depth issues.
Do a lot more FBO abstactions
fixup depth/stencil buffer interactions
2009-03-23 18:54:06 +10:00
Dave Airlie
c607a664dd
radeon fbo: add draw offset calcs
2009-03-22 19:11:46 +10:00
Dave Airlie
4a2cb696cc
radeon/r200/r300: add support for new tfp interface
...
also fixup old interface, gets rid of white boxes in compiz
2009-03-22 12:03:24 +10:00
Dave Airlie
2d26d4ac66
Merge remote branch 'origin/master' into HEAD
2009-03-22 12:01:21 +10:00
Dave Airlie
06cb6f7aa7
radeon: use mipmap fns in FBO code
2009-03-22 11:57:03 +10:00
Dave Airlie
0968512f8f
radeon: add miptree offset functions
2009-03-22 11:56:41 +10:00
Dave Airlie
c73f4fdb65
r200: fix for sure
2009-03-21 22:41:42 +10:00
Dave Airlie
4bd5ee2d97
radeon/r200: oops make correct fbo init calls
2009-03-21 22:35:01 +10:00
Dave Airlie
9f7a03d945
radeon: add xRGB span functions
...
same as ARGB need to add a parameter to get ptr32
2009-03-21 21:42:54 +10:00
Dave Airlie
218083c542
radeon: dri2 is hooked up elsewhere now
2009-03-21 22:38:28 +11:00
Dave Airlie
98f1b1e6f9
radeon/r200: add fbo init
2009-03-21 22:38:11 +11:00
Dave Airlie
6c48c93a53
radeon/r200: add fbo state changes
2009-03-21 22:36:18 +11:00
Dave Airlie
712478cfdd
r300: fix viewport inversion for FBOs
2009-03-21 22:27:01 +11:00
Michal Krol
699897e81c
tgsi: Document KIL, KILP instructions.
2009-03-21 12:26:15 +01:00
Keith Whitwell
1bb60d25e0
gallium: remove remaining references to origin_lower_left
2009-03-21 10:55:45 +00:00
Michal Krol
d7b7b63bd7
st: Silence compiler warnings.
2009-03-21 11:46:54 +01:00
Dave Airlie
8ab7c77dc2
radeon: align FBO pitch
2009-03-21 18:16:21 +10:00
Dave Airlie
56c5df33de
radeon: fixup last missing x_off/y_off
2009-03-21 18:16:02 +10:00
Dave Airlie
8a60083676
radeon: add cpp/pitch to rrb
2009-03-21 18:07:33 +10:00