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
Dave Airlie
e795bd3c90
radeon/fbo: add x_off and y_off in correct places
2009-03-21 18:05:54 +10:00
Dave Airlie
86dcbb5457
radeon: dPriv handling is now in cliprects code
2009-03-21 16:51:46 +10:00
Dave Airlie
9368dcb426
radeon: fixup span code for FBOs
2009-03-21 16:08:20 +10:00
Dave Airlie
fbda2ad445
r300: hw clear buffer 0 hopefully
2009-03-21 15:05:34 +10:00
Dave Airlie
ffde891a03
radeon: fix up span function setting
2009-03-21 14:31:14 +10:00
Brian Paul
401cbd0d23
gallium: remove use of origin_lower_left
...
This was used to indicate OpenGL's lower-left origin for fragment window
coordinates for polygon stipple and gl_FragCoord.
Now:
- fragment coordinate origin is always upper-left corner
- GL polygon stipple is inverted and shifted before given to gallium
- GL fragment programs that use INPUT[WPOS] are modified to use an
inverted window coord which is placed in a temp register.
Note: the origin_lower_left field still exists in pipe_rasterizer_state.
Remove it when all the drivers, etc. no longer reference it.
2009-03-20 20:29:07 -06:00
Brian Paul
1f45ae0813
mesa: add new internal state var for window size
...
Actually, window width - 1, height - 1
2009-03-20 20:29:06 -06:00
Brian Paul
12256fc2b2
mesa: linear scan register allocation for shader programs
...
This is a check-point commit; not turned on yet.
Use the linear scan register allocation algorithm to re-allocate temporary
registers. This is done by computing the live intervals for registers and
reallocating temps with that information.
For some shaders this dramatically reduces the number of temp registers
needed.
For the time being we give up on a few cases such as relative-indexed temps
and subroutine calls (but we inline most GLSL functions anyway).
2009-03-20 17:15:21 -06:00
Brian Paul
c9caecaffa
docs: updated Mesa extension enum info
2009-03-20 17:15:21 -06:00
Corbin Simpson
f411a66c06
r300-gallium: Misspelled macro name.
...
*pulls paper bag down over head*
2009-03-20 14:53:21 -07:00
Corbin Simpson
edfaa68609
r300-gallium: Put r300_cs_inlines to bed.
...
Guess it was a mistake in the first place. Oops.
2009-03-20 14:53:21 -07:00
Corbin Simpson
8066edb2a2
r300-gallium: Simplify/neaten up packet3.
...
Deck chairs on the Hindenburg. :3
2009-03-20 14:53:21 -07:00
Corbin Simpson
f142958084
r300-gallium: Clean up surface_fill, prep for surface_copy code.
2009-03-20 14:53:21 -07:00
Corbin Simpson
04fe31cd5e
r300-gallium: Properly offset scissors.
...
As per r300_reg, classic Mesa, and xf86-video-ati.
2009-03-20 14:53:20 -07:00
Corbin Simpson
adb40a94b0
r300-gallium: Clean up r300_swtcl_emit.
...
Some compile warnings, some statements without effect.
2009-03-20 14:53:20 -07:00
Corbin Simpson
f3f5e04103
r300-gallium: Clean up some emit, and some state handlers.
2009-03-20 14:53:20 -07:00
Corbin Simpson
8852ac2b35
r300-gallium: A bit more invariant state.
2009-03-20 14:53:20 -07:00
José Fonseca
48f6e75489
gallium: Explain what happens if buffer_flush_mapped_range isn't called.
2009-03-20 18:34:24 +00:00
Keith Whitwell
210b468722
gallium/util: add upload manager helper module
...
Add a module that will manage uploading and coalescing multiple
user-buffers, malloc-buffers and other random data that doesn't
happen to be in a GPU buffer already. The module stuffs multiple
little uploads into larger GPU buffers to reduce create/destroy
overheads, etc.
2009-03-20 18:07:11 +00:00