Commit graph

115447 commits

Author SHA1 Message Date
Dave Airlie
8c6a7d0174 radeon/r200/r300: make legacy emit non-r300 specific 2009-01-14 15:45:29 +10:00
Dave Airlie
e7d06a55c5 radeon: move debug symbol add DRI2 2009-01-14 15:21:45 +10:00
Dave Airlie
61da612a4f r300: start moving new r300 cmdbuf into common code 2009-01-14 15:14:09 +10:00
Dave Airlie
23295cf8e8 radeon/r200/r300: consolidate swap buffers 2009-01-14 13:38:12 +10:00
Dave Airlie
44b916b2c0 radeon: remove old lock code 2009-01-14 13:38:03 +10:00
Dave Airlie
7e5e327cea radeon/r200/r300: consolidate the buffer copy/flip code into one place 2009-01-14 13:23:24 +10:00
Dave Airlie
d29e96bf33 radeon/r200/r300: attempt to move lock to common code 2009-01-14 12:04:00 +10:00
Jonathan Adamczewski
f6d09531ff cell: Specify constant as float for CEILF().
Without the f, the constant is treated as a double, resulting in
slower arithmetic and libgcc conversion calls each time CEILF()
is used.
2009-01-14 12:49:28 +11:00
Xiang, Haihao
c157a5bb91 intel: bump driver date 2009-01-14 09:32:55 +08:00
Dave Airlie
4637235183 radeon/r200/r300: initial attempt to convert to common context code 2009-01-14 10:54:52 +10:00
Alan Hourihane
14eca6b573 glsl: fix a comment typo 2009-01-14 00:12:59 +00:00
Alan Hourihane
ef0e0f2550 glsl: support sampler arrays. 2009-01-14 00:12:33 +00:00
Alan Hourihane
67c7f94a21 glsl: fix a comment typo 2009-01-13 23:59:18 +00:00
Alan Hourihane
8373347c05 glsl: support sampler arrays. 2009-01-13 23:54:46 +00:00
Dave Airlie
0217ed2cf9 radeon/r200: move more stuff closer together in context 2009-01-14 08:40:15 +10:00
Brian Paul
34d17d2bdc docs: #pragma now handled 2009-01-13 15:09:40 -07:00
Brian Paul
01a0938776 glsl: add preprocessor support for #pragma
Two forms are supported:

Pragmas are silently ignored at this time.
2009-01-13 15:09:40 -07:00
Ian Romanick
1f47388dfe Add language about implicit flush and command completion
Copied language from the glXSwapBuffers manual page about the implicit
glFlush and expected command completion.  This just codifies what
people already expect from glXCopySubBufferMESA.  The intention of
this command is to work like glXSwapBuffers but on a sub-rectangle of
the drawable.

Acked-by: Brian Paul <brianp@vmware.com>
2009-01-13 12:36:03 -08:00
Dave Airlie
b6e4869069 radeon/r200: move state atom to common header 2009-01-14 06:28:43 +10:00
Keith Whitwell
a8e0df08ef xlib: split off cell to its own backend
Also remove compile-time USE_XSHM flag.  Still check for XSHM at runtime
though.
2009-01-13 19:54:32 +00:00
Keith Whitwell
2f19fecd58 xlib: allow winsys's to register themselves with glx/xlib state tracker 2009-01-13 19:46:18 +00:00
Brian Paul
34500a6da5 docs: fixes since 7.3-rc1 2009-01-13 09:03:43 -07:00
Karl Schultz
00c02626d8 windows: try to create a context in wglCreateLayerContext() 2009-01-13 09:02:04 -07:00
Dave Airlie
692ca82116 radeon/r200: start splitting out commonalities into separate headers 2009-01-13 22:55:27 +10:00
Dave Airlie
4b9a09e9f6 radeon: use bo_wait to wait for all buffers to be rendered to
Not 100% sure this is correct, but its what Intel does and its better than
CP_IDLE.
2009-01-13 16:50:15 +10:00
Ben Skeggs
f883c14560 nv50: fix progs/tests/manytex
Previously all squares were textured with the same texture.. not quite what
the demo was supposed to look like!
2009-01-13 13:57:22 +10:00
Ben Skeggs
adee4b9021 nv50: get glxgears showing all 3 gears instead of 1!!
This fixes a lot of other things where not all the geometry got drawn
also.
2009-01-13 13:57:22 +10:00
Ben Skeggs
8337c78d91 nv50: change some magic reg, makes more things work
No real idea what this does.. but a lot of things that misrendered and
made the GPU throw a DATA_ERROR now work..  I'm wondering what side-effects
we'll see from this :)
2009-01-13 13:57:22 +10:00
Ben Skeggs
e8b0088692 nv50: add DXTn formats 2009-01-13 13:57:22 +10:00
Ben Skeggs
68bb26b62d nv50: shadow mapping 2009-01-13 13:57:22 +10:00
Ben Skeggs
f7c2010525 nv50: aniso 2009-01-13 13:57:22 +10:00
Ben Skeggs
918fc55e5f nv50: occlusion queries
Not quite working, but the general idea is right I think.
2009-01-13 13:57:22 +10:00
Ben Skeggs
d2442016af nv50: implement KIL enough for progs/fp/kil to work 2009-01-13 13:57:22 +10:00
Jonathan Adamczewski
068107b5ad cell: Add missing suffix to SHUFFLE macro 2009-01-13 14:02:18 +11:00
Jonathan Adamczewski
402e6752b5 cell: allocate batch buffers w/ 16-byte alignment
Replace cell_batch{align,alloc)*() with cell_batch_alloc16(), allocating
multiples of 16 bytes that are 16 byte aligned.

Opcodes are stored in preferred slot of SPU machine word.

Various structures are explicitly padded to 16 byte multiples.

Added STATIC_ASSERT().
2009-01-12 16:25:28 -07:00
Brian Paul
eeeed45c2c i965: fix glDrawPixels Z coordinate in intel_texture_drawpixels().
As for glBitmap, it needs to be an NDC coord in [-1,1].
2009-01-12 15:47:57 -07:00
Brian Paul
3a5463d158 i965: fix broken glBitmap + depth test
When we use the do_blit_bitmap() function, it seems the fragment Z is always
1.0.  If depth testing is on, that means that bitmap fragments are often
occluded by other rendering.  So, the bitmap doesn't appear even if
rasterpos.Z==0.
The fix is to use the intel_texture_bitmap() path when depth testing is on.
Also, fix the incorrect Z coordinate.  It needs to be an NDC value in [-1,1].
2009-01-12 15:43:54 -07:00
Brian Paul
de35989cde i965: fix broken ARB fp fog options
Just call _mesa_append_fog_code() if the fragment program's FogOption is
not GL_NONE.
This allows us to remove some unnecessary i965 fog code.
Note, the arbfplight.c demo can be used to test this (see DO_FRAGMENT_FOG).
2009-01-12 14:24:45 -07:00
Keith Whitwell
a2d5031b1e dri: make dri_display_surface static 2009-01-12 19:38:39 +00:00
Keith Whitwell
3e492acc57 dri: pull dri_swapbuffers.c into dri_drawable.c 2009-01-12 19:33:44 +00:00
Dan Nicholson
29f603a270 autoconf: Only _GNU_SOURCE feature test macro needed on gnu systems
According to feature_test_macros(7), _GNU_SOURCE encompasses all the
other feature macros we were setting, so we can just dispose of them.
2009-01-12 11:10:31 -08:00
Julien Cristau
7f7fc3e3af mesa: match against *-gnu* instead of *-gnu in configure.ac
Fixes build on arm-linux-gnueabi
2009-01-12 11:08:02 -08:00
Thomas Henn
a0318d7f8e windows: updated VC8 project files 2009-01-12 10:56:42 -07:00
Brian Paul
06fdb6a74c glsl: better fix for for-loop scope issue (commit 6333005f7a) 2009-01-12 08:52:54 -07:00
Brian Paul
88fdddcbbe windows: added new sources for 7.3 (may be more, needs testing) 2009-01-12 08:36:21 -07:00
Brian Paul
1598be5083 mesa: add osmesa.pc.in to tarball list 2009-01-12 08:36:21 -07:00
Michel Dänzer
45604ffac7 gallivm: Make sure the bitcode buffer is followed by a 0 byte.
May fail to parse otherwise.
2009-01-12 15:05:05 +01:00
Keith Whitwell
3425257e14 dri: rename dri1 directory 2009-01-12 11:52:13 +00:00
Keith Whitwell
782eae916d dri: sketch of new device-independent glx/dri state tracker 2009-01-12 11:51:57 +00:00
Michel Dänzer
f43e621e22 gallivm: Print error message from ParseBitcodeFile() in case it fails. 2009-01-12 12:39:31 +01:00