Commit graph

29870 commits

Author SHA1 Message Date
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
883b57e66c winsys/drm: Update Makefile.template.
Mainly to respect LDFLAGS and remove unused target $(LIBNAME_EGL).  This
is based on the patch by Tomáš Chvátal <scarabeus@gentoo.org>.
2010-01-22 11:28:48 +08:00
Alan Coopersmith
f8107a45ce Fix typo in configure message for gcc -fvisibility=hidden
Need to use $CC for a shell variable, not $(CC) for a make variable
which the shell interprets as running the command "CC".

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-21 16:43:59 -08:00
Brian Paul
d65d5d2993 gallium: fix conditional rendering comment 2010-01-21 11:52:54 -07:00
Brian Paul
6c1549a77d gallium/docs: document conditional rendering 2010-01-21 11:52:36 -07:00
Brian Paul
6d4805b363 gallium: updated comments, whitespace fixes 2010-01-21 11:35:33 -07:00
Brian Paul
dc2914ab26 mesa: minor whitespace fix 2010-01-21 09:44:42 -07:00
Luca Barbieri
e59353f592 mesa: support for GL_ARB_fragment_coord_conventions
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-21 09:41:28 -07:00
Brian Paul
1ca2285511 progs/fp: testcases for GL_ARB_fragment_coord_conventions
Based on a patch from Luca Barbieri but moved the comments after
the !!ARBfp1.0 header
2010-01-21 09:38:50 -07:00
Brian Paul
24d3a7a251 docs: remove old pbuffer info 2010-01-21 08:16:54 -07:00
Brian Paul
aeff9f9725 docs: added target attribute to external URLs 2010-01-21 08:14:42 -07:00
Brian Paul
656834a871 docs: add links to the egl, openvg, opengles pages
And move the GLSL link up the use User Topics section.
2010-01-21 08:14:29 -07:00
Brian Paul
074abd889f softpipe: added region assertions in softpipe_get_tex_transfer() 2010-01-21 08:04:15 -07:00
Brian Paul
ed9bd82656 docs: new Mesa source tree overview page.
This has been sitting around for a while.  Incomplete, but a good start.
2010-01-21 08:04:15 -07:00
Chia-I Wu
4736e1cbbd dri: Remove unnecessary glapi headers.
They are not used at all.
2010-01-21 17:49:59 +08:00
Chia-I Wu
bdd2500805 Do not include glapi/dispatch.h outside Mesa core.
Include the glapi*.h directly instead.  glapi/dispatch.h became a Mesa
core header since 22884db174.
2010-01-21 17:48:38 +08:00
Chia-I Wu
1af67195b3 docs: Update documentation for OpenVG and OpenGL ES.
Update the instructions and add references to egl.html.
2010-01-21 15:59:06 +08:00
Chia-I Wu
ada46053a4 docs: Add documentation for EGL.
This is a short guide to EGL.  The drivers that are to be removed soon
are not mentioned in the guide.
2010-01-21 15:58:47 +08:00
Alan Coopersmith
208e815c88 gallium/i965: Make brw_batchbuffer prototypes match in source & header
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-20 18:06:34 -08:00
Corbin Simpson
c1334ce235 radeong: Fix EGL driver names.
Using "radeon" instead of "radeong" because we don't have classic EGL.
2010-01-20 12:22:05 -08:00
Tomas Chvatal
1ffb72a6bf Fix touching live system during install. 2010-01-20 12:22:05 -08:00
Alex Deucher
156c90e5c3 r200: re-adding missing pitch alignment check in blit code
lost after switch to common code
2010-01-20 11:19:06 -05:00
Brian Paul
05208b298d mesa: replace questionable CPU_TO_LE32 macro with function 2010-01-20 08:18:33 -07:00
Alan Coopersmith
506e27b972 Copy __FUNCTION__ portability #defines from mesa/compiler.h to eglcompiler.h
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-20 23:18:07 +08:00
Alex Deucher
67aa704112 r200: fix some breakage after move to common blit code 2010-01-20 10:00:50 -05:00
Alex Deucher
5a99ca490f r200: fix typo in 76cf261832
noticed by Maciej on IRC.
2010-01-20 09:06:49 -05:00
Chia-I Wu
c8b694b2c2 st/egl_g3d: Add support for driver probe.
Hook the drv->Probe callback to allow the drivers to probe displays.
The loading of state trackers is delayed to avoid unnecessary loading.
2010-01-20 18:15:30 +08:00
Chia-I Wu
11f4360f2e st/egl_g3d: Add support for probe to native displays.
The functions can be used to check if a display is supported without
creating a struct native_display.  It uses a probe object that can be
shared across drivers.
2010-01-20 18:15:26 +08:00
Chia-I Wu
c5766c4ae3 egl: Add a simple cache for driver probe.
In current design, multiple drivers will probe the same display and the
best driver is determined.  The cache can be used by the drivers to
store and share the probed data.
2010-01-20 17:44:12 +08:00
Chia-I Wu
cf22fd5e5b egl: Improve driver matching.
Make drv->Probe return a score so that the matching can be done by
finding the driver with the highest score.
2010-01-20 17:44:11 +08:00
Chia-I Wu
925f8113be egl: Rename _EGL_PLATFORM_X to _EGL_PLATFORM_POSIX.
The macro is used to determine if dlfcn.h or dirent.h is available.
POSIX is a better name than X in such case.
2010-01-20 17:44:11 +08:00
Chia-I Wu
f0c2871bf4 egl: Remove unused driver and display functions.
Remove _eglPreloadDriver, _eglLookupDriver, and _eglSplitDisplayString.
2010-01-20 17:40:07 +08:00
Chia-I Wu
57929eda3e egl: Use _eglPreloadDrivers.
Replace the use of _eglPreloadDriver by _eglPreloadDrivers.  The latter
supports EGL_DISPLAY which have a better chance to "just work".
2010-01-20 17:40:07 +08:00
Chia-I Wu
b3bcd33f7a egl: Add _eglPreloadDrivers.
It can be used to load the user driver specified by EGL_DRIVER, or a set
of drivers specified by EGL_DISPLAY, or the default driver, and in that
order.
2010-01-20 17:40:00 +08:00
Chia-I Wu
f291200a4b st/egl_g3d: Do not reuse the pipe transfer in ximage.
A pipe transfer is supposed to be temporary.  It should be created
before X*PutImage and destroyed afterwards.
2010-01-20 13:30:55 +08:00
Alan Coopersmith
77c0800381 mklib: Fix static library generation/installation on Solaris
Change ar flag from -v (-verbose) to -c (silence console output)
so that it stops causing make_ar_static_lib() to return a bunch
of output other than the resulting library file.

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-19 19:06:06 -08:00
Alan Coopersmith
917b6d2a4b Remove hardcoded -Wall from Radeon DRI makefiles
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-19 19:05:52 -08:00
Corbin Simpson
d4a3f7d3ca r300g: Move GB_AA_CONFIG to its eventual new home. 2010-01-19 18:15:17 -08:00
Corbin Simpson
fcbd285e42 r300g: Make invariant state into an atom. 2010-01-19 18:15:17 -08:00
Chia-I Wu
5e8240320a Merge remote branch 'origin/opengl-es-v2' 2010-01-20 10:02:15 +08:00
Brian Paul
1658f80153 util/blit: document params to util_blit_pixels_writemask() 2010-01-19 18:01:02 -07:00
Brian Paul
031f23ac3a mesa: added comment about future FBO formats 2010-01-19 18:01:02 -07:00
Marek Olšák
cd232ae22f st/mesa: enable EXT_framebuffer_multisample
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-19 18:01:02 -07:00
Alex Deucher
76cf261832 r100/r200: fix Y coord flipping in accelerated blits 2010-01-19 19:13:26 -05:00
Alex Deucher
1bb6b1d9db r100/r200: fix dst pitch in blit code 2010-01-19 18:52:19 -05:00
Alex Deucher
f965345ea5 r200: add missing symlink to radeon_tex_copy.c 2010-01-19 18:48:36 -05:00
Maciej Cencora
1f0709fd8f r100/r200: align to pitch updates in blit interface 2010-01-20 00:09:11 +01:00