Commit graph

30494 commits

Author SHA1 Message Date
Marcin Slusarz
283b21d02b nouveau: fix winsys object leak 2010-01-25 09:43:33 +10:00
Christoph Bumiller
833acea8f6 nv50: fix handling of FragCoord input 2010-01-24 15:17:57 +01:00
Christoph Bumiller
49dde55b96 nv50: only flush texture caches on st request 2010-01-24 15:17:53 +01:00
Christoph Bumiller
d6fd31a8d4 nv50: implement render_condition
Still not handling queries on multiple contexts though.
2010-01-24 15:13:17 +01:00
Chia-I Wu
21b2c0a6e5 egl: Add and use make_library_path.
Add a platform specific function to turn a library name to a library
path.  It is used to convert EGL_DRIVER or the default driver to a
library path that can be loaded.
2010-01-24 21:27:52 +08:00
Chia-I Wu
cecc33cd4f egl: Remove _eglFindAPIs.
This function is not used and should have been removed by last commit.
My mistake.
2010-01-24 20:55:17 +08:00
Chia-I Wu
cf7c1ea4f1 egl: Remove unused helper functions.
_eglFillInConfigs and _eglFindAPIs have no user in Mesa and are unlikely
to find one soon.  It should be fine to remove them.
2010-01-24 20:52:30 +08:00
Chia-I Wu
56b93a25ea egl: Remove unused casting functions.
_eglUIntToPointer and _eglPointerToUInt are no longer used.
2010-01-24 20:38:16 +08:00
Chia-I Wu
ecb3b3102a egl: Make surfaces and contexts resources.
Turn _EGLSurface and _EGLContext into _EGLResource so that they can be
managed uniformly.
2010-01-24 20:38:16 +08:00
Chia-I Wu
7abf42626f egl: Add _EGLResource and _EGLResourceType.
Resources are objects managed by a display.  They can be linked to or
unlinked from a display.  It is also possible to check if a resource is
valid.
2010-01-24 20:38:15 +08:00
Chia-I Wu
b4d2c97a2d egl: Move surface functions in egldisplay.[ch] to eglsurface.[ch]
Move functions to where they should be.  There should be no real change
here.
2010-01-24 20:38:15 +08:00
Chia-I Wu
5e66d18932 egl: Move context functions in egldisplay.[ch] to eglcontext.[ch].
Move functions to where they should be.  There should be no real change
here.
2010-01-24 20:38:15 +08:00
Chia-I Wu
7be4d6b5f7 mesa/es: Improve Makefile rules.
Make sure glapi headers are cleaned when "make clean".  Make sure all
sources depend on subdirs-stamp-tmp so that sources/headers are
generated first.

subdirs-stamp-tmp will be removed after a successful build.  It might be
a problem when a build fails.  But it is much better than where we
currently are: glapi headers are never cleaned or re-generated.
2010-01-24 20:15:25 +08:00
Vinson Lee
e85cb98a16 r200: Silence fprintf format warning. 2010-01-24 00:17:00 -08:00
Vinson Lee
e02dc13952 x86: Do not build read_rgba_span_x86.S on Mac OS X.
read_rgba_span_x86.S uses the pseudo-ops .hidden and .type which are
not recognized on Mac OS X.
2010-01-23 23:18:33 -08:00
Vinson Lee
f429b80fff x86: Do not use .hidden pseudo-op on Mac OS X.
The .hidden directive is an unknown pseudo-op on Mac OS X.
2010-01-23 23:12:34 -08:00
Vinson Lee
bc75ec0f38 glapi: Do not use .type pseudo-op on Mac OS X.
The .type directive is an unknown pseudo-op on Mac OS X.
2010-01-23 22:59:31 -08:00
Vinson Lee
6b55aacccb scons: Do not use ld options start-group and end-group on Darwin.
Mac OS X ld does not support these options.
2010-01-23 21:43:26 -08:00
Dave Airlie
e9bb06441e r300g: avoid the use of goto
I was being lazy on Sunday morning, Droste on irc called me on it ;-)
2010-01-24 15:37:23 +10:00
Vinson Lee
d57ba16ae3 scons: Define _DARWIN_C_SOURCE on Darwin builds. 2010-01-23 21:05:58 -08:00
Dave Airlie
232ddfec24 r300g: fix flushing harder.
I swear ipers runs here after this commit.

After we flush we need to redo the space check
2010-01-24 15:00:06 +10:00
Vinson Lee
7f2f42dd80 progs/demos: Remove unnecessary header from shadowtex.c. 2010-01-23 20:56:49 -08:00
Vinson Lee
b62b524fee r300: Remove unnecessary headers. 2010-01-23 20:43:27 -08:00
Vinson Lee
fb6bff3712 intel: Remove unnecessary headers. 2010-01-23 14:33:29 -08:00
Chia-I Wu
28c3e57c83 egl: Install drivers to ${libdir}/egl.
Install EGL drivers to EGL_DRIVER_INSTALL_DIR, which is default to
${libdir}/egl.
2010-01-23 20:30:11 +08:00
Chia-I Wu
6c4431c092 st/vega: Clean up Makefile. 2010-01-23 20:15:28 +08:00
Chia-I Wu
60cd2449f8 st/es: Pass -linker and -ldflags to mklib. 2010-01-23 20:15:24 +08:00
Vinson Lee
146a77af3f radeon: Remove unused variable. 2010-01-23 02:14:56 -08:00
Dave Airlie
3b002c9f75 r300: fix wrong call in last commit 2010-01-23 20:07:08 +10:00
Vinson Lee
4bad0aef40 tdfx: Remove unnecessary headers. 2010-01-23 01:54:53 -08:00
Vinson Lee
283d9565bf sis: Remove unnecessary headers. 2010-01-23 01:40:44 -08:00
Dave Airlie
76bc66b664 r300g: fix up buffer emission ordering.
This fixes the code space checking VBOs, then resetting the space list
and space checking other buffers. it fixes demos/ipers

Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-23 19:35:42 +10:00
Vinson Lee
09a142e5db savage: Remove unnecessary headers. 2010-01-23 00:38:14 -08:00
Vinson Lee
ca54a5b920 mga: Remove unnecessary headers. 2010-01-23 00:19:29 -08:00
Vinson Lee
634ec5c2ab i965: Remove unnecessary headers. 2010-01-22 23:53:39 -08:00
Vinson Lee
329c1b5910 i915: Remove unnecessary headers. 2010-01-22 23:22:16 -08:00
Dave Airlie
9a62f0ce3b r300: only enable half floats on r500s.
Thank to MAD for point it out.
2010-01-23 12:57:51 +10:00
Dave Airlie
782b6885c2 Merge branch 'arb_half_float_vertex' 2010-01-23 12:29:33 +10:00
Chia-I Wu
0928418922 Revert "add segl"
This reverts commit fe33b7083b.  It was
not supposed to be pushed yet.
2010-01-23 10:33:03 +08:00
Dave Airlie
d82b8038fd r300: half float support
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-23 12:28:33 +10:00
Dave Airlie
96f2f0daea i965: add support for ARB_half_float_vertex
enables the extension on i965 and adds support to the draw upload for
the vertex format.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-23 12:28:32 +10:00
Dave Airlie
cfe884e203 mesa: add core support for ARB_half_float_vertex.
Adds the extension to the list + support to the APIs.

also add t_draw.c support to convert for sw rast.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-23 12:28:32 +10:00
Dave Airlie
1ac5fd594a glapi: add GL_HALF_FLOAT enum support.
Regenerate enums files and GLX indirect.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-23 12:28:32 +10:00
Dave Airlie
dcaf6687e8 progs: add trivial ARB_half_float_vertex support.
This is just a trivial port of vp-array.c

Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-23 12:28:28 +10:00
Chia-I Wu
4b770d1a11 glapi: Include glheader.h in glapi_nop.c.
In addition to OpenGL headers, glheader.h also defines OpenGL ES types
that are used in core Mesa or ES overlay.
2010-01-23 10:24:49 +08:00
Chia-I Wu
fe33b7083b add segl 2010-01-23 10:10:47 +08:00
Brian Paul
2292c93bc0 glapi: define GLfixed, GLclampx types for ES 1
I'm not 100% sure this is the best fix, but it seems OK.
2010-01-22 18:47:25 -07:00
Brian Paul
f6a49ac217 svga: fix up breakage from earlier 7.7 merge 2010-01-22 18:35:36 -07:00
Brian Paul
46c7cd665c st/mesa: fix incorrect freeing of drawpixels vertex shaders
These shaders are not st_vertex_shaders, but tgsi ureg shaders.
Fixes fd.o bug 25959.
2010-01-22 17:56:37 -07:00
Brian Paul
dd618a006a gallium/util: add missing util/u_bitmask.c to Makefile 2010-01-22 17:20:37 -07:00